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

*** empty log message ***

parent 83a8e0d0
No related branches found
No related tags found
No related merge requests found
// $Id: PViewDataGModelIO.cpp,v 1.30 2008-03-31 21:12:41 geuzaine Exp $
// $Id: PViewDataGModelIO.cpp,v 1.31 2008-03-31 21:17:37 geuzaine Exp $
//
// Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle
//
......@@ -273,8 +273,9 @@ bool PViewDataGModel::readMED(std::string fileName, int fileIndex)
return false;
}
// read Gauss point data
if(ngauss != MED_NOPG){
// read Gauss point data (if locname is MED_GAUSS_ELNO, the
// points are the element vertices)
if(ngauss != MED_NOPG && std::string(locname) != MED_GAUSS_ELNO){
std::vector<med_float> refcoo((ele % 100) * (ele / 100));
std::vector<med_float> gscoo(ngauss * ele / 100);
std::vector<med_float> wg(ngauss);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment