v0.14.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
MoFEM::FieldEvaluatorInterface::SetPtsData Struct Reference

#include <src/interfaces/FieldEvaluator.hpp>

Collaboration diagram for MoFEM::FieldEvaluatorInterface::SetPtsData:
[legend]

Public Member Functions

 SetPtsData ()=delete
 
 SetPtsData (boost::shared_ptr< MoFEM::ForcesAndSourcesCore > fe_method_ptr, const double *eval_points, const int nb_eval_points, const double eps, VERBOSITY_LEVELS verb=QUIET)
 Set the Gauss Pts data. More...
 
void setEvalPoints (const double *ptr, const int nb_eval_points)
 

Public Attributes

boost::weak_ptr< MoFEM::ForcesAndSourcesCorefeMethodPtr
 
const doubleevalPoints
 
int nbEvalPoints
 
double eps
 
VERBOSITY_LEVELS verb
 
MatrixDouble localCoords
 
MatrixDouble shapeFunctions
 
std::vector< EntityHandleevalPointEntityHandle
 
EntityHandle rooTreeSet
 
boost::scoped_ptr< AdaptiveKDTree > treePtr
 

Detailed Description

Examples
dynamic_first_order_con_law.cpp.

Definition at line 29 of file FieldEvaluator.hpp.

Constructor & Destructor Documentation

◆ SetPtsData() [1/2]

MoFEM::FieldEvaluatorInterface::SetPtsData::SetPtsData ( )
delete

◆ SetPtsData() [2/2]

MoFEM::FieldEvaluatorInterface::SetPtsData::SetPtsData ( boost::shared_ptr< MoFEM::ForcesAndSourcesCore fe_method_ptr,
const double eval_points,
const int  nb_eval_points,
const double  eps,
VERBOSITY_LEVELS  verb = QUIET 
)
inline

Set the Gauss Pts data.

Parameters
fe_method_ptrpointer to finite element instance
eval_pointspointer to array with evaluation points
nb_eval_pointsnumber of evaluated points
epstolerance used to find if point is in the element
verb

Definition at line 42 of file FieldEvaluator.hpp.

Member Function Documentation

◆ setEvalPoints()

void MoFEM::FieldEvaluatorInterface::SetPtsData::setEvalPoints ( const double ptr,
const int  nb_eval_points 
)
inline

Definition at line 51 of file FieldEvaluator.hpp.

51 {
52 evalPoints = ptr;
53 nbEvalPoints = nb_eval_points;
54 localCoords.resize(nbEvalPoints, 3, false);
55 shapeFunctions.resize(nbEvalPoints, 4, false);
56 }

Member Data Documentation

◆ eps

double MoFEM::FieldEvaluatorInterface::SetPtsData::eps

Definition at line 61 of file FieldEvaluator.hpp.

◆ evalPointEntityHandle

std::vector<EntityHandle> MoFEM::FieldEvaluatorInterface::SetPtsData::evalPointEntityHandle

Definition at line 66 of file FieldEvaluator.hpp.

◆ evalPoints

const double* MoFEM::FieldEvaluatorInterface::SetPtsData::evalPoints

Definition at line 59 of file FieldEvaluator.hpp.

◆ feMethodPtr

boost::weak_ptr<MoFEM::ForcesAndSourcesCore> MoFEM::FieldEvaluatorInterface::SetPtsData::feMethodPtr

Definition at line 58 of file FieldEvaluator.hpp.

◆ localCoords

MatrixDouble MoFEM::FieldEvaluatorInterface::SetPtsData::localCoords

Definition at line 64 of file FieldEvaluator.hpp.

◆ nbEvalPoints

int MoFEM::FieldEvaluatorInterface::SetPtsData::nbEvalPoints

Definition at line 60 of file FieldEvaluator.hpp.

◆ rooTreeSet

EntityHandle MoFEM::FieldEvaluatorInterface::SetPtsData::rooTreeSet

Definition at line 68 of file FieldEvaluator.hpp.

◆ shapeFunctions

MatrixDouble MoFEM::FieldEvaluatorInterface::SetPtsData::shapeFunctions

Definition at line 65 of file FieldEvaluator.hpp.

◆ treePtr

boost::scoped_ptr<AdaptiveKDTree> MoFEM::FieldEvaluatorInterface::SetPtsData::treePtr

Definition at line 69 of file FieldEvaluator.hpp.

◆ verb

VERBOSITY_LEVELS MoFEM::FieldEvaluatorInterface::SetPtsData::verb

Definition at line 62 of file FieldEvaluator.hpp.


The documentation for this struct was generated from the following file: