libMesh
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
AllTriTest Class Reference
Inheritance diagram for AllTriTest:
[legend]

Public Member Functions

 LIBMESH_CPPUNIT_TEST_SUITE (AllTriTest)
 The goal of this test is to verify proper operation of the Mesh Extruder with the optional object callback for setting custom subdomain IDs.
 
 CPPUNIT_TEST (testAllTriTri)
 
 CPPUNIT_TEST (testAllTriQuad)
 
 CPPUNIT_TEST (testAllTriQuadShell4)
 
 CPPUNIT_TEST (testAllTriQuad8)
 
 CPPUNIT_TEST (testAllTriQuad9)
 
 CPPUNIT_TEST (testAllTriC0Polygon)
 
 CPPUNIT_TEST (testAllTriC0PolygonOctagon)
 
 CPPUNIT_TEST (testAllTriPrism6)
 
 CPPUNIT_TEST (testAllTriPrism18)
 
 CPPUNIT_TEST (testAllTriPrism20)
 
 CPPUNIT_TEST (testAllTriPrism21)
 
 CPPUNIT_TEST (testAllTriPyramid5)
 
 CPPUNIT_TEST (testAllTriPyramid14)
 
 CPPUNIT_TEST (testAllTriC0PolyhedronCube)
 
 CPPUNIT_TEST (testAllTriC0PolyhedronHexagonalPrism)
 
 CPPUNIT_TEST_SUITE_END ()
 
void setUp ()
 
void tearDown ()
 
void testAllTriTri ()
 
void testAllTriQuad ()
 
void testAllTriQuadShell4 ()
 
void testAllTriQuad8 ()
 
void testAllTriQuad9 ()
 
void testAllTriPrism6 ()
 
void testAllTriPrism18 ()
 
void testAllTriPrism20 ()
 
void testAllTriPrism21 ()
 
void testAllTriPyramid5 ()
 
void testAllTriPyramid14 ()
 
void testAllTriC0Polygon ()
 
void testAllTriC0PolygonOctagon ()
 
void testAllTriC0PolyhedronCube ()
 
void testAllTriC0PolyhedronHexagonalPrism ()
 

Protected Member Functions

void test_helper (ElemType elem_type, dof_id_type n_elem_expected, std::size_t n_boundary_conds_expected)
 
void test_helper_c0polyhedron (const std::vector< Point > &points, const std::vector< std::vector< unsigned int > > &nodes_on_side)
 

Detailed Description

Definition at line 21 of file all_tri.C.

Member Function Documentation

◆ CPPUNIT_TEST() [1/15]

AllTriTest::CPPUNIT_TEST ( testAllTriC0Polygon  )

◆ CPPUNIT_TEST() [2/15]

AllTriTest::CPPUNIT_TEST ( testAllTriC0PolygonOctagon  )

◆ CPPUNIT_TEST() [3/15]

AllTriTest::CPPUNIT_TEST ( testAllTriC0PolyhedronCube  )

◆ CPPUNIT_TEST() [4/15]

AllTriTest::CPPUNIT_TEST ( testAllTriC0PolyhedronHexagonalPrism  )

◆ CPPUNIT_TEST() [5/15]

AllTriTest::CPPUNIT_TEST ( testAllTriPrism18  )

◆ CPPUNIT_TEST() [6/15]

AllTriTest::CPPUNIT_TEST ( testAllTriPrism20  )

◆ CPPUNIT_TEST() [7/15]

AllTriTest::CPPUNIT_TEST ( testAllTriPrism21  )

◆ CPPUNIT_TEST() [8/15]

AllTriTest::CPPUNIT_TEST ( testAllTriPrism6  )

◆ CPPUNIT_TEST() [9/15]

AllTriTest::CPPUNIT_TEST ( testAllTriPyramid14  )

◆ CPPUNIT_TEST() [10/15]

AllTriTest::CPPUNIT_TEST ( testAllTriPyramid5  )

◆ CPPUNIT_TEST() [11/15]

AllTriTest::CPPUNIT_TEST ( testAllTriQuad  )

◆ CPPUNIT_TEST() [12/15]

AllTriTest::CPPUNIT_TEST ( testAllTriQuad8  )

◆ CPPUNIT_TEST() [13/15]

AllTriTest::CPPUNIT_TEST ( testAllTriQuad9  )

◆ CPPUNIT_TEST() [14/15]

AllTriTest::CPPUNIT_TEST ( testAllTriQuadShell4  )

◆ CPPUNIT_TEST() [15/15]

AllTriTest::CPPUNIT_TEST ( testAllTriTri  )

◆ CPPUNIT_TEST_SUITE_END()

AllTriTest::CPPUNIT_TEST_SUITE_END ( )

◆ LIBMESH_CPPUNIT_TEST_SUITE()

AllTriTest::LIBMESH_CPPUNIT_TEST_SUITE ( AllTriTest  )

The goal of this test is to verify proper operation of the Mesh Extruder with the optional object callback for setting custom subdomain IDs.

We pass a custom object for generating subdomains based on the old element ID and the current layer and assert the proper values.

◆ setUp()

void AllTriTest::setUp ( )
inline

Definition at line 104 of file all_tri.C.

104{}

◆ tearDown()

void AllTriTest::tearDown ( )
inline

Definition at line 106 of file all_tri.C.

106{}

◆ test_helper()

void AllTriTest::test_helper ( ElemType  elem_type,
dof_id_type  n_elem_expected,
std::size_t  n_boundary_conds_expected 
)
inlineprotected

Definition at line 59 of file all_tri.C.

62 {
63 ReplicatedMesh mesh(*TestCommWorld);
64
65 // Build a 2x1 2D or 1x1x1 3D mesh, ask to split it into simplices
66 const unsigned int dim = Elem::type_to_dim_map[elem_type];
68 /*nx=*/dim < 3 ? 2 : 1,
69 /*ny=*/1,
70 /*nz=*/dim < 3 ? 0 : 1,
71 /*xmin=*/0., /*xmax=*/1.,
72 /*ymin=*/0., /*ymax=*/1.,
73 /*zmin=*/0., /*zmax=*/1.,
74 elem_type);
75
77
78 // Make sure that the expected number of elements is found.
79 CPPUNIT_ASSERT_EQUAL(n_elem_expected, mesh.n_elem());
80
81 const BoundaryInfo & boundary_info = mesh.get_boundary_info();
82
83 // Make sure the expected number of BCs is found.
84 CPPUNIT_ASSERT_EQUAL(n_boundary_conds_expected, boundary_info.n_boundary_conds());
85
86 // In these tests we expect all our elements to have the proper
87 // orientation, and we set up the inputs such that our outputs
88 // should be non-curved and should have no boundary sides that
89 // aren't on the previous external boundaries
90 for (const Elem * elem : mesh.element_ptr_range())
91 {
92 CPPUNIT_ASSERT(!elem->is_flipped());
93 CPPUNIT_ASSERT(elem->has_affine_map());
94 for (auto s : elem->side_index_range())
95 if (!elem->neighbor_ptr(s))
96 CPPUNIT_ASSERT_EQUAL(boundary_info.n_boundary_ids(elem, s), 1u);
97 }
98
99 // We set up inputs with measure 1
100 LIBMESH_ASSERT_NUMBERS_EQUAL(1, MeshTools::volume(mesh), TOLERANCE);
101 }
unsigned int dim
The BoundaryInfo class contains information relevant to boundary conditions including storing faces,...
std::size_t n_boundary_conds() const
This is the base class from which all geometric element types are derived.
Definition elem.h:96
static const unsigned int type_to_dim_map[INVALID_ELEM]
This array maps the integer representation of the ElemType enum to the geometric dimension of the ele...
Definition elem.h:649
const BoundaryInfo & get_boundary_info() const
The information about boundary ids on the mesh.
Definition mesh_base.h:170
virtual dof_id_type n_elem() const =0
The ReplicatedMesh class is derived from the MeshBase class, and is used to store identical copies of...
MeshBase & mesh
void build_cube(UnstructuredMesh &mesh, const unsigned int nx=0, const unsigned int ny=0, const unsigned int nz=0, const Real xmin=0., const Real xmax=1., const Real ymin=0., const Real ymax=1., const Real zmin=0., const Real zmax=1., const ElemType type=INVALID_ELEM, const bool gauss_lobatto_grid=false)
Builds a (elements) cube.
void all_tri(MeshBase &mesh)
Subdivides any non-simplex elements in a Mesh to produce simplex (triangular in 2D,...
Real volume(const MeshBase &mesh, unsigned int dim=libMesh::invalid_uint)
Find the total volume of a mesh (interpreting that as area for dim = 2, or total arc length for dim =...
static constexpr Real TOLERANCE

References libMesh::MeshTools::Modification::all_tri(), libMesh::MeshTools::Generation::build_cube(), dim, libMesh::MeshBase::get_boundary_info(), mesh, libMesh::BoundaryInfo::n_boundary_conds(), libMesh::BoundaryInfo::n_boundary_ids(), libMesh::MeshBase::n_elem(), TestCommWorld, libMesh::TOLERANCE, libMesh::Elem::type_to_dim_map, and libMesh::MeshTools::volume().

Referenced by testAllTriPrism18(), testAllTriPrism20(), testAllTriPrism21(), testAllTriPrism6(), testAllTriPyramid14(), testAllTriPyramid5(), testAllTriQuad(), testAllTriQuad8(), testAllTriQuad9(), testAllTriQuadShell4(), and testAllTriTri().

◆ test_helper_c0polyhedron()

void AllTriTest::test_helper_c0polyhedron ( const std::vector< Point > &  points,
const std::vector< std::vector< unsigned int > > &  nodes_on_side 
)
inlineprotected

Definition at line 218 of file all_tri.C.

221 {
222 ReplicatedMesh mesh(*TestCommWorld, /*dim=*/3);
223
224 for (auto p : index_range(points))
225 mesh.add_point(points[p], /*id=*/p);
226
227 std::vector<std::shared_ptr<Polygon>> sides(nodes_on_side.size());
228 for (auto s : index_range(nodes_on_side))
229 {
230 const auto & nodes_on_s = nodes_on_side[s];
231 sides[s] = std::make_shared<C0Polygon>(nodes_on_s.size());
232 for (auto i : index_range(nodes_on_s))
233 sides[s]->set_node(i, mesh.node_ptr(nodes_on_s[i]));
234 }
235
236 std::unique_ptr<Node> mid_elem_node;
237 std::unique_ptr<Elem> polyhedron =
238 std::make_unique<C0Polyhedron>(sides, mid_elem_node);
239 if (mid_elem_node)
240 mesh.add_node(std::move(mid_elem_node));
241 polyhedron->set_id() = 0;
242 Elem * elem = mesh.add_elem(std::move(polyhedron));
243
244 const auto * poly = cast_ptr<const C0Polyhedron *>(elem);
245 const dof_id_type n_elem_expected = poly->n_subelements();
246
247 // Mark every external face with a boundary id so we can verify
248 // boundary information is transferred to the new tets.
249 for (unsigned int s = 0; s < elem->n_sides(); ++s)
250 mesh.get_boundary_info().add_side(elem, s, /*bnd_id=*/s);
251
252 // The number of boundary triangles produced is the total number of
253 // subtriangles across the polyhedron's polygonal faces.
254 std::size_t n_bcs_expected = 0;
255 for (unsigned int s = 0; s < elem->n_sides(); ++s)
256 n_bcs_expected += sides[s]->n_subtriangles();
257
258 // Keep this map for future checks
259 std::vector<std::array<int, 4>> sub_elem_sides_to_parent_side(elem->n_sub_elem());
260 for (unsigned int b = 0; b < elem->n_sub_elem(); ++b)
261 sub_elem_sides_to_parent_side[b] = poly->subelement_sides_to_poly_sides(b);
262
263 Real poly_volume = poly->volume();
265
267
268 CPPUNIT_ASSERT_EQUAL(n_elem_expected, mesh.n_elem());
269 CPPUNIT_ASSERT_EQUAL(n_bcs_expected,
271
272 for (const Elem * e : mesh.element_ptr_range())
273 CPPUNIT_ASSERT_EQUAL(ElemType(TET4), e->type());
274
275 // Check that the boundary info and numbering is as expected
276 for (const Elem * e : mesh.element_ptr_range())
277 for (const auto s : make_range(e->n_sides()))
278 {
279 // Get parent side
280 const auto side = sub_elem_sides_to_parent_side[e->id()][s];
281 // Check boundary exists on the tet side if the tet side is on a poly side
282 if (side != invalid_int)
283 CPPUNIT_ASSERT_EQUAL(mesh.get_boundary_info().has_boundary_id(e, s, side), true);
284 }
285 LIBMESH_ASSERT_NUMBERS_EQUAL(poly_volume, MeshTools::volume(mesh), TOLERANCE);
286 }
bool has_boundary_id(const Node *const node, const boundary_id_type id) const
void add_side(const dof_id_type elem, const unsigned short int side, const boundary_id_type id)
Add side side of element number elem with boundary id id to the boundary information data structure.
dof_id_type & set_id()
Definition dof_object.h:841
virtual unsigned int n_sub_elem() const =0
virtual unsigned int n_sides() const =0
void prepare_for_use(const bool skip_renumber_nodes_and_elements, const bool skip_find_neighbors)
Prepare a newly created (or read) mesh for use.
Definition mesh_base.C:824
virtual Node * add_node(Node *n)=0
Add Node n to the end of the vertex array.
virtual Elem * add_elem(Elem *e)=0
Add elem e to the end of the element array.
static const Real b
auto index_range(const T &sizable)
Helper function that returns an IntRange<std::size_t> representing all the indices of the passed-in v...
Definition int_range.h:153
ElemType
Defines an enum for geometric element types.
const int invalid_int
A number which is used quite often to represent an invalid or uninitialized value for an integer.
Definition libmesh.h:309
uint8_t dof_id_type
Definition id_types.h:67
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
IntRange< T > make_range(T beg, T end)
The 2-parameter make_range() helper function returns an IntRange<T> when both input parameters are of...
Definition int_range.h:176

References libMesh::MeshBase::add_elem(), libMesh::MeshBase::add_node(), libMesh::MeshBase::add_point(), libMesh::BoundaryInfo::add_side(), libMesh::MeshTools::Modification::all_tri(), b, libMesh::MeshBase::get_boundary_info(), libMesh::BoundaryInfo::has_boundary_id(), libMesh::index_range(), libMesh::invalid_int, libMesh::make_range(), mesh, libMesh::BoundaryInfo::n_boundary_conds(), libMesh::MeshBase::n_elem(), libMesh::Elem::n_sides(), libMesh::Elem::n_sub_elem(), libMesh::MeshBase::node_ptr(), libMesh::MeshBase::prepare_for_use(), libMesh::Real, libMesh::DofObject::set_id(), TestCommWorld, libMesh::TET4, libMesh::TOLERANCE, and libMesh::MeshTools::volume().

Referenced by testAllTriC0PolyhedronCube(), and testAllTriC0PolyhedronHexagonalPrism().

◆ testAllTriC0Polygon()

void AllTriTest::testAllTriC0Polygon ( )
inline

Definition at line 133 of file all_tri.C.

134 {
135 LOG_UNIT_TEST;
136
137 ReplicatedMesh mesh(*TestCommWorld, /*dim=*/2);
138
140 /*nx=*/2, /*ny=*/2,
141 /*xmin=*/0., /*xmax=*/1.,
142 /*ymin=*/0., /*ymax=*/1.,
143 C0POLYGON);
144
145 // The post-all_tri element count is the sum of the per-polygon
146 // subtriangle counts, and external sides should be preserved one
147 // for one as TRI3 sides.
148 dof_id_type n_elem_expected = 0;
149 for (const Elem * elem : mesh.element_ptr_range())
150 {
151 const Polygon * poly = dynamic_cast<const Polygon *>(elem);
152 CPPUNIT_ASSERT(poly != nullptr);
153 n_elem_expected += poly->n_subtriangles();
154 }
155
156 const std::size_t n_bcs_before =
158
160
161 CPPUNIT_ASSERT_EQUAL(n_elem_expected, mesh.n_elem());
162 CPPUNIT_ASSERT_EQUAL(n_bcs_before,
164
165 for (const Elem * elem : mesh.element_ptr_range())
166 CPPUNIT_ASSERT_EQUAL(ElemType(TRI3), elem->type());
167 }
The Polygon is an element in 2D with an arbitrary (but fixed) number of sides.
unsigned int n_subtriangles() const
void build_square(UnstructuredMesh &mesh, const unsigned int nx, const unsigned int ny, const Real xmin=0., const Real xmax=1., const Real ymin=0., const Real ymax=1., const ElemType type=INVALID_ELEM, const bool gauss_lobatto_grid=false)
A specialized build_cube() for 2D meshes.

References libMesh::MeshTools::Modification::all_tri(), libMesh::MeshTools::Generation::build_square(), libMesh::C0POLYGON, libMesh::MeshBase::get_boundary_info(), mesh, libMesh::BoundaryInfo::n_boundary_conds(), libMesh::MeshBase::n_elem(), libMesh::Polygon::n_subtriangles(), TestCommWorld, and libMesh::TRI3.

◆ testAllTriC0PolygonOctagon()

void AllTriTest::testAllTriC0PolygonOctagon ( )
inline

Definition at line 172 of file all_tri.C.

173 {
174 LOG_UNIT_TEST;
175
176 constexpr unsigned int n_sides = 8;
177
178 ReplicatedMesh mesh(*TestCommWorld, /*dim=*/2);
179
180 std::unique_ptr<Elem> octagon = std::make_unique<C0Polygon>(n_sides);
181 for (unsigned int i = 0; i < n_sides; ++i)
182 {
183 const Real angle = 2 * libMesh::pi * i / n_sides;
184 Node * node = mesh.add_point(Point(std::cos(angle), std::sin(angle), 0.),
185 /*id=*/i);
186 octagon->set_node(i, node);
187 }
188 octagon->set_id() = 0;
189 Real poly_volume = octagon->volume();
190 Elem * elem = mesh.add_elem(std::move(octagon));
191
192 // Mark every external side with a boundary id so we can verify
193 // boundary information is transferred to the new triangles.
194 for (unsigned int s = 0; s < n_sides; ++s)
195 mesh.get_boundary_info().add_side(elem, s, /*bnd_id=*/0);
196
198
200
201 // n_sides - 2 = 6 subtriangles
202 CPPUNIT_ASSERT_EQUAL(dof_id_type(n_sides - 2), mesh.n_elem());
203 CPPUNIT_ASSERT_EQUAL(std::size_t(n_sides),
205
206 for (const Elem * e : mesh.element_ptr_range())
207 CPPUNIT_ASSERT_EQUAL(ElemType(TRI3), e->type());
208
209 LIBMESH_ASSERT_NUMBERS_EQUAL(poly_volume, MeshTools::volume(mesh), TOLERANCE);
210 }
virtual Node * add_point(const Point &p, const dof_id_type id=DofObject::invalid_id, const processor_id_type proc_id=DofObject::invalid_processor_id)=0
Add a new Node at Point p to the end of the vertex array, with processor_id procid.
A Node is like a Point, but with more information.
Definition node.h:55
A Point defines a location in LIBMESH_DIM dimensional Real space.
Definition point.h:41
const Real pi
.
Definition libmesh.h:292

References libMesh::MeshBase::add_elem(), libMesh::MeshBase::add_point(), libMesh::BoundaryInfo::add_side(), libMesh::MeshTools::Modification::all_tri(), libMesh::MeshBase::get_boundary_info(), mesh, libMesh::BoundaryInfo::n_boundary_conds(), libMesh::MeshBase::n_elem(), libMesh::pi, libMesh::MeshBase::prepare_for_use(), libMesh::Real, libMesh::DofObject::set_id(), TestCommWorld, libMesh::TOLERANCE, libMesh::TRI3, and libMesh::MeshTools::volume().

◆ testAllTriC0PolyhedronCube()

void AllTriTest::testAllTriC0PolyhedronCube ( )
inline

Definition at line 292 of file all_tri.C.

293 {
294 LOG_UNIT_TEST;
295
296 const std::vector<Point> points =
297 { {0,0,0}, {1,0,0}, {1,1,0}, {0,1,0},
298 {0,0,1}, {1,0,1}, {1,1,1}, {0,1,1} };
299
300 const std::vector<std::vector<unsigned int>> nodes_on_side =
301 { {0, 1, 2, 3}, // min z
302 {0, 1, 5, 4}, // min y
303 {2, 6, 5, 1}, // max x
304 {2, 3, 7, 6}, // max y
305 {0, 4, 7, 3}, // min x
306 {5, 6, 7, 4} }; // max z
307
308 test_helper_c0polyhedron(points, nodes_on_side);
309 }
void test_helper_c0polyhedron(const std::vector< Point > &points, const std::vector< std::vector< unsigned int > > &nodes_on_side)
Definition all_tri.C:219

References test_helper_c0polyhedron().

◆ testAllTriC0PolyhedronHexagonalPrism()

void AllTriTest::testAllTriC0PolyhedronHexagonalPrism ( )
inline

Definition at line 313 of file all_tri.C.

314 {
315 LOG_UNIT_TEST;
316
317 const std::vector<Point> points =
318 { { 0, -2, 0}, {-1, -1, 0}, {-1, 1, 0},
319 { 0, 2, 0}, { 1, 1, 0}, { 1, -1, 0},
320 { 0, -2, 1}, {-1, -1, 1}, {-1, 1, 1},
321 { 0, 2, 1}, { 1, 1, 1}, { 1, -1, 1} };
322
323 const std::vector<std::vector<unsigned int>> nodes_on_side =
324 { {0, 1, 2, 3, 4, 5},
325 {0, 1, 7, 6},
326 {1, 2, 8, 7},
327 {2, 3, 9, 8},
328 {3, 4, 10, 9},
329 {4, 5, 11, 10},
330 {5, 0, 6, 11},
331 {6, 7, 8, 9, 10, 11} };
332
333 test_helper_c0polyhedron(points, nodes_on_side);
334 }

References test_helper_c0polyhedron().

◆ testAllTriPrism18()

void AllTriTest::testAllTriPrism18 ( )
inline

Definition at line 123 of file all_tri.C.

123{ LOG_UNIT_TEST; test_helper(PRISM18, /*nelem=*/6, /*nbcs=*/12); }
void test_helper(ElemType elem_type, dof_id_type n_elem_expected, std::size_t n_boundary_conds_expected)
Definition all_tri.C:59

References libMesh::PRISM18, and test_helper().

◆ testAllTriPrism20()

void AllTriTest::testAllTriPrism20 ( )
inline

Definition at line 124 of file all_tri.C.

124{ LOG_UNIT_TEST; test_helper(PRISM20, /*nelem=*/6, /*nbcs=*/12); }

References libMesh::PRISM20, and test_helper().

◆ testAllTriPrism21()

void AllTriTest::testAllTriPrism21 ( )
inline

Definition at line 125 of file all_tri.C.

125{ LOG_UNIT_TEST; test_helper(PRISM21, /*nelem=*/6, /*nbcs=*/12); }

References libMesh::PRISM21, and test_helper().

◆ testAllTriPrism6()

void AllTriTest::testAllTriPrism6 ( )
inline

Definition at line 122 of file all_tri.C.

122{ LOG_UNIT_TEST; test_helper(PRISM6, /*nelem=*/6, /*nbcs=*/12); }

References libMesh::PRISM6, and test_helper().

◆ testAllTriPyramid14()

void AllTriTest::testAllTriPyramid14 ( )
inline

Definition at line 129 of file all_tri.C.

129{ LOG_UNIT_TEST; test_helper(PYRAMID14, /*nelem=*/12, /*nbcs=*/12); }

References libMesh::PYRAMID14, and test_helper().

◆ testAllTriPyramid5()

void AllTriTest::testAllTriPyramid5 ( )
inline

Definition at line 128 of file all_tri.C.

128{ LOG_UNIT_TEST; test_helper(PYRAMID5, /*nelem=*/12, /*nbcs=*/12); }

References libMesh::PYRAMID5, and test_helper().

◆ testAllTriQuad()

void AllTriTest::testAllTriQuad ( )
inline

Definition at line 112 of file all_tri.C.

112{ LOG_UNIT_TEST; test_helper(QUAD4, /*nelem=*/4, /*nbcs=*/6); }

References libMesh::QUAD4, and test_helper().

◆ testAllTriQuad8()

void AllTriTest::testAllTriQuad8 ( )
inline

Definition at line 116 of file all_tri.C.

116{ LOG_UNIT_TEST; test_helper(QUAD8, /*nelem=*/4, /*nbcs=*/6); }

References libMesh::QUAD8, and test_helper().

◆ testAllTriQuad9()

void AllTriTest::testAllTriQuad9 ( )
inline

Definition at line 119 of file all_tri.C.

119{ LOG_UNIT_TEST; test_helper(QUAD9, /*nelem=*/4, /*nbcs=*/6); }

References libMesh::QUAD9, and test_helper().

◆ testAllTriQuadShell4()

void AllTriTest::testAllTriQuadShell4 ( )
inline

Definition at line 113 of file all_tri.C.

113{ LOG_UNIT_TEST; test_helper(QUADSHELL4, /*nelem=*/4, /*nbcs=*/6); }

References libMesh::QUADSHELL4, and test_helper().

◆ testAllTriTri()

void AllTriTest::testAllTriTri ( )
inline

Definition at line 109 of file all_tri.C.

109{ LOG_UNIT_TEST; test_helper(TRI3, /*nelem=*/4, /*nbcs=*/6); }

References test_helper(), and libMesh::TRI3.


The documentation for this class was generated from the following file: