Skip to content
Snippets Groups Projects
Commit 2fd4376e authored by Jean-François Remacle's avatar Jean-François Remacle
Browse files

*** empty log message ***

parent fee07df2
No related branches found
No related tags found
No related merge requests found
...@@ -57,10 +57,10 @@ void gmshLaplaceTerm::elementMatrix(MElement *e, gmshMatrix<double> &m) const ...@@ -57,10 +57,10 @@ void gmshLaplaceTerm::elementMatrix(MElement *e, gmshMatrix<double> &m) const
//check for positive scheme //check for positive scheme
// //printf("ELEM\n"); // //printf("ELEM\n");
for (int j = 0; j < nbNodes; j++){ // for (int j = 0; j < nbNodes; j++){
double sum = m(j,0)+m(j,1)+m(j,2); // double sum = m(j,0)+m(j,1)+m(j,2);
if (sum < 0.0){ // if (sum < 0.0){
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);
} }
......
Mesh.CharacteristicLengthFactor=0.01; Mesh.CharacteristicLengthFactor=0.03;
Merge "PelvisHEMI_CLASS.msh"; Merge "PelvisHEMI_CLASS.msh";
CreateTopology; CreateTopology;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment