18 double xi = v01.
Dot(xyz_ref) / v01.
Norm() /
h_;
20 if ((xi >= -1.0e-6) and (xi <= 1.0 + 1.0e-6))
22 if (i == 0)
return 1.0 - xi;
34 std::vector<double>& shape_values)
const
43 double xi = v01.
Dot(xyz_ref) / v01.
Norm() /
h_;
45 if ((xi >= -1.0e-6) and (xi <= 1.0 + 1.0e-6))
49 if (i == 0) shape_values[i] = 1.0 - xi;
74 std::vector<chi_mesh::Vector3>& gradshape_values)
const
76 gradshape_values.clear();
const chi_mesh::MeshContinuum & ref_grid_
double ShapeValue(int i, const chi_mesh::Vector3 &xyz) const override
void GradShapeValues(const chi_mesh::Vector3 &xyz, std::vector< chi_mesh::Vector3 > &gradshape_values) const override
void ShapeValues(const chi_mesh::Vector3 &xyz, std::vector< double > &shape_values) const override
chi_mesh::Vector3 GradShapeValue(int i, const chi_mesh::Vector3 &xyz) const override
Vector3 Dot(const chi_mesh::TensorRank2Dim3 &that) const