LehrFEM++ 1.0.0
A simple Finite Element Library for teaching
check_child_geometry.h
1
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,
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
Represents a reference element with all its properties.
Definition: ref_el.h:106
Interface class for shape information on a mesh cell in the spirit of parametric finite element metho...
Abstract interface class for encoding topological local refinement
Represents a Quadrature Rule over one of the Reference Elements.
Definition: quad_rule.h:58
unsigned int sub_idx_t
type for local indices of sub-entities
Definition: base.h:32
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