#include <parametrizer.hpp>
Definition at line 59 of file parametrizer.hpp.
◆ Entity_handle
◆ Self
◆ Parametrizer() [1/2]
moab::element_utility::Parametrizer::Parametrizer |
( |
| ) |
|
|
inline |
◆ Parametrizer() [2/2]
moab::element_utility::Parametrizer::Parametrizer |
( |
const Self & |
f | ) |
|
|
inline |
Definition at line 67 of file parametrizer.hpp.
67 : hex_map( f.hex_map ), tet_map( f.tet_map ) {}
◆ interpolate()
template<typename Moab , typename Entity_handle , typename Point >
void moab::element_utility::Parametrizer::interpolate |
( |
Moab & |
moab, |
|
|
const Entity_handle & |
eh, |
|
|
const Point & |
natural_coords |
|
) |
| |
|
inline |
◆ operator()()
template<typename Moab , typename Entity_handle , typename Point >
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.
72 {
73
74 typedef std::vector< moab::CartVect > Points;
75 Points points;
76 get_moab_points( moab, eh, points );
77
78 switch( moab.type_from_handle( eh ) )
79 {
80 case moab::MBHEX:
81 return hex_map( moab, eh, points, point );
82 case moab::MBTET:
83 return tet_map( moab, eh, points, point );
84
85
86
87 default:
88 quadratic_hex_map( moab, eh, points, point );
89 return spectral_hex_map( moab, eh, points, point );
90 std::cerr << "Element type not supported" << std::endl;
91 return make_pair( false, Point( 3, 0.0 ) );
92 }
93 }
References hex_map, MBHEX, MBTET, Points, quadratic_hex_map, spectral_hex_map, and tet_map.
◆ hex_map
◆ quadratic_hex_map
◆ spectral_hex_map
◆ tet_map
The documentation for this class was generated from the following file: