Transformation of an externally maintained complex boundary with the closest-point-transform into a level set function. More...
#include <CPTLevelSet.h>
Public Types | |
typedef base::grid_fct_type | grid_fct_type |
typedef base::grid_data_type | grid_data_type |
typedef cpt::State< dim, DataType > | cpt_type |
Public Member Functions | |
CPTLevelSet () | |
virtual | ~CPTLevelSet () |
virtual void | register_at (ControlDevice &Ctrl, const std::string &prefix) |
virtual void | register_at (ControlDevice &Ctrl) |
virtual void | SetBrep (const int num_vertices, const DataType *vertices, const int num_connections, const int *connections) |
bool | GetBrep (int &num_vertices, const DataType *&vertices, int &num_connections, const int *&connections) |
virtual void | SetPhi (grid_fct_type &phi, const int Time, const int Level, double t) |
virtual void | SetGrid (grid_data_type &gdphi, const int &Level, const double &t) |
cpt_type & | State () |
const cpt_type & | State () const |
void | SetUnsigned (const int us) |
int | Unsigned () const |
void | SetInverse (const int iv) |
int | Inverse () const |
Protected Attributes | |
cpt_type | state |
int | inverse |
int | unsign |
int | _FillWidth |
int | used_num_vertices |
int | used_num_connections |
const DataType * | used_vertices |
const int * | used_connections |
DataType | far_away |
DataType | domain [2 *dim] |
Transformation of an externally maintained complex boundary with the closest-point-transform into a level set function.
typedef cpt::State<dim,DataType> CPTLevelSet< DataType, dim >::cpt_type |
Reimplemented in MultiCPTLevelSet< DataType, dim >, MultiStatCPTLevelSet< DataType, dim >, and StatCPTLevelSet< DataType, dim >.
typedef base::grid_data_type CPTLevelSet< DataType, dim >::grid_data_type |
Reimplemented from GFMLevelSet< DataType, dim >.
Reimplemented in F77CPTLevelSet< class, dim >, F77CPTLevelSet< class, dim >, F77CPTLevelSet< class, dim >, F77CPTLevelSet< class, dim >, F77CPTLevelSet< class, dim >, F77CPTLevelSet< class, dim >, MultiCPTLevelSet< DataType, dim >, MultiStatCPTLevelSet< DataType, dim >, and StatCPTLevelSet< DataType, dim >.
typedef base::grid_fct_type CPTLevelSet< DataType, dim >::grid_fct_type |
Reimplemented from GFMLevelSet< DataType, dim >.
Reimplemented in F77CPTLevelSet< class, dim >, F77CPTLevelSet< class, dim >, F77CPTLevelSet< class, dim >, F77CPTLevelSet< class, dim >, F77CPTLevelSet< class, dim >, F77CPTLevelSet< class, dim >, MultiCPTLevelSet< DataType, dim >, MultiStatCPTLevelSet< DataType, dim >, and StatCPTLevelSet< DataType, dim >.
CPTLevelSet< DataType, dim >::CPTLevelSet | ( | ) | [inline] |
References CPTLevelSet< DataType, dim >::far_away.
virtual CPTLevelSet< DataType, dim >::~CPTLevelSet | ( | ) | [inline, virtual] |
bool CPTLevelSet< DataType, dim >::GetBrep | ( | int & | num_vertices, | |
const DataType *& | vertices, | |||
int & | num_connections, | |||
const int *& | connections | |||
) | [inline] |
int CPTLevelSet< DataType, dim >::Inverse | ( | ) | const [inline] |
References CPTLevelSet< DataType, dim >::inverse.
virtual void CPTLevelSet< DataType, dim >::register_at | ( | ControlDevice & | Ctrl | ) | [inline, virtual] |
Reimplemented from GFMLevelSet< DataType, dim >.
Reimplemented in MultiCPTLevelSet< DataType, dim >, MultiStatCPTLevelSet< DataType, dim >, and StatCPTLevelSet< DataType, dim >.
References CPTLevelSet< DataType, dim >::register_at().
virtual void CPTLevelSet< DataType, dim >::register_at | ( | ControlDevice & | Ctrl, | |
const std::string & | prefix | |||
) | [inline, virtual] |
Reimplemented from GFMLevelSet< DataType, dim >.
Reimplemented in MultiCPTLevelSet< DataType, dim >, MultiStatCPTLevelSet< DataType, dim >, and StatCPTLevelSet< DataType, dim >.
References CPTLevelSet< DataType, dim >::_FillWidth, GFMLevelSet< DataType, dim >::_PlotPhi, ControlDevice::getSubDevice(), CPTLevelSet< DataType, dim >::inverse, GFMLevelSet< DataType, dim >::LocCtrl, RegisterAt(), and CPTLevelSet< DataType, dim >::unsign.
Referenced by CPTLevelSet< DataType, dim >::register_at().
virtual void CPTLevelSet< DataType, dim >::SetBrep | ( | const int | num_vertices, | |
const DataType * | vertices, | |||
const int | num_connections, | |||
const int * | connections | |||
) | [inline, virtual] |
References coarsen(), DAGHShadowFactor, CPTLevelSet< DataType, dim >::domain, GFMLevelSet< DataType, dim >::GH(), grow(), BBox< N, T >::lower(), GFMLevelSet< DataType, dim >::NGhosts(), CPTLevelSet< DataType, dim >::state, BBox< N, T >::stepsize(), BBox< N, T >::upper(), CPTLevelSet< DataType, dim >::used_connections, CPTLevelSet< DataType, dim >::used_num_connections, CPTLevelSet< DataType, dim >::used_num_vertices, CPTLevelSet< DataType, dim >::used_vertices, and GridHierarchy::worldCoords().
Referenced by MultiCPTLevelSet< DataType, dim >::SetPhi(), StatCPTLevelSet< DataType, dim >::SetupData(), MultiStatCPTLevelSet< DataType, dim >::SetupData(), and MultiCPTLevelSet< DataType, dim >::SetupData().
virtual void CPTLevelSet< DataType, dim >::SetGrid | ( | grid_data_type & | gdphi, | |
const int & | Level, | |||
const double & | t | |||
) | [inline, virtual] |
Reimplemented in F77CPTLevelSet< class, dim >, F77CPTLevelSet< class, dim >, F77CPTLevelSet< class, dim >, F77CPTLevelSet< class, dim >, F77CPTLevelSet< class, dim >, and F77CPTLevelSet< class, dim >.
References CPTLevelSet< DataType, dim >::_FillWidth, CPTLevelSet< DataType, dim >::domain, END_WATCH, BBox< N, T >::extents(), CPTLevelSet< DataType, dim >::far_away, GFMLevelSet< DataType, dim >::GH(), CPTLevelSet< DataType, dim >::inverse, BBox< N, T >::lower(), GFMLevelSet< DataType, dim >::NGhosts(), START_WATCH, CPTLevelSet< DataType, dim >::state, BBox< N, T >::stepsize(), CPTLevelSet< DataType, dim >::unsign, BBox< N, T >::upper(), GridHierarchy::worldCoords(), and GridHierarchy::worldStep().
void CPTLevelSet< DataType, dim >::SetInverse | ( | const int | iv | ) | [inline] |
References CPTLevelSet< DataType, dim >::inverse.
virtual void CPTLevelSet< DataType, dim >::SetPhi | ( | grid_fct_type & | phi, | |
const int | Time, | |||
const int | Level, | |||
double | t | |||
) | [inline, virtual] |
Reimplemented from GFMLevelSet< DataType, dim >.
Reimplemented in F77CPTLevelSet< class, dim >, F77CPTLevelSet< class, dim >, F77CPTLevelSet< class, dim >, F77CPTLevelSet< class, dim >, F77CPTLevelSet< class, dim >, F77CPTLevelSet< class, dim >, and MultiCPTLevelSet< DataType, dim >.
References CPTLevelSet< DataType, dim >::_FillWidth, BeginFastIndex2, BeginFastIndex3, BBox< N, T >::coarsen(), GFMLevelSet< DataType, dim >::Dim(), CPTLevelSet< DataType, dim >::domain, END_WATCH, EndFastIndex1, EndFastIndex2, EndFastIndex3, BBox< N, T >::extents(), ExternalBoundaryUpdate(), CPTLevelSet< DataType, dim >::far_away, FastIndex1, FastIndex2, FastIndex3, for_1, for_2, for_3, forall, GFMLevelSet< DataType, dim >::GH(), BBox< N, T >::grow(), CPTLevelSet< DataType, dim >::inverse, GridFunction< GFType, dim >::len(), BBox< N, T >::lower(), GFMLevelSet< DataType, dim >::NGhosts(), BBox< N, T >::refine(), START_WATCH, CPTLevelSet< DataType, dim >::state, BBox< N, T >::stepsize(), Sync(), CPTLevelSet< DataType, dim >::unsign, BBox< N, T >::upper(), GridHierarchy::wholebbox(), GridHierarchy::worldCoords(), and GridHierarchy::worldStep().
Referenced by MultiCPTLevelSet< DataType, dim >::SetPhi().
void CPTLevelSet< DataType, dim >::SetUnsigned | ( | const int | us | ) | [inline] |
References CPTLevelSet< DataType, dim >::unsign.
const cpt_type& CPTLevelSet< DataType, dim >::State | ( | ) | const [inline] |
References CPTLevelSet< DataType, dim >::state.
cpt_type& CPTLevelSet< DataType, dim >::State | ( | ) | [inline] |
References CPTLevelSet< DataType, dim >::state.
int CPTLevelSet< DataType, dim >::Unsigned | ( | ) | const [inline] |
References CPTLevelSet< DataType, dim >::unsign.
int CPTLevelSet< DataType, dim >::_FillWidth [protected] |
DataType CPTLevelSet< DataType, dim >::domain[2 *dim] [protected] |
DataType CPTLevelSet< DataType, dim >::far_away [protected] |
int CPTLevelSet< DataType, dim >::inverse [protected] |
Referenced by CPTLevelSet< DataType, dim >::Inverse(), StatCPTLevelSet< DataType, dim >::register_at(), MultiStatCPTLevelSet< DataType, dim >::register_at(), CPTLevelSet< DataType, dim >::register_at(), CPTLevelSet< DataType, dim >::SetGrid(), CPTLevelSet< DataType, dim >::SetInverse(), and CPTLevelSet< DataType, dim >::SetPhi().
cpt_type CPTLevelSet< DataType, dim >::state [protected] |
int CPTLevelSet< DataType, dim >::unsign [protected] |
Referenced by StatCPTLevelSet< DataType, dim >::register_at(), MultiStatCPTLevelSet< DataType, dim >::register_at(), CPTLevelSet< DataType, dim >::register_at(), CPTLevelSet< DataType, dim >::SetGrid(), CPTLevelSet< DataType, dim >::SetPhi(), CPTLevelSet< DataType, dim >::SetUnsigned(), and CPTLevelSet< DataType, dim >::Unsigned().
const int* CPTLevelSet< DataType, dim >::used_connections [protected] |
Referenced by CPTLevelSet< DataType, dim >::GetBrep(), and CPTLevelSet< DataType, dim >::SetBrep().
int CPTLevelSet< DataType, dim >::used_num_connections [protected] |
Referenced by CPTLevelSet< DataType, dim >::GetBrep(), and CPTLevelSet< DataType, dim >::SetBrep().
int CPTLevelSet< DataType, dim >::used_num_vertices [protected] |
Referenced by CPTLevelSet< DataType, dim >::GetBrep(), and CPTLevelSet< DataType, dim >::SetBrep().
const DataType* CPTLevelSet< DataType, dim >::used_vertices [protected] |
Referenced by CPTLevelSet< DataType, dim >::GetBrep(), and CPTLevelSet< DataType, dim >::SetBrep().