gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
PViewDataRemote Class Reference

#include <PViewDataRemote.h>

Inheritance diagram for PViewDataRemote:
Collaboration diagram for PViewDataRemote:

Public Member Functions

 PViewDataRemote (onelab::localNetworkClient *remote, double min, double max, int numsteps, double time, SBoundingBox3d &bbox)
 
 ~PViewDataRemote ()
 
bool finalize (bool computeMinMax=true, const std::string &interpolationScheme="")
 
int getNumTimeSteps ()
 
double getMin (int step=-1, bool onlyVisible=false, int tensorRep=0, int forceNumComponents=0, int componentMap[9]=nullptr)
 
double getMax (int step=-1, bool onlyVisible=false, int tensorRep=0, int forceNumComponents=0, int componentMap[9]=nullptr)
 
SBoundingBox3d getBoundingBox (int step=-1)
 
double getTime (int step)
 
int getNumElements (int step=-1, int ent=-1)
 
void setMin (double min)
 
void setMax (double max)
 
void setBoundingBox (SBoundingBox3d &bbox)
 
void setTime (double time)
 
bool isRemote ()
 
int fillRemoteVertexArrays (std::string &options)
 
- Public Member Functions inherited from PViewData
 PViewData ()
 
virtual ~PViewData ()
 
virtual bool getDirty ()
 
virtual void setDirty (bool val)
 
virtual std::string getName ()
 
virtual void setName (const std::string &val)
 
virtual std::string getFileName (int step=-1)
 
virtual void setFileName (const std::string &val)
 
virtual bool hasFileName (const std::string &val)
 
virtual int getFileIndex ()
 
virtual void setFileIndex (int val)
 
virtual int getFirstNonEmptyTimeStep (int start=0)
 
virtual int getNumScalars (int step=-1)
 
virtual int getNumVectors (int step=-1)
 
virtual int getNumTensors (int step=-1)
 
virtual int getNumPoints (int step=-1)
 
virtual int getNumLines (int step=-1)
 
virtual int getNumTriangles (int step=-1)
 
virtual int getNumQuadrangles (int step=-1)
 
virtual int getNumPolygons (int step=-1)
 
virtual int getNumTetrahedra (int step=-1)
 
virtual int getNumHexahedra (int step=-1)
 
virtual int getNumPrisms (int step=-1)
 
virtual int getNumPyramids (int step=-1)
 
virtual int getNumTrihedra (int step=-1)
 
virtual int getNumPolyhedra (int step=-1)
 
virtual int getNumEntities (int step=-1)
 
virtual int getDimension (int step, int ent, int ele)
 
virtual int getNumNodes (int step, int ent, int ele)
 
virtual int getNode (int step, int ent, int ele, int nod, double &x, double &y, double &z)
 
virtual void setNode (int step, int ent, int ele, int nod, double x, double y, double z)
 
virtual void tagNode (int step, int ent, int ele, int nod, int tag)
 
virtual int getNumComponents (int step, int ent, int ele)
 
virtual int getNumValues (int step, int ent, int ele)
 
virtual void getValue (int step, int ent, int ele, int idx, double &val)
 
virtual void getValue (int step, int ent, int ele, int nod, int comp, double &val)
 
virtual void setValue (int step, int ent, int ele, int nod, int comp, double val)
 
void getScalarValue (int step, int ent, int ele, int nod, double &val, int tensorRep=0, int forceNumComponents=0, int componentMap[9]=nullptr)
 
virtual int getNumEdges (int step, int ent, int ele)
 
virtual int getType (int step, int ent, int ele)
 
virtual int getNumStrings2D ()
 
virtual int getNumStrings3D ()
 
virtual void getString2D (int i, int step, std::string &str, double &x, double &y, double &style)
 
virtual void getString3D (int i, int step, std::string &str, double &x, double &y, double &z, double &style)
 
virtual void reverseElement (int step, int ent, int ele)
 
virtual bool empty ()
 
virtual bool skipEntity (int step, int ent)
 
virtual bool skipElement (int step, int ent, int ele, bool checkVisibility=false, int samplingRate=1)
 
virtual bool hasTimeStep (int step)
 
virtual bool hasPartition (int step, int part)
 
virtual bool hasMultipleMeshes ()
 
virtual bool hasModel (GModel *model, int step=-1)
 
virtual bool isNodeData ()
 
virtual bool useGaussPoints ()
 
void initAdaptiveData (int step, int level, double tol)
 
void initAdaptiveDataLight (int step, int level, double tol)
 
void saveAdaptedViewForVTK (const std::string &guifileName, int useDefaultName, int step, int level, double tol, int npart, bool isBinary)
 
void destroyAdaptiveData ()
 
adaptiveDatagetAdaptiveData ()
 
void setInterpolationMatrices (int type, const fullMatrix< double > &coefVal, const fullMatrix< double > &expVal)
 
void setInterpolationMatrices (int type, const fullMatrix< double > &coefVal, const fullMatrix< double > &expVal, const fullMatrix< double > &coefGeo, const fullMatrix< double > &expGeo)
 
int getInterpolationMatrices (int type, std::vector< fullMatrix< double > * > &p)
 
bool haveInterpolationMatrices (int type=0)
 
void deleteInterpolationMatrices (int type=0)
 
std::string getInterpolationSchemeName ()
 
void setInterpolationSchemeName (std::string name)
 
virtual void smooth ()
 
virtual bool combineTime (nameData &nd)
 
virtual bool combineSpace (nameData &nd)
 
virtual void setXY (std::vector< double > &x, std::vector< double > &y)
 
virtual void setXYZV (std::vector< double > &x, std::vector< double > &y, std::vector< double > &z, std::vector< double > &v)
 
virtual bool isListBased ()
 
virtual double getMemoryInMb ()
 
virtual GModelgetModel (int step)
 
virtual GEntitygetEntity (int step, int entity)
 
virtual MElementgetElement (int step, int entity, int element)
 
double findClosestNode (double &xn, double &yn, double &zn, int step)
 
bool searchScalar (double x, double y, double z, double *values, int step=-1, double *size=nullptr, int qn=0, double *qx=nullptr, double *qy=nullptr, double *qz=nullptr, bool grad=false, int dim=-1)
 
bool searchVector (double x, double y, double z, double *values, int step=-1, double *size=nullptr, int qn=0, double *qx=nullptr, double *qy=nullptr, double *qz=nullptr, bool grad=false, int dim=-1)
 
bool searchTensor (double x, double y, double z, double *values, int step=-1, double *size=nullptr, int qn=0, double *qx=nullptr, double *qy=nullptr, double *qz=nullptr, bool grad=false, int dim=-1)
 
bool searchScalarClosest (double x, double y, double z, double &distance, double *values, int step=-1, double *size=nullptr, int qn=0, double *qx=nullptr, double *qy=nullptr, double *qz=nullptr, bool grad=false, int dim=-1)
 
bool searchVectorClosest (double x, double y, double z, double &distance, double *values, int step=-1, double *size=nullptr, int qn=0, double *qx=nullptr, double *qy=nullptr, double *qz=nullptr, bool grad=false, int dim=-1)
 
bool searchTensorClosest (double x, double y, double z, double &distance, double *values, int step=-1, double *size=nullptr, int qn=0, double *qx=nullptr, double *qy=nullptr, double *qz=nullptr, bool grad=false, int dim=-1)
 
virtual bool writeSTL (const std::string &fileName)
 
virtual bool writeTXT (const std::string &fileName)
 
virtual bool writePOS (const std::string &fileName, bool binary=false, bool parsed=true, bool append=false)
 
virtual bool writeMSH (const std::string &fileName, double version=2.2, bool binary=false, bool saveMesh=true, bool multipleView=false, int partitionNum=-1, bool saveInterpolationMatrices=true, bool forceNodeData=false, bool forceElementData=false)
 
virtual bool writeMED (const std::string &fileName)
 
virtual bool toVector (std::vector< std::vector< double > > &vec)
 
virtual bool fromVector (const std::vector< std::vector< double > > &vec)
 
virtual void importLists (int N[24], std::vector< double > *V[24])
 
virtual void getListPointers (int N[24], std::vector< double > *V[24])
 
virtual void sendToServer (const std::string &name)
 

Private Attributes

onelab::localNetworkClient_remote
 
double _min
 
double _max
 
int _numTimeSteps
 
double _time
 
SBoundingBox3d _bbox
 

Additional Inherited Members

- Static Public Member Functions inherited from PViewData
static void removeInterpolationScheme (const std::string &name)
 
static void removeAllInterpolationSchemes ()
 
static void addMatrixToInterpolationScheme (const std::string &name, int type, fullMatrix< double > &mat)
 
static int getSizeInterpolationScheme ()
 
- Protected Attributes inherited from PViewData
adaptiveData_adaptive
 
interpolationMatrices _interpolation
 
std::string _interpolationSchemeName
 
- Static Protected Attributes inherited from PViewData
static std::map< std::string, interpolationMatrices_interpolationSchemes
 

Detailed Description

Definition at line 17 of file PViewDataRemote.h.

Constructor & Destructor Documentation

◆ PViewDataRemote()

PViewDataRemote::PViewDataRemote ( onelab::localNetworkClient remote,
double  min,
double  max,
int  numsteps,
double  time,
SBoundingBox3d bbox 
)
inline

Definition at line 26 of file PViewDataRemote.h.

◆ ~PViewDataRemote()

PViewDataRemote::~PViewDataRemote ( )
inline

Definition at line 32 of file PViewDataRemote.h.

Member Function Documentation

◆ fillRemoteVertexArrays()

int PViewDataRemote::fillRemoteVertexArrays ( std::string &  options)
inlinevirtual

Reimplemented from PViewData.

Definition at line 58 of file PViewDataRemote.h.

Here is the call graph for this function:

◆ finalize()

bool PViewDataRemote::finalize ( bool  computeMinMax = true,
const std::string &  interpolationScheme = "" 
)
inlinevirtual

Reimplemented from PViewData.

Definition at line 33 of file PViewDataRemote.h.

◆ getBoundingBox()

SBoundingBox3d PViewDataRemote::getBoundingBox ( int  step = -1)
inlinevirtual

Implements PViewData.

Definition at line 49 of file PViewDataRemote.h.

◆ getMax()

double PViewDataRemote::getMax ( int  step = -1,
bool  onlyVisible = false,
int  tensorRep = 0,
int  forceNumComponents = 0,
int  componentMap[9] = nullptr 
)
inlinevirtual

Implements PViewData.

Definition at line 44 of file PViewDataRemote.h.

◆ getMin()

double PViewDataRemote::getMin ( int  step = -1,
bool  onlyVisible = false,
int  tensorRep = 0,
int  forceNumComponents = 0,
int  componentMap[9] = nullptr 
)
inlinevirtual

Implements PViewData.

Definition at line 39 of file PViewDataRemote.h.

◆ getNumElements()

int PViewDataRemote::getNumElements ( int  step = -1,
int  ent = -1 
)
inlinevirtual

Reimplemented from PViewData.

Definition at line 52 of file PViewDataRemote.h.

◆ getNumTimeSteps()

int PViewDataRemote::getNumTimeSteps ( )
inlinevirtual

Implements PViewData.

Definition at line 38 of file PViewDataRemote.h.

◆ getTime()

double PViewDataRemote::getTime ( int  step)
inlinevirtual

Reimplemented from PViewData.

Definition at line 50 of file PViewDataRemote.h.

◆ isRemote()

bool PViewDataRemote::isRemote ( )
inlinevirtual

Reimplemented from PViewData.

Definition at line 57 of file PViewDataRemote.h.

◆ setBoundingBox()

void PViewDataRemote::setBoundingBox ( SBoundingBox3d bbox)
inlinevirtual

Implements PViewData.

Definition at line 55 of file PViewDataRemote.h.

Referenced by PView::fillVertexArray().

Here is the caller graph for this function:

◆ setMax()

void PViewDataRemote::setMax ( double  max)
inlinevirtual

Implements PViewData.

Definition at line 54 of file PViewDataRemote.h.

Referenced by PView::fillVertexArray().

Here is the caller graph for this function:

◆ setMin()

void PViewDataRemote::setMin ( double  min)
inlinevirtual

Implements PViewData.

Definition at line 53 of file PViewDataRemote.h.

Referenced by PView::fillVertexArray().

Here is the caller graph for this function:

◆ setTime()

void PViewDataRemote::setTime ( double  time)
inline

Definition at line 56 of file PViewDataRemote.h.

Referenced by PView::fillVertexArray().

Here is the caller graph for this function:

Member Data Documentation

◆ _bbox

SBoundingBox3d PViewDataRemote::_bbox
private

Definition at line 23 of file PViewDataRemote.h.

Referenced by getBoundingBox(), and setBoundingBox().

◆ _max

double PViewDataRemote::_max
private

Definition at line 20 of file PViewDataRemote.h.

Referenced by getMax(), and setMax().

◆ _min

double PViewDataRemote::_min
private

Definition at line 20 of file PViewDataRemote.h.

Referenced by getMin(), and setMin().

◆ _numTimeSteps

int PViewDataRemote::_numTimeSteps
private

Definition at line 21 of file PViewDataRemote.h.

Referenced by getNumTimeSteps().

◆ _remote

onelab::localNetworkClient* PViewDataRemote::_remote
private

Definition at line 19 of file PViewDataRemote.h.

Referenced by fillRemoteVertexArrays().

◆ _time

double PViewDataRemote::_time
private

Definition at line 22 of file PViewDataRemote.h.

Referenced by getTime(), and setTime().


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