Chi-Tech
LagrangeSlabMapping.h
Go to the documentation of this file.
1#ifndef CHITECH_LAGRANGESLABMAPPING_H
2#define CHITECH_LAGRANGESLABMAPPING_H
3
5
7{
8
9/**Lagrange element mapping for a 1D Slab.
10* \ingroup doc_CellMappings*/
12{
13public:
15 const chi_mesh::Cell& cell,
16 const Quadrature& volume_quadrature,
17 const Quadrature& surface_quadrature);
18
19protected:
20 double RefShape(uint32_t i, const Vec3& qpoint) const override;
21 Vec3 RefGradShape(uint32_t i, const Vec3& qpoint) const override;
22
23 MatDbl RefJacobian(const Vec3& qpoint) const override;
24
25 std::pair<double, Vec3>
27 const Vec3& qpoint_face) const override;
28
29 Vec3 FaceToElementQPointConversion(size_t face_index,
30 const Vec3& qpoint_face) const override;
31};
32
33} // namespace chi_math::cell_mapping
34
35#endif // CHITECH_LAGRANGESLABMAPPING_H
double RefShape(uint32_t i, const Vec3 &qpoint) const override
Vec3 RefGradShape(uint32_t i, const Vec3 &qpoint) const override
Vec3 FaceToElementQPointConversion(size_t face_index, const Vec3 &qpoint_face) const override
LagrangeSlabMapping(const chi_mesh::MeshContinuum &grid, const chi_mesh::Cell &cell, const Quadrature &volume_quadrature, const Quadrature &surface_quadrature)
MatDbl RefJacobian(const Vec3 &qpoint) const override
std::pair< double, Vec3 > RefFaceJacobianDeterminantAndNormal(size_t face_index, const Vec3 &qpoint_face) const override