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

don't try to get polynomial space for pyramids!

parent 10eecc2d
No related branches found
No related tags found
No related merge requests found
...@@ -168,7 +168,7 @@ bool PViewDataGModel::finalize(bool computeMinMax, const std::string &interpolat ...@@ -168,7 +168,7 @@ bool PViewDataGModel::finalize(bool computeMinMax, const std::string &interpolat
// type, assume isoparametric elements (except for ElementData, // type, assume isoparametric elements (except for ElementData,
// for which we know the interpolation: it's constant) // for which we know the interpolation: it's constant)
int types[] = {TYPE_PNT, TYPE_LIN, TYPE_TRI, TYPE_QUA, TYPE_TET, TYPE_HEX, int types[] = {TYPE_PNT, TYPE_LIN, TYPE_TRI, TYPE_QUA, TYPE_TET, TYPE_HEX,
TYPE_PRI, TYPE_PYR, TYPE_POLYG, TYPE_POLYH}; TYPE_PRI, /*TYPE_PYR - Not polynomial!,*/ TYPE_POLYG, TYPE_POLYH};
for(unsigned int i = 0; i < sizeof(types) / sizeof(types[0]); i++){ for(unsigned int i = 0; i < sizeof(types) / sizeof(types[0]); i++){
if(!haveInterpolationMatrices(types[i])){ if(!haveInterpolationMatrices(types[i])){
MElement *e = _getOneElementOfGivenType(model, types[i]); MElement *e = _getOneElementOfGivenType(model, types[i]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment