MFEM
v4.3.0
Finite element discretization library
|
#include <tmop.hpp>
Public Member Functions | |
AnalyticAdaptTC (TargetType ttype) | |
virtual void | SetAnalyticTargetSpec (Coefficient *sspec, VectorCoefficient *vspec, TMOPMatrixCoefficient *mspec) |
virtual void | ComputeElementTargets (int e_id, const FiniteElement &fe, const IntegrationRule &ir, const Vector &elfun, DenseTensor &Jtr) const |
Given an element and quadrature rule, computes ref->target transformation Jacobians for each quadrature point in the element. The physical positions of the element's nodes are given by elfun. More... | |
virtual void | ComputeAllElementTargets (const FiniteElementSpace &fes, const IntegrationRule &ir, const Vector &xe, DenseTensor &Jtr) const |
Computes reference-to-target transformation Jacobians for all quadrature points in all elements. More... | |
virtual void | ComputeElementTargetsGradient (const IntegrationRule &ir, const Vector &elfun, IsoparametricTransformation &Tpr, DenseTensor &dJtr) const |
Public Member Functions inherited from mfem::TargetConstructor | |
TargetConstructor (TargetType ttype) | |
Constructor for use in serial. More... | |
TargetConstructor (TargetType ttype, MPI_Comm mpicomm) | |
Constructor for use in parallel. More... | |
virtual | ~TargetConstructor () |
void | SetNodes (const GridFunction &n) |
Set the nodes to be used in the target-matrix construction. More... | |
const GridFunction * | GetNodes () const |
Get the nodes to be used in the target-matrix construction. More... | |
void | SetVolumeScale (double vol_scale) |
Used by target type IDEAL_SHAPE_EQUAL_SIZE. The default volume scale is 1. More... | |
TargetType | GetTargetType () const |
bool | UsesPhysicalCoordinates () const |
Return true if the methods ComputeElementTargets(), ComputeAllElementTargets(), and ComputeElementTargetsGradient() use the physical node coordinates provided by the parameters 'elfun', or 'xe'. More... | |
virtual bool | ContainsVolumeInfo () const |
Checks if the target matrices contain non-trivial size specification. More... | |
Protected Attributes | |
Coefficient * | scalar_tspec |
VectorCoefficient * | vector_tspec |
TMOPMatrixCoefficient * | matrix_tspec |
Protected Attributes inherited from mfem::TargetConstructor | |
const GridFunction * | nodes |
double | avg_volume |
double | volume_scale |
const TargetType | target_type |
bool | uses_phys_coords |
MPI_Comm | comm |
Additional Inherited Members | |
Public Types inherited from mfem::TargetConstructor | |
enum | TargetType { IDEAL_SHAPE_UNIT_SIZE, IDEAL_SHAPE_EQUAL_SIZE, IDEAL_SHAPE_GIVEN_SIZE, GIVEN_SHAPE_AND_SIZE, GIVEN_FULL } |
Target-matrix construction algorithms supported by this class. More... | |
Protected Member Functions inherited from mfem::TargetConstructor | |
bool | Parallel () const |
bool | Parallel () const |
void | ComputeAvgVolume () const |
template<int DIM> | |
bool | ComputeAllElementTargets (const FiniteElementSpace &fes, const IntegrationRule &ir, const Vector &xe, DenseTensor &Jtr) const |
void | ComputeAllElementTargets_Fallback (const FiniteElementSpace &fes, const IntegrationRule &ir, const Vector &xe, DenseTensor &Jtr) const |
|
inline |
|
virtual |
Computes reference-to-target transformation Jacobians for all quadrature points in all elements.
[in] | fes | The nodal FE space |
[in] | ir | The quadrature rule to use for all elements |
[in] | xe | E-vector with the current physical coordinates/positions; this parameter is used only when needed by the target constructor, see UsesPhysicalCoordinates() |
[out] | Jtr | The computed ref->target Jacobian matrices. |
Reimplemented from mfem::TargetConstructor.
|
virtual |
Given an element and quadrature rule, computes ref->target transformation Jacobians for each quadrature point in the element. The physical positions of the element's nodes are given by elfun.
Reimplemented from mfem::TargetConstructor.
|
virtual |
Reimplemented from mfem::TargetConstructor.
|
virtual |
|
protected |
|
protected |
|
protected |