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

comment

parent 9643c2ed
No related branches found
No related tags found
No related merge requests found
...@@ -73,8 +73,12 @@ bool PViewDataGModel::finalize(bool computeMinMax, const std::string &interpolat ...@@ -73,8 +73,12 @@ bool PViewDataGModel::finalize(bool computeMinMax, const std::string &interpolat
Msg::Error("Could not find interpolation scheme '%s'", Msg::Error("Could not find interpolation scheme '%s'",
interpolationScheme.c_str()); interpolationScheme.c_str());
for(interpolationMatrices::iterator it = m.begin(); it != m.end(); it++){ 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])); 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) else if(it->second.size() == 4)
setInterpolationMatrices(it->first, *it->second[0], *it->second[1], setInterpolationMatrices(it->first, *it->second[0], *it->second[1],
*it->second[2], *it->second[3]); *it->second[2], *it->second[3]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment