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

_getRawData returns ele type

parent 5988bc6d
No related branches found
No related tags found
No related merge requests found
...@@ -740,7 +740,7 @@ bool PViewDataList::combineTime(nameData &nd) ...@@ -740,7 +740,7 @@ bool PViewDataList::combineTime(nameData &nd)
return finalize(); return finalize();
} }
void PViewDataList::_getRawData(int idxtype, std::vector<double> **l, int **ne, int PViewDataList::_getRawData(int idxtype, std::vector<double> **l, int **ne,
int *nc, int *nn) int *nc, int *nn)
{ {
int type = 0; int type = 0;
...@@ -777,6 +777,7 @@ void PViewDataList::_getRawData(int idxtype, std::vector<double> **l, int **ne, ...@@ -777,6 +777,7 @@ void PViewDataList::_getRawData(int idxtype, std::vector<double> **l, int **ne,
int nim = getInterpolationMatrices(type, im); int nim = getInterpolationMatrices(type, im);
if(nim == 4) *nn = im[2]->size1(); if(nim == 4) *nn = im[2]->size1();
} }
return type;
} }
void PViewDataList::setOrder2(int type) void PViewDataList::setOrder2(int type)
......
...@@ -54,7 +54,7 @@ class PViewDataList : public PViewData { ...@@ -54,7 +54,7 @@ class PViewDataList : public PViewData {
std::vector<double> &list, int nblist); std::vector<double> &list, int nblist);
void _getString(int dim, int i, int timestep, std::string &str, void _getString(int dim, int i, int timestep, std::string &str,
double &x, double &y, double &z, double &style); double &x, double &y, double &z, double &style);
void _getRawData(int idxtype, std::vector<double> **l, int **ne, int *nc, int *nn); int _getRawData(int idxtype, std::vector<double> **l, int **ne, int *nc, int *nn);
public: public:
PViewDataList(); PViewDataList();
~PViewDataList(){} ~PViewDataList(){}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment