Skip to content
Snippets Groups Projects
Commit 0ce37fee authored by LABOURASSE Emmanuel 204472's avatar LABOURASSE Emmanuel 204472
Browse files

correction de la formule de moyenne de u

parent 64317578
No related branches found
No related tags found
No related merge requests found
...@@ -167,8 +167,8 @@ private: ...@@ -167,8 +167,8 @@ private:
double sum2 = 0.; double sum2 = 0.;
for (int j=0; j<face_nb_cells(l); ++j) { for (int j=0; j<face_nb_cells(l); ++j) {
int cell_here = face_cells(l,j); int cell_here = face_cells(l,j);
sum += Vj(cell_here)*uj(cell_here); sum += (1./Vj(cell_here))*uj(cell_here);
sum2 += Vj(cell_here); sum2 += 1./Vj(cell_here);
} }
//m_Gl(l) = (1./face_nb_cells(l))*Fl(l)*sum; //m_Gl(l) = (1./face_nb_cells(l))*Fl(l)*sum;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment