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