Transformation of a static complex boundaries with the closest-point-transform into a level set function. More...
#include <MultiStatCPTLevelSet.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 |
typedef ads::FixedArray< dim, DataType > | point_type |
typedef ads::FixedArray< dim, int > | multi_index_type |
Public Member Functions | |
MultiStatCPTLevelSet () | |
virtual | ~MultiStatCPTLevelSet () |
virtual void | register_at (ControlDevice &Ctrl, const std::string &prefix) |
virtual void | register_at (ControlDevice &Ctrl) |
virtual void | SetupData (GridHierarchy *gh, const int &ghosts) |
point_type | ForwardTransformN (const int i, const point_type &p) |
point_type | InverseTransformN (const int i, const point_type &p) |
void | SetNBreps (const int _nbreps) |
int | NBreps () const |
void | SetFilename (const int i, const std::string filename) |
std::string | Filename (const int i) const |
bool | GetNthBrep (const int i, int &nver, const DataType *&ver, int &nconn, const int *&conn) |
Public Attributes | |
std::string | brep_filename [MAXFILES] |
int | brep_filetype [MAXFILES] |
point_type | origin [MAXFILES] |
point_type | morigin [MAXFILES] |
point_type | rotate [MAXFILES] |
point_type | translate [MAXFILES] |
DataType | scale [MAXFILES] |
Protected Attributes | |
int | nbreps |
int | num_vertices |
int | num_connections |
int | nvertices [MAXFILES] |
int | nconnections [MAXFILES] |
point_type * | vertices [MAXFILES] |
multi_index_type * | connections [MAXFILES] |
Transformation of a static complex boundaries with the closest-point-transform into a level set function.
typedef cpt::State<dim,DataType> MultiStatCPTLevelSet< DataType, dim >::cpt_type |
Reimplemented from CPTLevelSet< DataType, dim >.
Reimplemented in MultiCPTLevelSet< DataType, dim >.
typedef base::grid_data_type MultiStatCPTLevelSet< DataType, dim >::grid_data_type |
Reimplemented from CPTLevelSet< DataType, dim >.
Reimplemented in MultiCPTLevelSet< DataType, dim >.
typedef base::grid_fct_type MultiStatCPTLevelSet< DataType, dim >::grid_fct_type |
Reimplemented from CPTLevelSet< DataType, dim >.
Reimplemented in MultiCPTLevelSet< DataType, dim >.
typedef ads::FixedArray<dim,int> MultiStatCPTLevelSet< DataType, dim >::multi_index_type |
Reimplemented in MultiCPTLevelSet< DataType, dim >.
typedef ads::FixedArray<dim,DataType> MultiStatCPTLevelSet< DataType, dim >::point_type |
Reimplemented in MultiCPTLevelSet< DataType, dim >.
MultiStatCPTLevelSet< DataType, dim >::MultiStatCPTLevelSet | ( | ) | [inline] |
References GFMLevelSet< DataType, dim >::_Stationary, MultiStatCPTLevelSet< DataType, dim >::brep_filetype, MultiStatCPTLevelSet< DataType, dim >::connections, MAXFILES, MultiStatCPTLevelSet< DataType, dim >::morigin, MultiStatCPTLevelSet< DataType, dim >::origin, MultiStatCPTLevelSet< DataType, dim >::rotate, MultiStatCPTLevelSet< DataType, dim >::scale, MultiStatCPTLevelSet< DataType, dim >::translate, and MultiStatCPTLevelSet< DataType, dim >::vertices.
virtual MultiStatCPTLevelSet< DataType, dim >::~MultiStatCPTLevelSet | ( | ) | [inline, virtual] |
std::string MultiStatCPTLevelSet< DataType, dim >::Filename | ( | const int | i | ) | const [inline] |
Reimplemented in MultiCPTLevelSet< DataType, dim >.
References MultiStatCPTLevelSet< DataType, dim >::brep_filename.
point_type MultiStatCPTLevelSet< DataType, dim >::ForwardTransformN | ( | const int | i, | |
const point_type & | p | |||
) | [inline] |
Reimplemented in MultiCPTLevelSet< DataType, dim >.
References MultiStatCPTLevelSet< DataType, dim >::origin, MultiStatCPTLevelSet< DataType, dim >::rotate, MultiStatCPTLevelSet< DataType, dim >::scale, and MultiStatCPTLevelSet< DataType, dim >::translate.
Referenced by MultiStatCPTLevelSet< DataType, dim >::SetupData().
bool MultiStatCPTLevelSet< DataType, dim >::GetNthBrep | ( | const int | i, | |
int & | nver, | |||
const DataType *& | ver, | |||
int & | nconn, | |||
const int *& | conn | |||
) | [inline] |
point_type MultiStatCPTLevelSet< DataType, dim >::InverseTransformN | ( | const int | i, | |
const point_type & | p | |||
) | [inline] |
int MultiStatCPTLevelSet< DataType, dim >::NBreps | ( | ) | const [inline] |
Reimplemented in MultiCPTLevelSet< DataType, dim >.
References MultiStatCPTLevelSet< DataType, dim >::nbreps.
virtual void MultiStatCPTLevelSet< DataType, dim >::register_at | ( | ControlDevice & | Ctrl | ) | [inline, virtual] |
Reimplemented from CPTLevelSet< DataType, dim >.
Reimplemented in MultiCPTLevelSet< DataType, dim >.
References MultiStatCPTLevelSet< DataType, dim >::register_at().
virtual void MultiStatCPTLevelSet< DataType, dim >::register_at | ( | ControlDevice & | Ctrl, | |
const std::string & | prefix | |||
) | [inline, virtual] |
Reimplemented from CPTLevelSet< DataType, dim >.
Reimplemented in MultiCPTLevelSet< DataType, dim >.
References CPTLevelSet< DataType, dim >::_FillWidth, GFMLevelSet< DataType, dim >::_PlotPhi, MultiStatCPTLevelSet< DataType, dim >::brep_filename, MultiStatCPTLevelSet< DataType, dim >::brep_filetype, ControlDevice::getSubDevice(), CPTLevelSet< DataType, dim >::inverse, GFMLevelSet< DataType, dim >::LocCtrl, MAXFILES, MultiStatCPTLevelSet< DataType, dim >::morigin, MultiStatCPTLevelSet< DataType, dim >::nbreps, MultiStatCPTLevelSet< DataType, dim >::origin, RegisterAt(), MultiStatCPTLevelSet< DataType, dim >::rotate, MultiStatCPTLevelSet< DataType, dim >::scale, MultiStatCPTLevelSet< DataType, dim >::translate, and CPTLevelSet< DataType, dim >::unsign.
Referenced by MultiStatCPTLevelSet< DataType, dim >::register_at(), and MultiCPTLevelSet< DataType, dim >::register_at().
void MultiStatCPTLevelSet< DataType, dim >::SetFilename | ( | const int | i, | |
const std::string | filename | |||
) | [inline] |
Reimplemented in MultiCPTLevelSet< DataType, dim >.
References MultiStatCPTLevelSet< DataType, dim >::brep_filename.
void MultiStatCPTLevelSet< DataType, dim >::SetNBreps | ( | const int | _nbreps | ) | [inline] |
Reimplemented in MultiCPTLevelSet< DataType, dim >.
References MultiStatCPTLevelSet< DataType, dim >::nbreps.
virtual void MultiStatCPTLevelSet< DataType, dim >::SetupData | ( | GridHierarchy * | gh, | |
const int & | ghosts | |||
) | [inline, virtual] |
Reimplemented from GFMLevelSet< DataType, dim >.
Reimplemented in MultiCPTLevelSet< DataType, dim >.
References MultiStatCPTLevelSet< DataType, dim >::brep_filename, MultiStatCPTLevelSet< DataType, dim >::brep_filetype, MultiStatCPTLevelSet< DataType, dim >::connections, MultiStatCPTLevelSet< DataType, dim >::ForwardTransformN(), MAXFILES, MultiStatCPTLevelSet< DataType, dim >::morigin, MultiStatCPTLevelSet< DataType, dim >::nbreps, MultiStatCPTLevelSet< DataType, dim >::nconnections, MultiStatCPTLevelSet< DataType, dim >::num_connections, MultiStatCPTLevelSet< DataType, dim >::num_vertices, MultiStatCPTLevelSet< DataType, dim >::nvertices, CPTLevelSet< DataType, dim >::SetBrep(), GFMLevelSet< DataType, dim >::SetupData(), and MultiStatCPTLevelSet< DataType, dim >::vertices.
Referenced by MultiCPTLevelSet< DataType, dim >::SetupData().
std::string MultiStatCPTLevelSet< DataType, dim >::brep_filename[MAXFILES] |
int MultiStatCPTLevelSet< DataType, dim >::brep_filetype[MAXFILES] |
multi_index_type* MultiStatCPTLevelSet< DataType, dim >::connections[MAXFILES] [protected] |
Reimplemented in MultiCPTLevelSet< DataType, dim >.
Referenced by MultiStatCPTLevelSet< DataType, dim >::GetNthBrep(), MultiStatCPTLevelSet< DataType, dim >::MultiStatCPTLevelSet(), MultiStatCPTLevelSet< DataType, dim >::SetupData(), and MultiStatCPTLevelSet< DataType, dim >::~MultiStatCPTLevelSet().
point_type MultiStatCPTLevelSet< DataType, dim >::morigin[MAXFILES] |
int MultiStatCPTLevelSet< DataType, dim >::nbreps [protected] |
int MultiStatCPTLevelSet< DataType, dim >::nconnections[MAXFILES] [protected] |
Reimplemented in MultiCPTLevelSet< DataType, dim >.
Referenced by MultiStatCPTLevelSet< DataType, dim >::GetNthBrep(), and MultiStatCPTLevelSet< DataType, dim >::SetupData().
int MultiStatCPTLevelSet< DataType, dim >::num_connections [protected] |
Reimplemented in MultiCPTLevelSet< DataType, dim >.
Referenced by MultiStatCPTLevelSet< DataType, dim >::SetupData().
int MultiStatCPTLevelSet< DataType, dim >::num_vertices [protected] |
Reimplemented in MultiCPTLevelSet< DataType, dim >.
Referenced by MultiStatCPTLevelSet< DataType, dim >::SetupData().
int MultiStatCPTLevelSet< DataType, dim >::nvertices[MAXFILES] [protected] |
Reimplemented in MultiCPTLevelSet< DataType, dim >.
Referenced by MultiStatCPTLevelSet< DataType, dim >::GetNthBrep(), and MultiStatCPTLevelSet< DataType, dim >::SetupData().
point_type MultiStatCPTLevelSet< DataType, dim >::origin[MAXFILES] |
Reimplemented in MultiCPTLevelSet< DataType, dim >.
Referenced by MultiStatCPTLevelSet< DataType, dim >::ForwardTransformN(), MultiStatCPTLevelSet< DataType, dim >::InverseTransformN(), MultiStatCPTLevelSet< DataType, dim >::MultiStatCPTLevelSet(), and MultiStatCPTLevelSet< DataType, dim >::register_at().
point_type MultiStatCPTLevelSet< DataType, dim >::rotate[MAXFILES] |
Reimplemented in MultiCPTLevelSet< DataType, dim >.
Referenced by MultiStatCPTLevelSet< DataType, dim >::ForwardTransformN(), MultiStatCPTLevelSet< DataType, dim >::InverseTransformN(), MultiStatCPTLevelSet< DataType, dim >::MultiStatCPTLevelSet(), and MultiStatCPTLevelSet< DataType, dim >::register_at().
DataType MultiStatCPTLevelSet< DataType, dim >::scale[MAXFILES] |
Reimplemented in MultiCPTLevelSet< DataType, dim >.
Referenced by MultiStatCPTLevelSet< DataType, dim >::ForwardTransformN(), MultiStatCPTLevelSet< DataType, dim >::InverseTransformN(), MultiStatCPTLevelSet< DataType, dim >::MultiStatCPTLevelSet(), and MultiStatCPTLevelSet< DataType, dim >::register_at().
point_type MultiStatCPTLevelSet< DataType, dim >::translate[MAXFILES] |
Reimplemented in MultiCPTLevelSet< DataType, dim >.
Referenced by MultiStatCPTLevelSet< DataType, dim >::ForwardTransformN(), MultiStatCPTLevelSet< DataType, dim >::InverseTransformN(), MultiStatCPTLevelSet< DataType, dim >::MultiStatCPTLevelSet(), and MultiStatCPTLevelSet< DataType, dim >::register_at().
point_type* MultiStatCPTLevelSet< DataType, dim >::vertices[MAXFILES] [protected] |
Reimplemented in MultiCPTLevelSet< DataType, dim >.
Referenced by MultiStatCPTLevelSet< DataType, dim >::GetNthBrep(), MultiStatCPTLevelSet< DataType, dim >::MultiStatCPTLevelSet(), MultiStatCPTLevelSet< DataType, dim >::SetupData(), and MultiStatCPTLevelSet< DataType, dim >::~MultiStatCPTLevelSet().