#include <ElemEvaluator.hpp>
Collaboration diagram for moab::EvalSet:Public Member Functions | |
| EvalSet () | |
| Bare constructor. More... | |
| EvalSet (EvalFcn eval, ReverseEvalFcn rev, NormalFcn normal, JacobianFcn jacob, IntegrateFcn integ, InitFcn initf, InsideFcn insidef) | |
| Constructor. More... | |
| EvalSet (EvalSet const &eval) | |
| Copy constructor. More... | |
| EvalSet & | operator= (const EvalSet &eval) |
| Operator=. More... | |
Static Public Member Functions | |
| static ErrorCode | get_eval_set (Interface *mb, EntityHandle eh, EvalSet &eval_set) |
| Given an entity handle, get an appropriate eval set, based on type & #vertices. More... | |
| static ErrorCode | get_eval_set (EntityType tp, unsigned int num_vertices, EvalSet &eval_set) |
| Given type & #vertices, get an appropriate eval set. More... | |
| static ErrorCode | evaluate_reverse (EvalFcn eval, JacobianFcn jacob, InsideFcn inside_f, const double *posn, const double *verts, const int nverts, const int ndim, const double iter_tol, const double inside_tol, double *work, double *params, int *inside) |
| Common function to do reverse evaluation based on evaluation and jacobian functions. More... | |
| static int | inside_function (const double *params, const int ndims, const double tol) |
| Common function that returns true if params is in [-1,1]^ndims. More... | |
Public Attributes | |
| EvalFcn | evalFcn |
| Forward-evaluation of field at parametric coordinates. More... | |
| ReverseEvalFcn | reverseEvalFcn |
| Reverse-evaluation of parametric coordinates at physical space position. More... | |
| NormalFcn | normalFcn |
| Evaluate the normal at a local facet (edge/face for 2D/3D) More... | |
| JacobianFcn | jacobianFcn |
| Evaluate the jacobian at a specified parametric position. More... | |
| IntegrateFcn | integrateFcn |
| Forward-evaluation of field at parametric coordinates. More... | |
| InitFcn | initFcn |
| Initialization function for an element. More... | |
| InsideFcn | insideFcn |
| Function that returns whether or not the parameters are inside the natural space of the element. More... | |
Definition at line 56 of file ElemEvaluator.hpp.
|
inline |
Bare constructor.
Definition at line 82 of file ElemEvaluator.hpp.
|
inline |
Constructor.
Definition at line 89 of file ElemEvaluator.hpp.
|
inline |
|
static |
Common function to do reverse evaluation based on evaluation and jacobian functions.
Definition at line 19 of file ElemEvaluator.cpp.
References moab::CartVect::array(), moab::Matrix3::array(), moab::Matrix3::determinant(), moab::dum, ErrorCode, moab::Matrix3::inverse(), MB_INDEX_OUT_OF_RANGE, MB_SUCCESS, and moab::params.
Referenced by moab::LinearHex::reverseEvalFcn(), moab::LinearQuad::reverseEvalFcn(), and moab::QuadraticHex::reverseEvalFcn().
|
static |
Given type & #vertices, get an appropriate eval set.
Definition at line 107 of file ElemEvaluator.cpp.
References moab::LinearHex::compatible(), moab::LinearQuad::compatible(), moab::LinearTet::compatible(), moab::LinearTri::compatible(), moab::QuadraticHex::compatible(), MB_NOT_IMPLEMENTED, MB_SUCCESS, MBEDGE, MBHEX, MBQUAD, MBTET, and MBTRI.
|
inlinestatic |
Given an entity handle, get an appropriate eval set, based on type & #vertices.
Definition at line 147 of file ElemEvaluator.hpp.
References ErrorCode, mb, and MB_SUCCESS.
Referenced by moab::ElemEvaluator::set_ent_handle(), and moab::ElemEvaluator::set_eval_set().
|
static |
Common function that returns true if params is in [-1,1]^ndims.
Definition at line 96 of file ElemEvaluator.cpp.
References moab::params.
Referenced by moab::LinearHex::insideFcn(), moab::LinearQuad::insideFcn(), and moab::QuadraticHex::insideFcn().
Operator=.
Definition at line 116 of file ElemEvaluator.hpp.
References evalFcn, initFcn, insideFcn, integrateFcn, jacobianFcn, normalFcn, and reverseEvalFcn.
| EvalFcn moab::EvalSet::evalFcn |
Forward-evaluation of field at parametric coordinates.
Definition at line 60 of file ElemEvaluator.hpp.
Referenced by operator=(), and moab::ElemEvaluator::reverse_eval().
| InitFcn moab::EvalSet::initFcn |
Initialization function for an element.
Definition at line 75 of file ElemEvaluator.hpp.
Referenced by operator=(), and moab::ElemEvaluator::set_eval_set().
| InsideFcn moab::EvalSet::insideFcn |
Function that returns whether or not the parameters are inside the natural space of the element.
Definition at line 79 of file ElemEvaluator.hpp.
Referenced by operator=(), and moab::ElemEvaluator::reverse_eval().
| IntegrateFcn moab::EvalSet::integrateFcn |
Forward-evaluation of field at parametric coordinates.
Definition at line 72 of file ElemEvaluator.hpp.
Referenced by operator=().
| JacobianFcn moab::EvalSet::jacobianFcn |
Evaluate the jacobian at a specified parametric position.
Definition at line 69 of file ElemEvaluator.hpp.
Referenced by operator=(), and moab::ElemEvaluator::reverse_eval().
| NormalFcn moab::EvalSet::normalFcn |
Evaluate the normal at a local facet (edge/face for 2D/3D)
Definition at line 66 of file ElemEvaluator.hpp.
Referenced by operator=().
| ReverseEvalFcn moab::EvalSet::reverseEvalFcn |
Reverse-evaluation of parametric coordinates at physical space position.
Definition at line 63 of file ElemEvaluator.hpp.
Referenced by operator=().