NiHu  2.0
NiHu::inverse_mapping< surface_element< LSet, Scalar > > Class Template Reference

inverse mapping for surface elements More...

#include <inverse_mapping.hpp>

Public Member Functions

 inverse_mapping (elem_t const &elem, bool constrained_in_elem)
 constructor More...
 
bool eval (x_t const &x0, double tol, unsigned max_iter)
 compute inverse mapping More...
 
const result_t & get_result () const
 get the result of inverse mapping
 
unsigned get_iter () const
 get the number of iterations
 
double get_error () const
 get the error (absolute in physical coordinates)
 

Detailed Description

template<class LSet, class Scalar>
class NiHu::inverse_mapping< surface_element< LSet, Scalar > >

inverse mapping for surface elements

Template Parameters
LSetthe geometrical shape set
Scalarthe element's scalar type

Definition at line 30 of file inverse_mapping.hpp.

Constructor & Destructor Documentation

◆ inverse_mapping()

template<class LSet , class Scalar >
NiHu::inverse_mapping< surface_element< LSet, Scalar > >::inverse_mapping ( elem_t const &  elem,
bool  constrained_in_elem 
)
inline

constructor

Parameters
[in]elemthe element

Definition at line 44 of file inverse_mapping.hpp.

Member Function Documentation

◆ eval()

template<class LSet , class Scalar >
bool NiHu::inverse_mapping< surface_element< LSet, Scalar > >::eval ( x_t const &  x0,
double  tol,
unsigned  max_iter 
)
inline

compute inverse mapping

Parameters
[in]x0physical coordinates
[in]toltolerance (absolute error in physical coordinates)
[in]max_itermaximal number of iterations

Definition at line 55 of file inverse_mapping.hpp.


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