LehrFEM++ 1.0.0
A simple Finite Element Library for teaching
Loading...
Searching...
No Matches
check_child_geometry.h
1
8
9#ifndef LEHRFEMPP_CHECK_CHILD_GEOMETRY_H
10#define LEHRFEMPP_CHECK_CHILD_GEOMETRY_H
11
12#include <lf/base/base.h>
13#include <lf/geometry/geometry.h>
14#include <lf/quad/quad.h>
15#include <lf/refinement/refinement.h>
16
18
34 const lf::geometry::Geometry &geom,
35 const lf::geometry::RefinementPattern &ref_pat,
36 const std::function<lf::quad::QuadRule(lf::base::RefEl)> &qr_provider);
37
46 const lf::geometry::Geometry &geom, const lf::refinement::RefPat &refPat,
48
49} // namespace lf::geometry::test_utils
50
51#endif // LEHRFEMPP_CHECK_CHILD_GEOMETRY_H
unsigned int sub_idx_t
type for local indices of sub-entities
Definition types.h:28
Defines the Geometry::test_utils module and provides a number of test functions to check geometry obj...
void checkChildGeometry(const lf::geometry::Geometry &geom, const lf::geometry::RefinementPattern &ref_pat, const std::function< lf::quad::QuadRule(lf::base::RefEl)> &qr_provider)
Checks that the mapping geom.ChildGeometry() is the same as geom composed with the mapping imposed by...
void checkChildGeometryVolume(const lf::geometry::Geometry &geom, const lf::refinement::RefPat &refPat, const lf::base::sub_idx_t &anchor)
Checks if the total volume is conserved after call to ChildGeometry()
const unsigned int idx_nil
RefPat
(possibly incomplete) list of refinement patterns for triangles/quadrilaterals