Public Member Functions | Public Attributes | List of all members
MoFEM::FieldEvaluatorInterface::SetPtsData Struct Reference

#include <src/interfaces/FieldEvaluator.hpp>

Public Member Functions

 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 double * evalPoints
int nbEvalPoints
double eps
MatrixDouble localCoords
MatrixDouble shapeFunctions
std::vector< EntityHandle > evalPointEntityHandle
EntityHandle rooTreeSet
boost::scoped_ptr< AdaptiveKDTree > treePtr

Detailed Description

Definition at line 42 of file FieldEvaluator.hpp.

Constructor & Destructor Documentation

◆ SetPtsData()

MoFEM::FieldEvaluatorInterface::SetPtsData::SetPtsData ( boost::shared_ptr< MoFEM::ForcesAndSourcesCore fe_method_ptr,
const double *  eval_points,
const int  nb_eval_points,
const double  eps,

Set the Gauss Pts data.

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

Definition at line 53 of file FieldEvaluator.hpp.

Member Function Documentation

◆ setEvalPoints()

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

Definition at line 62 of file FieldEvaluator.hpp.

62  {
63  evalPoints = ptr;
64  nbEvalPoints = nb_eval_points;
65  localCoords.resize(nbEvalPoints, 3, false);
66  shapeFunctions.resize(nbEvalPoints, 4, false);
67  }

Member Data Documentation

◆ eps

double MoFEM::FieldEvaluatorInterface::SetPtsData::eps

Definition at line 72 of file FieldEvaluator.hpp.

◆ evalPointEntityHandle

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

Definition at line 77 of file FieldEvaluator.hpp.

◆ evalPoints

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

Definition at line 70 of file FieldEvaluator.hpp.

◆ feMethodPtr

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

Definition at line 69 of file FieldEvaluator.hpp.

◆ localCoords

MatrixDouble MoFEM::FieldEvaluatorInterface::SetPtsData::localCoords

Definition at line 75 of file FieldEvaluator.hpp.

◆ nbEvalPoints

int MoFEM::FieldEvaluatorInterface::SetPtsData::nbEvalPoints

Definition at line 71 of file FieldEvaluator.hpp.

◆ rooTreeSet

EntityHandle MoFEM::FieldEvaluatorInterface::SetPtsData::rooTreeSet

Definition at line 79 of file FieldEvaluator.hpp.

◆ shapeFunctions

MatrixDouble MoFEM::FieldEvaluatorInterface::SetPtsData::shapeFunctions

Definition at line 76 of file FieldEvaluator.hpp.

◆ treePtr

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

Definition at line 80 of file FieldEvaluator.hpp.

◆ verb

VERBOSITY_LEVELS MoFEM::FieldEvaluatorInterface::SetPtsData::verb

Definition at line 73 of file FieldEvaluator.hpp.

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