diff --git a/Geo/GModel.cpp b/Geo/GModel.cpp index 525fc2edf89bbd77bdaf944db66a2db2fd7ee41d..7a7cef1ad0cc09c0398370ef604a0c27389b9ab7 100644 --- a/Geo/GModel.cpp +++ b/Geo/GModel.cpp @@ -317,7 +317,7 @@ int GModel::getPhysicalNumber(const int &dim, const std::string & name) for(piter physIt=firstPhysicalName();physIt !=lastPhysicalName();++physIt) if(dim==physIt->first.first && name==physIt->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; } diff --git a/Numeric/gmshLaplace.cpp b/Numeric/gmshLaplace.cpp index 28b06b0c54a4ee43c029c86d8b29c7f62380b2f3..f24075d7884ea51fa80fe8b59c70299c20793dcd 100644 --- a/Numeric/gmshLaplace.cpp +++ b/Numeric/gmshLaplace.cpp @@ -52,9 +52,9 @@ void gmshLaplaceTerm::elementMatrix(MElement *e, gmshMatrix<double> &m) const for (int j = 0; j < nbNodes; j++) for (int k = 0; k < j; k++) - m(k, j) = m(j, k); - - + m(k, j) = m(j, k); + + //check for positive scheme // //printf("ELEM\n"); // for (int j = 0; j < nbNodes; j++){ @@ -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)); // for (int k = 0; k < nbNodes; k++) m(j,k) = -1.; // m(j,j) = (nbNodes-1); - } + // } // else{ // printf("Sum POS\n"); // } @@ -71,7 +71,7 @@ void gmshLaplaceTerm::elementMatrix(MElement *e, gmshMatrix<double> &m) const // //printf("m(%d,%d)=%g ", j,k, m(j,k)); // //} // //printf("\n"); - } +// } }