File tree Expand file tree Collapse file tree
examples/transient/transient_ex3 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ ClawSystem::ClawSystem (EquationSystems & es,
5555
5656 // Allocate SparseMatrices. I could not figure out how to do
5757 // this in the initialization list, I don't think it's possible.
58- for (auto i : make_range ( 2 ) )
58+ for (unsigned int i = 0 ; i < 2 ; ++ i )
5959 {
6060 _advection_matrices .push_back (SparseMatrix < Number > ::build (es .comm ()));
6161 _avg_matrices .push_back (SparseMatrix < Number > ::build (es .comm ()));
@@ -622,7 +622,6 @@ void ClawSystem::assemble_jump_coupling_matrix()
622622 // Data for surface integrals on the element boundary
623623 const std ::vector < std ::vector < Real >> & phi_face = fe_elem_face -> get_phi ();
624624 const std ::vector < Real > & JxW_face = fe_elem_face -> get_JxW ();
625- const std ::vector < Point > & qface_normals = fe_elem_face -> get_normals ();
626625 const std ::vector < Point > & qface_points = fe_elem_face -> get_xyz ();
627626
628627 // Data for surface integrals on the neighbor boundary
Original file line number Diff line number Diff line change @@ -80,7 +80,6 @@ int main (int argc, char** argv)
8080 // Read mesh options from the input file
8181 GetPot infile (parameters_filename );
8282 unsigned int n_elem = infile ("n_elem" , 1 ); // Determines the number of elements in the "truth" mesh
83- const unsigned int dim = 2 ; // The number of spatial dimensions
8483
8584 // Build a mesh
8685 Mesh mesh (init .comm ());
You can’t perform that action at this time.
0 commit comments