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

No commit message

No commit message
parent 12912d3a
No related branches found
No related tags found
No related merge requests found
...@@ -355,7 +355,7 @@ double GRegion::computeSolidProperties (std::vector<double> cg, ...@@ -355,7 +355,7 @@ double GRegion::computeSolidProperties (std::vector<double> cg,
inertia[5] = 0.0; inertia[5] = 0.0;
for ( ; it != l_faces.end(); ++it,++itdir){ for ( ; it != l_faces.end(); ++it,++itdir){
for (int i=0;i<(*it)->getNumMeshElements();++i){ for (unsigned int i = 0; i < (*it)->getNumMeshElements(); ++i){
MElement *e = (*it)->getMeshElement(i); MElement *e = (*it)->getMeshElement(i);
int npt; int npt;
IntPt *pts; IntPt *pts;
...@@ -381,9 +381,8 @@ double GRegion::computeSolidProperties (std::vector<double> cg, ...@@ -381,9 +381,8 @@ double GRegion::computeSolidProperties (std::vector<double> cg,
return volume; return volume;
} }
void GRegion::addPrism(MPrism *p)
{
void GRegion::addPrism(MPrism *p) {
prisms.push_back(p); prisms.push_back(p);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment