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

fix compile

parent 2fd4376e
No related branches found
No related tags found
No related merge requests found
...@@ -317,7 +317,7 @@ int GModel::getPhysicalNumber(const int &dim, const std::string & name) ...@@ -317,7 +317,7 @@ int GModel::getPhysicalNumber(const int &dim, const std::string & name)
for(piter physIt=firstPhysicalName();physIt !=lastPhysicalName();++physIt) for(piter physIt=firstPhysicalName();physIt !=lastPhysicalName();++physIt)
if(dim==physIt->first.first && name==physIt->second) if(dim==physIt->first.first && name==physIt->second)
return physIt->first.second; return physIt->first.second;
Msg::Warning("No physical group found with the name :",name); Msg::Warning("No physical group found with the name '%s'", name.c_str());
return -1; return -1;
} }
......
...@@ -63,7 +63,7 @@ void gmshLaplaceTerm::elementMatrix(MElement *e, gmshMatrix<double> &m) const ...@@ -63,7 +63,7 @@ void gmshLaplaceTerm::elementMatrix(MElement *e, gmshMatrix<double> &m) const
// printf("Sum LINE gmshLaplace Term NEG <0 %g %g %g\n", m(j,0),m(j,1),m(j,2)); // printf("Sum LINE gmshLaplace Term NEG <0 %g %g %g\n", m(j,0),m(j,1),m(j,2));
// for (int k = 0; k < nbNodes; k++) m(j,k) = -1.; // for (int k = 0; k < nbNodes; k++) m(j,k) = -1.;
// m(j,j) = (nbNodes-1); // m(j,j) = (nbNodes-1);
} // }
// else{ // else{
// printf("Sum POS\n"); // printf("Sum POS\n");
// } // }
...@@ -71,7 +71,7 @@ void gmshLaplaceTerm::elementMatrix(MElement *e, gmshMatrix<double> &m) const ...@@ -71,7 +71,7 @@ void gmshLaplaceTerm::elementMatrix(MElement *e, gmshMatrix<double> &m) const
// //printf("m(%d,%d)=%g ", j,k, m(j,k)); // //printf("m(%d,%d)=%g ", j,k, m(j,k));
// //} // //}
// //printf("\n"); // //printf("\n");
} // }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment