Mesh Oriented datABase
(version 5.4.1)
Array-based unstructured mesh datastructure
|
#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 59 of file parametrizer.hpp.
typedef moab::EntityHandle moab::element_utility::Parametrizer::Entity_handle [private] |
Definition at line 63 of file parametrizer.hpp.
typedef Parametrizer moab::element_utility::Parametrizer::Self [private] |
Definition at line 62 of file parametrizer.hpp.
moab::element_utility::Parametrizer::Parametrizer | ( | ) | [inline] |
Definition at line 66 of file parametrizer.hpp.
moab::element_utility::Parametrizer::Parametrizer | ( | const Self & | f | ) | [inline] |
Definition at line 67 of file parametrizer.hpp.
void moab::element_utility::Parametrizer::interpolate | ( | Moab & | moab, |
const Entity_handle & | eh, | ||
const Point & | natural_coords | ||
) | [inline] |
Definition at line 95 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 71 of file parametrizer.hpp.
References hex_map, MBHEX, MBTET, Points, quadratic_hex_map, spectral_hex_map, and tet_map.
{ // 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 103 of file parametrizer.hpp.
Referenced by operator()().
Definition at line 106 of file parametrizer.hpp.
Referenced by operator()().
Definition at line 105 of file parametrizer.hpp.
Referenced by operator()().
Linear_tet_map< Entity_handle, moab::Matrix3 > moab::element_utility::Parametrizer::tet_map [private] |
Definition at line 104 of file parametrizer.hpp.
Referenced by operator()().