Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 14 additions & 12 deletions include/fe/hdiv_fe_transformation.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,19 +74,21 @@ class HDivFETransformation : public FETransformationBase<OutputShape>

/**
* Evaluates shape function gradients in physical coordinates for
* \f$ H(div) \f$ conforming elements.
* \f$ H(div) \f$ conforming elements, via the contravariant Piola
* map's derivative (the gradient of \f$ \phi = J^{-1} (dx/d\xi)
* \hat{\phi} \f$ with respect to physical coordinates). Requires
* \p LIBMESH_ENABLE_SECOND_DERIVATIVES, since the map's own second
* derivatives are needed to differentiate \f$ J^{-1} \f$ and
* \f$ (dx/d\xi) \f$.
*/
virtual void map_dphi(const unsigned int /*dim*/,
const Elem * const /*elem*/,
const std::vector<Point> & /*qp*/,
const FEGenericBase<OutputShape> & /*fe*/,
std::vector<std::vector<typename FEGenericBase<OutputShape>::OutputGradient>> & /*dphi*/,
std::vector<std::vector<OutputShape>> & /*dphidx*/,
std::vector<std::vector<OutputShape>> & /*dphidy*/,
std::vector<std::vector<OutputShape>> & /*dphidz*/) const override
{
libmesh_warning("WARNING: Shape function gradients for HDiv elements are not currently being computed!");
}
virtual void map_dphi(const unsigned int dim,
const Elem * const elem,
const std::vector<Point> & qp,
const FEGenericBase<OutputShape> & fe,
std::vector<std::vector<typename FEGenericBase<OutputShape>::OutputGradient>> & dphi,
std::vector<std::vector<OutputShape>> & dphidx,
std::vector<std::vector<OutputShape>> & dphidy,
std::vector<std::vector<OutputShape>> & dphidz) const override;

#ifdef LIBMESH_ENABLE_SECOND_DERIVATIVES
/**
Expand Down
Loading