gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
Go to the documentation of this file.
7 #ifndef PVIEW_DATA_LIST_H
8 #define PVIEW_DATA_LIST_H
62 void _stat(std::vector<double> &
D, std::vector<char> &C,
int nb);
63 void _stat(std::vector<double> &list,
int nbcomp,
int nbelm,
int nbnod,
66 void _setLast(
int ele,
int dim,
int nbnod,
int nbcomp,
int nbedg,
int type,
67 std::vector<double> &list,
int nblist);
68 void _getString(
int dim,
int i,
int timestep, std::string &str,
double &x,
69 double &y,
double &
z,
double &style);
70 int _getRawData(
int idxtype, std::vector<double> **l,
int **ne,
int *nc,
77 bool finalize(
bool computeMinMax =
true,
78 const std::string &interpolationScheme =
"");
81 double getMin(
int step = -1,
bool onlyVisible =
false,
int tensorRep = 0,
82 int forceNumComponents = 0,
int componentMap[9] =
nullptr);
83 double getMax(
int step = -1,
bool onlyVisible =
false,
int tensorRep = 0,
84 int forceNumComponents = 0,
int componentMap[9] =
nullptr);
107 int getNode(
int step,
int ent,
int ele,
int nod,
double &x,
double &y,
109 void setNode(
int step,
int ent,
int ele,
int nod,
double x,
double y,
113 void getValue(
int step,
int ent,
int ele,
int idx,
double &val);
114 void getValue(
int step,
int ent,
int ele,
int nod,
int comp,
double &val);
115 void setValue(
int step,
int ent,
int ele,
int nod,
int comp,
double val);
117 int getType(
int step,
int ent,
int ele);
120 void getString2D(
int i,
int step, std::string &str,
double &x,
double &y,
122 void getString3D(
int i,
int step, std::string &str,
double &x,
double &y,
123 double &
z,
double &style);
128 void setXY(std::vector<double> &x, std::vector<double> &y);
129 void setXYZV(std::vector<double> &x, std::vector<double> &y,
130 std::vector<double> &
z, std::vector<double> &v);
131 void addStep(std::vector<double> &y);
137 std::vector<double> *
incrementList(
int numComp,
int type,
int numNodes = 0);
140 bool readPOS(FILE *fp,
double version,
bool binary);
141 bool writePOS(
const std::string &fileName,
bool binary =
false,
142 bool parsed =
true,
bool append =
false);
143 virtual bool writeMSH(
const std::string &fileName,
double version = 2.2,
144 bool binary =
false,
bool savemesh =
true,
145 bool multipleView =
false,
int partitionNum = -1,
146 bool saveInterpolationMatrices =
true,
147 bool forceNodeData =
false,
148 bool forceElementData =
false);
149 virtual void importLists(
int N[24], std::vector<double> *V[24]);
151 void importList(
int index,
int n,
const std::vector<double> &v,
int getNumEntities(int step=-1)
virtual void getListPointers(int N[24], std::vector< double > *V[24])
void importList(int index, int n, const std::vector< double > &v, bool finalize)
int getNumPolyhedra(int step=-1)
void reverseElement(int step, int ent, int ele)
int getNumTensors(int step=-1)
int getNumQuadrangles(int step=-1)
int getNumNodes(int step, int ent, int ele)
std::vector< int > polyNumNodes[2]
std::vector< double > T3D
int _getRawData(int idxtype, std::vector< double > **l, int **ne, int *nc, int *nn)
std::vector< double > TimeStepMin
std::vector< double > * incrementList(int numComp, int type, int numNodes=0)
int getNumPoints(int step=-1)
int getDimension(int step, int ent, int ele)
int getNumLines(int step=-1)
int getNumTetrahedra(int step=-1)
void setBoundingBox(SBoundingBox3d &box)
int getType(int step, int ent, int ele)
int getNumPolygons(int step=-1)
std::vector< double > TimeStepMax
virtual void importLists(int N[24], std::vector< double > *V[24])
double getMax(int step=-1, bool onlyVisible=false, int tensorRep=0, int forceNumComponents=0, int componentMap[9]=nullptr)
void getString2D(int i, int step, std::string &str, double &x, double &y, double &style)
std::vector< int > polyAgNumNodes[2]
void addStep(std::vector< double > &y)
bool readPOS(FILE *fp, double version, bool binary)
double getMin(int step=-1, bool onlyVisible=false, int tensorRep=0, int forceNumComponents=0, int componentMap[9]=nullptr)
int getNumHexahedra(int step=-1)
void setValue(int step, int ent, int ele, int nod, int comp, double val)
SBoundingBox3d getBoundingBox(int step=-1)
int getNumScalars(int step=-1)
int getNumPyramids(int step=-1)
void getString3D(int i, int step, std::string &str, double &x, double &y, double &z, double &style)
int getNumVectors(int step=-1)
void _stat(std::vector< double > &D, std::vector< char > &C, int nb)
bool finalize(bool computeMinMax=true, const std::string &interpolationScheme="")
int getNumComponents(int step, int ent, int ele)
int getNumPrisms(int step=-1)
void _getString(int dim, int i, int timestep, std::string &str, double &x, double &y, double &z, double &style)
int getNumElements(int step=-1, int ent=-1)
void setXY(std::vector< double > &x, std::vector< double > &y)
int getNumTrihedra(int step=-1)
void setNode(int step, int ent, int ele, int nod, double x, double y, double z)
std::vector< double > T2D
PViewDataList(bool isAdapted=false)
int getNumValues(int step, int ent, int ele)
std::vector< double > Time
void getValue(int step, int ent, int ele, int idx, double &val)
void setXYZV(std::vector< double > &x, std::vector< double > &y, std::vector< double > &z, std::vector< double > &v)
int getNumTriangles(int step=-1)
int getNode(int step, int ent, int ele, int nod, double &x, double &y, double &z)
int getNumEdges(int step, int ent, int ele)
bool combineTime(nameData &nd)
bool writePOS(const std::string &fileName, bool binary=false, bool parsed=true, bool append=false)
bool combineSpace(nameData &nd)
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)