17 MakeFaceNodeMapping(cell),
26 if (i == 0)
return 0.5 * (1.0 - qpoint.
x);
27 if (i == 1)
return 0.5 * (1.0 + qpoint.
x);
33 const Vec3& qpoint)
const
35 if (i == 0)
return Vec3(0.0, 0.0, -0.5);
36 if (i == 1)
return Vec3(0.0, 0.0, 0.5);
45 return {{1.0, 0.0, 0.0}, {0.0, 1.0, 0.0}, {0.0, 0.0, zz}};
48std::pair<double, LagrangeBaseMapping::Vec3>
50 size_t face_index,
const Vec3& qpoint_face)
const
56 size_t face_index,
const Vec3& qpoint_face)
const
58 if (face_index == 0)
return Vec3(-1.0, 0.0, 0.0);
59 if (face_index == 1)
return Vec3(1.0, 0.0, 0.0);
#define ChiLogicalError(message)
const std::vector< chi_mesh::Vector3 > node_locations_
const chi_mesh::Cell & cell_
std::vector< VecDbl > MatDbl
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
std::vector< CellFace > faces_