Skip to content

Commit

Permalink
disable with --disable-amr, take 2
Browse files Browse the repository at this point in the history
  • Loading branch information
benkirk committed Apr 18, 2014
1 parent 553da85 commit 4126392
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ int main (int argc, char** argv)
// Skip this example without --enable-amr; requires MeshRefinement
#ifndef LIBMESH_ENABLE_AMR
libmesh_example_assert(false, "--enable-amr");
#endif
#else

// Create a 2D mesh distributed across the default MPI communicator.
// Subdivision surfaces do not appear to work with ParallelMesh yet.
Expand Down Expand Up @@ -224,6 +224,8 @@ int main (int argc, char** argv)
std::cout << "z-displacement of the center point: " << w << std::endl;
std::cout << "Analytic solution for pure bending: " << w_analytic << std::endl;

#endif // #ifdef LIBMESH_ENABLE_AMR

// All done.
return 0;
}
Expand Down

0 comments on commit 4126392

Please sign in to comment.