MFEM  v4.1.0
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Protected Attributes | List of all members
mfem::AnalyticAdaptTC Class Reference

#include <tmop.hpp>

Inheritance diagram for mfem::AnalyticAdaptTC:
[legend]
Collaboration diagram for mfem::AnalyticAdaptTC:
[legend]

Public Member Functions

 AnalyticAdaptTC (TargetType ttype)
 
virtual void SetAnalyticTargetSpec (Coefficient *sspec, VectorCoefficient *vspec, MatrixCoefficient *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...
 
- 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...
 
void SetVolumeScale (double vol_scale)
 Used by target type IDEAL_SHAPE_EQUAL_SIZE. The default volume scale is 1. More...
 

Protected Attributes

Coefficientscalar_tspec
 
VectorCoefficientvector_tspec
 
MatrixCoefficientmatrix_tspec
 
- Protected Attributes inherited from mfem::TargetConstructor
const GridFunctionnodes
 
double avg_volume
 
double volume_scale
 
const TargetType target_type
 
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
 

Detailed Description

Definition at line 646 of file tmop.hpp.

Constructor & Destructor Documentation

mfem::AnalyticAdaptTC::AnalyticAdaptTC ( TargetType  ttype)
inline

Definition at line 655 of file tmop.hpp.

Member Function Documentation

void mfem::AnalyticAdaptTC::ComputeElementTargets ( int  e_id,
const FiniteElement fe,
const IntegrationRule ir,
const Vector elfun,
DenseTensor Jtr 
) const
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.

Definition at line 891 of file tmop.cpp.

void mfem::AnalyticAdaptTC::SetAnalyticTargetSpec ( Coefficient sspec,
VectorCoefficient vspec,
MatrixCoefficient mspec 
)
virtual

Definition at line 882 of file tmop.cpp.

Member Data Documentation

MatrixCoefficient* mfem::AnalyticAdaptTC::matrix_tspec
protected

Definition at line 652 of file tmop.hpp.

Coefficient* mfem::AnalyticAdaptTC::scalar_tspec
protected

Definition at line 650 of file tmop.hpp.

VectorCoefficient* mfem::AnalyticAdaptTC::vector_tspec
protected

Definition at line 651 of file tmop.hpp.


The documentation for this class was generated from the following files: