diff --git a/Post/PViewDataGModel.cpp b/Post/PViewDataGModel.cpp index 3b04b77ebadb25747c8ec9674af4b24023eaa47a..d88ff23ff2e97e25038aa3e814e0ec573a316715 100644 --- a/Post/PViewDataGModel.cpp +++ b/Post/PViewDataGModel.cpp @@ -73,8 +73,12 @@ bool PViewDataGModel::finalize(bool computeMinMax, const std::string &interpolat Msg::Error("Could not find interpolation scheme '%s'", interpolationScheme.c_str()); for(interpolationMatrices::iterator it = m.begin(); it != m.end(); it++){ - if(it->second.size() == 2) + if(it->second.size() == 2){ setInterpolationMatrices(it->first, *(it->second[0]), *(it->second[1])); + // we should maybe automatically add the geometrical + // interpolation matrices here (if geometrically the elements + // are of order > 1) + } else if(it->second.size() == 4) setInterpolationMatrices(it->first, *it->second[0], *it->second[1], *it->second[2], *it->second[3]);