|
libMesh
|
Public Member Functions | |
| LIBMESH_CPPUNIT_TEST_SUITE (SlitMeshRefinedSystemTest) | |
| The goal of this test is the same as the previous, but now we create a system and set dof values to make sure they are properly interpolated after refinement. | |
| CPPUNIT_TEST (testMesh) | |
| CPPUNIT_TEST (testSystem) | |
| CPPUNIT_TEST (testRestart) | |
| CPPUNIT_TEST_SUITE_END () | |
| void | setUp () |
| void | tearDown () |
| void | testMesh () |
| void | testSystem () |
| void | testRestart () |
| LIBMESH_CPPUNIT_TEST_SUITE (SlitMeshTest) | |
| The goal of this test is to ensure that a 2D mesh with nodes overlapping on opposite sides of an internal, "slit" edge is usable. | |
Protected Member Functions | |
| void | build_mesh () |
Protected Attributes | |
| System * | _sys |
| std::unique_ptr< EquationSystems > | _es |
| std::unique_ptr< Mesh > | _mesh |
Definition at line 268 of file slit_mesh_test.C.
|
inlineprotectedinherited |
Definition at line 90 of file slit_mesh_test.C.
References SlitMeshTest::_mesh, libMesh::Elem::build_with_id(), libMesh::QUAD4, libMesh::Elem::set_node(), and TestCommWorld.
Referenced by SlitMeshTest::setUp(), SlitMeshRefinedMeshTest::setUp(), and setUp().
| SlitMeshRefinedSystemTest::CPPUNIT_TEST | ( | testMesh | ) |
| SlitMeshRefinedSystemTest::CPPUNIT_TEST | ( | testRestart | ) |
| SlitMeshRefinedSystemTest::CPPUNIT_TEST | ( | testSystem | ) |
| SlitMeshRefinedSystemTest::CPPUNIT_TEST_SUITE_END | ( | ) |
| SlitMeshRefinedSystemTest::LIBMESH_CPPUNIT_TEST_SUITE | ( | SlitMeshRefinedSystemTest | ) |
The goal of this test is the same as the previous, but now we create a system and set dof values to make sure they are properly interpolated after refinement.
|
inherited |
The goal of this test is to ensure that a 2D mesh with nodes overlapping on opposite sides of an internal, "slit" edge is usable.
The mesh has to be connected at more than one node on each side of the slit, however, to ensure that we can find point neighbors of each node.
|
inline |
Definition at line 296 of file slit_mesh_test.C.
References _es, SlitMeshTest::_mesh, _sys, libMesh::DofMap::add_algebraic_ghosting_functor(), libMesh::System::add_variable(), SlitMeshTest::build_mesh(), libMesh::FIRST, libMesh::System::get_dof_map(), libMesh::System::project_solution(), and libMesh::MeshRefinement::uniformly_refine().
|
inline |
Definition at line 329 of file slit_mesh_test.C.
|
inline |
Definition at line 331 of file slit_mesh_test.C.
References SlitMeshTest::_mesh.
|
inline |
Definition at line 396 of file slit_mesh_test.C.
References _es, SlitMeshTest::_mesh, dim, libMesh::FEMContext::elem_fe_reinit(), libMesh::FEMContext::get_element_fe(), libMesh::FEGenericBase< OutputType >::get_phi(), libMesh::EquationSystems::get_system(), libMesh::FEAbstract::get_xyz(), libMesh::FEMContext::interior_value(), libMesh::System::n_vars(), libMesh::Elem::node_ref(), libMesh::FEMContext::pre_fe_reinit(), libMesh::UnstructuredMesh::read(), libMesh::EquationSystems::read(), TestCommWorld, libMesh::TOLERANCE, libMesh::DofObject::unique_id(), libMesh::EquationSystems::WRITE_DATA, and libMesh::EquationSystems::WRITE_SERIAL_FILES.
|
inline |
Definition at line 345 of file slit_mesh_test.C.
References SlitMeshTest::_mesh, _sys, dim, libMesh::FEMContext::elem_fe_reinit(), libMesh::JumpErrorEstimator::estimate_error(), libMesh::FEMContext::get_element_fe(), libMesh::FEGenericBase< OutputType >::get_phi(), libMesh::FEAbstract::get_xyz(), libMesh::JumpErrorEstimator::integrate_slits, libMesh::FEMContext::interior_value(), libMesh::ErrorVector::mean(), libMesh::System::n_vars(), libMesh::FEMContext::pre_fe_reinit(), libMesh::Real, and libMesh::TOLERANCE.
|
protected |
Definition at line 292 of file slit_mesh_test.C.
Referenced by setUp(), and testRestart().
|
protectedinherited |
Definition at line 88 of file slit_mesh_test.C.
Referenced by SlitMeshTest::build_mesh(), setUp(), SlitMeshTest::testMesh(), SlitMeshRefinedMeshTest::testMesh(), testMesh(), testRestart(), and testSystem().
|
protected |
Definition at line 291 of file slit_mesh_test.C.
Referenced by setUp(), and testSystem().