gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
stepData< Real > Class Template Reference

#include <PViewDataGModel.h>

Collaboration diagram for stepData< Real >:

Public Member Functions

 stepData (GModel *model, int numComp, const std::string &fileName="", int fileIndex=-1, double time=0., double min=VAL_INF, double max=-VAL_INF)
 
 stepData (stepData< Real > &other)
 
 ~stepData ()
 
void fillEntities ()
 
void computeBoundingBox ()
 
GModelgetModel ()
 
SBoundingBox3d getBoundingBox ()
 
int getNumEntities ()
 
GEntitygetEntity (int ent)
 
int getNumComponents ()
 
int getMult (int index)
 
std::string getFileName ()
 
void setFileName (const std::string &name)
 
int getFileIndex ()
 
void setFileIndex (int index)
 
double getTime ()
 
void setTime (double time)
 
double getMin ()
 
void setMin (double min)
 
double getMax ()
 
void setMax (double max)
 
std::size_t getNumData ()
 
void resizeData (int n)
 
Real * getData (int index, bool allocIfNeeded=false, int mult=1)
 
void destroyData ()
 
void renumberData (const std::map< int, int > &mapping)
 
std::vector< double > & getGaussPoints (int msh)
 
std::set< int > & getPartitions ()
 
double getMemoryInMb ()
 

Private Attributes

GModel_model
 
std::vector< GEntity * > _entities
 
SBoundingBox3d _bbox
 
std::string _fileName
 
int _fileIndex
 
double _time
 
double _min
 
double _max
 
int _numComp
 
std::vector< Real * > * _data
 
std::vector< int > _mult
 
std::vector< std::vector< double > > _gaussPoints
 
std::set< int > _partitions
 

Detailed Description

template<class Real>
class stepData< Real >

Definition at line 13 of file PViewDataGModel.h.

Constructor & Destructor Documentation

◆ stepData() [1/2]

template<class Real >
stepData< Real >::stepData ( GModel model,
int  numComp,
const std::string &  fileName = "",
int  fileIndex = -1,
double  time = 0.,
double  min = VAL_INF,
double  max = -VAL_INF 
)
inline

Definition at line 52 of file PViewDataGModel.h.

◆ stepData() [2/2]

template<class Real >
stepData< Real >::stepData ( stepData< Real > &  other)
inline

Definition at line 59 of file PViewDataGModel.h.

Here is the call graph for this function:

◆ ~stepData()

template<class Real >
stepData< Real >::~stepData ( )
inline

Definition at line 86 of file PViewDataGModel.h.

Here is the call graph for this function:

Member Function Documentation

◆ computeBoundingBox()

template<class Real >
void stepData< Real >::computeBoundingBox ( )
inline

Definition at line 88 of file PViewDataGModel.h.

Here is the call graph for this function:

◆ destroyData()

template<class Real >
void stepData< Real >::destroyData ( )
inline

Definition at line 139 of file PViewDataGModel.h.

Referenced by stepData< Real >::~stepData().

Here is the caller graph for this function:

◆ fillEntities()

template<class Real >
void stepData< Real >::fillEntities ( )
inline

Definition at line 87 of file PViewDataGModel.h.

Here is the call graph for this function:

◆ getBoundingBox()

template<class Real >
SBoundingBox3d stepData< Real >::getBoundingBox ( )
inline

Definition at line 90 of file PViewDataGModel.h.

◆ getData()

template<class Real >
Real* stepData< Real >::getData ( int  index,
bool  allocIfNeeded = false,
int  mult = 1 
)
inline

Definition at line 119 of file PViewDataGModel.h.

Referenced by gmshViewGetModelData(), PViewDataGModel::skipElement(), and stepData< Real >::stepData().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getEntity()

template<class Real >
GEntity* stepData< Real >::getEntity ( int  ent)
inline

Definition at line 92 of file PViewDataGModel.h.

◆ getFileIndex()

template<class Real >
int stepData< Real >::getFileIndex ( )
inline

Definition at line 101 of file PViewDataGModel.h.

◆ getFileName()

template<class Real >
std::string stepData< Real >::getFileName ( )
inline

Definition at line 99 of file PViewDataGModel.h.

◆ getGaussPoints()

template<class Real >
std::vector<double>& stepData< Real >::getGaussPoints ( int  msh)
inline

Definition at line 176 of file PViewDataGModel.h.

◆ getMax()

template<class Real >
double stepData< Real >::getMax ( )
inline

Definition at line 107 of file PViewDataGModel.h.

◆ getMemoryInMb()

template<class Real >
double stepData< Real >::getMemoryInMb ( )
inline

Definition at line 182 of file PViewDataGModel.h.

Here is the call graph for this function:

◆ getMin()

template<class Real >
double stepData< Real >::getMin ( )
inline

Definition at line 105 of file PViewDataGModel.h.

◆ getModel()

template<class Real >
GModel* stepData< Real >::getModel ( )
inline

Definition at line 89 of file PViewDataGModel.h.

◆ getMult()

template<class Real >
int stepData< Real >::getMult ( int  index)
inline

Definition at line 94 of file PViewDataGModel.h.

Referenced by stepData< Real >::getMemoryInMb(), gmshViewGetModelData(), and stepData< Real >::stepData().

Here is the caller graph for this function:

◆ getNumComponents()

template<class Real >
int stepData< Real >::getNumComponents ( )
inline

Definition at line 93 of file PViewDataGModel.h.

Referenced by stepData< Real >::getMemoryInMb(), and gmshViewGetModelData().

Here is the caller graph for this function:

◆ getNumData()

template<class Real >
std::size_t stepData< Real >::getNumData ( )
inline

Definition at line 109 of file PViewDataGModel.h.

Referenced by stepData< Real >::getData(), stepData< Real >::getMemoryInMb(), gmshViewGetModelData(), and stepData< Real >::stepData().

Here is the caller graph for this function:

◆ getNumEntities()

template<class Real >
int stepData< Real >::getNumEntities ( )
inline

Definition at line 91 of file PViewDataGModel.h.

◆ getPartitions()

template<class Real >
std::set<int>& stepData< Real >::getPartitions ( )
inline

Definition at line 181 of file PViewDataGModel.h.

◆ getTime()

template<class Real >
double stepData< Real >::getTime ( )
inline

Definition at line 103 of file PViewDataGModel.h.

Referenced by gmshViewGetModelData().

Here is the caller graph for this function:

◆ renumberData()

template<class Real >
void stepData< Real >::renumberData ( const std::map< int, int > &  mapping)
inline

Definition at line 148 of file PViewDataGModel.h.

Here is the call graph for this function:

◆ resizeData()

template<class Real >
void stepData< Real >::resizeData ( int  n)
inline

Definition at line 114 of file PViewDataGModel.h.

Referenced by stepData< Real >::getData().

Here is the caller graph for this function:

◆ setFileIndex()

template<class Real >
void stepData< Real >::setFileIndex ( int  index)
inline

Definition at line 102 of file PViewDataGModel.h.

◆ setFileName()

template<class Real >
void stepData< Real >::setFileName ( const std::string &  name)
inline

Definition at line 100 of file PViewDataGModel.h.

◆ setMax()

template<class Real >
void stepData< Real >::setMax ( double  max)
inline

Definition at line 108 of file PViewDataGModel.h.

◆ setMin()

template<class Real >
void stepData< Real >::setMin ( double  min)
inline

Definition at line 106 of file PViewDataGModel.h.

◆ setTime()

template<class Real >
void stepData< Real >::setTime ( double  time)
inline

Definition at line 104 of file PViewDataGModel.h.

Member Data Documentation

◆ _bbox

template<class Real >
SBoundingBox3d stepData< Real >::_bbox
private

◆ _data

◆ _entities

template<class Real >
std::vector<GEntity *> stepData< Real >::_entities
private

◆ _fileIndex

template<class Real >
int stepData< Real >::_fileIndex
private

◆ _fileName

template<class Real >
std::string stepData< Real >::_fileName
private

◆ _gaussPoints

template<class Real >
std::vector<std::vector<double> > stepData< Real >::_gaussPoints
private

◆ _max

template<class Real >
double stepData< Real >::_max
private

◆ _min

template<class Real >
double stepData< Real >::_min
private

◆ _model

template<class Real >
GModel* stepData< Real >::_model
private

◆ _mult

template<class Real >
std::vector<int> stepData< Real >::_mult
private

◆ _numComp

template<class Real >
int stepData< Real >::_numComp
private

◆ _partitions

template<class Real >
std::set<int> stepData< Real >::_partitions
private

◆ _time

template<class Real >
double stepData< Real >::_time
private

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