Skip to content
Snippets Groups Projects
Commit 6e40cab6 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

pp

parent 162284b2
No related branches found
No related tags found
No related merge requests found
......@@ -241,8 +241,8 @@ class PViewDataGModel : public PViewData {
int fileIndex, FILE *fp, bool binary, bool swap, int step,
double time, int partition, int numComp, int numNodes,
const std::string &interpolationScheme);
virtual bool writeMSH(const std::string &fileName, double version=2.2, bool binary=false, bool savemesh=true,
bool multipleView=false);
virtual bool writeMSH(const std::string &fileName, double version=2.2, bool binary=false,
bool savemesh=true, bool multipleView=false);
bool readMED(const std::string &fileName, int fileIndex);
bool writeMED(const std::string &fileName);
};
......
......@@ -830,7 +830,7 @@ int PViewDataList::_getRawData(int idxtype, std::vector<double> **l, int **ne,
int type = 0;
// No constant nn for polygons!
if(idxtype > 23 && idxtype < 30)
Msg::Warning("No constant number of nodes for polygons and polyhedra.");
Msg::Warning("No constant number of nodes for polygons and polyhedra");
switch(idxtype){
case 0 : *l = &SP; *ne = &NbSP; *nc = 1; *nn = 1; type = TYPE_PNT; break;
case 1 : *l = &VP; *ne = &NbVP; *nc = 3; *nn = 1; type = TYPE_PNT; break;
......@@ -887,7 +887,8 @@ void PViewDataList::setOrder2(int type)
}
const polynomialBasis *fs = (polynomialBasis*)BasisFactory::create(typeMSH);
if(!fs){
Msg::Error("Could not find polynomial function space for element type %d", typeMSH);
Msg::Error("Could not find polynomial function space for element type %d",
typeMSH);
return;
}
setInterpolationMatrices(type, fs->coefficients, fs->monomials,
......
......@@ -24,8 +24,8 @@ class PViewDataRemote : public PViewData {
double _time;
SBoundingBox3d _bbox;
public:
PViewDataRemote(onelab::localNetworkClient *remote, double min, double max, int numsteps,
double time, SBoundingBox3d &bbox)
PViewDataRemote(onelab::localNetworkClient *remote, double min, double max,
int numsteps, double time, SBoundingBox3d &bbox)
: _remote(remote), _min(min), _max(max), _numTimeSteps(numsteps),
_time(time), _bbox(bbox) {}
~PViewDataRemote(){}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment