moab
|
#include <parametrizer.hpp>
Public Member Functions | |
Parametrizer () | |
Parametrizer (const Self &f) | |
template<typename Moab , typename Entity_handle , typename Point > | |
std::pair< bool, Point > | operator() (Moab &moab, const Entity_handle &eh, const Point &point) |
template<typename Moab , typename Entity_handle , typename Point > | |
void | interpolate (Moab &moab, const Entity_handle &eh, const Point &natural_coords) |
Private Types | |
typedef Parametrizer | Self |
typedef moab::EntityHandle | Entity_handle |
Private Attributes | |
Linear_hex_map< moab::Matrix3 > | hex_map |
Linear_tet_map< Entity_handle, moab::Matrix3 > | tet_map |
Spectral_hex_map< moab::Matrix3 > | spectral_hex_map |
Quadratic_hex_map< moab::Matrix3 > | quadratic_hex_map |
Definition at line 55 of file parametrizer.hpp.
typedef moab::EntityHandle moab::element_utility::Parametrizer::Entity_handle [private] |
Definition at line 58 of file parametrizer.hpp.
typedef Parametrizer moab::element_utility::Parametrizer::Self [private] |
Definition at line 57 of file parametrizer.hpp.
moab::element_utility::Parametrizer::Parametrizer | ( | ) | [inline] |
Definition at line 60 of file parametrizer.hpp.
moab::element_utility::Parametrizer::Parametrizer | ( | const Self & | f | ) | [inline] |
Definition at line 61 of file parametrizer.hpp.
void moab::element_utility::Parametrizer::interpolate | ( | Moab & | moab, |
const Entity_handle & | eh, | ||
const Point & | natural_coords | ||
) | [inline] |
Definition at line 94 of file parametrizer.hpp.
{ //get field values from moab tag, //then //evaluate_scalar_field(); }
std::pair< bool, Point> moab::element_utility::Parametrizer::operator() | ( | Moab & | moab, |
const Entity_handle & | eh, | ||
const Point & | point | ||
) | [inline] |
Definition at line 65 of file parametrizer.hpp.
{ //get entity typedef std::vector< moab::CartVect> Points; Points points; get_moab_points( moab, eh, points); //get type switch( moab.type_from_handle( eh)){ case moab::MBHEX: return hex_map( moab, eh, points, point); case moab::MBTET: return tet_map( moab, eh, points, point); //TODO: not correct.. //TODO: add quadratic hex, and a proper case for // spectral hex default: quadratic_hex_map( moab, eh, points, point); return spectral_hex_map( moab, eh, points, point); std::cerr << "Element type not supported" << std::endl; return make_pair( false, Point(3, 0.0)); } }
Definition at line 101 of file parametrizer.hpp.
Definition at line 104 of file parametrizer.hpp.
Definition at line 103 of file parametrizer.hpp.
Linear_tet_map< Entity_handle, moab::Matrix3> moab::element_utility::Parametrizer::tet_map [private] |
Definition at line 102 of file parametrizer.hpp.