We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 367fc0d commit 2c8e7d0Copy full SHA for 2c8e7d0
examples/vector_fe/vector_fe_ex3/vector_fe_ex3.C
@@ -31,6 +31,7 @@
31
#include "libmesh/mesh.h"
32
#include "libmesh/mesh_generation.h"
33
#include "libmesh/mesh_modification.h"
34
+#include "libmesh/mesh_refinement.h"
35
#include "libmesh/exact_solution.h"
36
#include "libmesh/string_to_enum.h"
37
#include "libmesh/enum_solver_package.h"
@@ -91,6 +92,10 @@ int main (int argc, char ** argv)
91
92
// Make sure the code is robust against nodal reorderings.
93
MeshTools::Modification::permute_elements(mesh);
94
95
+ // Make sure the code is robust against mesh refinements.
96
+ MeshRefinement mesh_refinement(mesh);
97
+ mesh_refinement.uniformly_refine(infile("refine", 0));
98
+
99
// Print information about the mesh to the screen.
100
mesh.print_info();
101
0 commit comments