]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 25 May 2000 09:55:27 +0000 (09:55 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 25 May 2000 09:55:27 +0000 (09:55 +0000)
git-svn-id: https://svn.dealii.org/trunk@2942 0785d39b-7218-0410-832d-ea1e28bc413d

tests/deal.II/wave-test-3.cc

index 4f5057ff953a16aef45d15f276755e12fc3f7f79..65ed9b3826024d427c37134f5038c72e7d543364 100644 (file)
@@ -5605,7 +5605,7 @@ void TimeStep_Dual<dim>::do_initial_step () {
       UserMatrix system_matrix (system_sparsity,
                                parameters.preconditioning);
       system_matrix.copy_from (mass_matrix);
-      constraints.condense (system_matrix);
+      constraints.condense (static_cast<SparseMatrix<double>&>(system_matrix));
       const unsigned int
        solver_steps1 = solve (system_matrix, u, tmp_u_bar),
        solver_steps2 = solve (system_matrix, v, tmp_v_bar);
@@ -5671,7 +5671,7 @@ void TimeStep_Dual<dim>::do_timestep ()
                            parameters.theta *
                            parameters.theta,
                            laplace_matrix);
-  constraints.condense (system_matrix);
+  constraints.condense (static_cast<SparseMatrix<double>&>(system_matrix));
        
   if (parameters.extrapolate_old_solutions)
                                     // solve with a hopefully good guess
@@ -5709,7 +5709,7 @@ void TimeStep_Dual<dim>::do_timestep ()
   const unsigned int solver_steps1 = solve (system_matrix, v, right_hand_side1);
        
   system_matrix.copy_from (mass_matrix);
-  constraints.condense (system_matrix);
+  constraints.condense (static_cast<SparseMatrix<double>&>(system_matrix));
   if (true)
     {
       Vector<double> tmp (right_hand_side2.size());
@@ -7936,7 +7936,7 @@ assemble_vectors (right_hand_side1, right_hand_side2);
                            parameters.theta *
                            parameters.theta,
                            laplace_matrix);
-  constraints.condense (system_matrix);
+  constraints.condense (static_cast<SparseMatrix<double>&>(system_matrix));
        
   if (parameters.extrapolate_old_solutions)
                                     // solve with a hopefully good guess
@@ -7969,7 +7969,7 @@ assemble_vectors (right_hand_side1, right_hand_side2);
   const unsigned int solver_steps1 = solve (system_matrix, u, right_hand_side1);
                
   system_matrix.copy_from (mass_matrix);
-  constraints.condense (system_matrix);
+  constraints.condense (static_cast<SparseMatrix<double>&>(system_matrix));
   if (true)
     { 
       Vector<double> tmp (right_hand_side2.size());

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.