Skip to content

Commit

Permalink
Include pressure norms
Browse files Browse the repository at this point in the history
  • Loading branch information
jedbrown committed Apr 24, 2011
1 parent cbc6e45 commit e7b497e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/fs/tests/stokes.c
Original file line number Diff line number Diff line change
Expand Up @@ -1088,8 +1088,9 @@ int main(int argc,char *argv[])
err = VecNorm(r,NORM_INFINITY,&inorm[2]);dCHK(err);
err = dPrintf(comm,"Algebraic residual |x|_1 %8.2e |x|_2 %8.2e |x|_inf %8.2e\n",anorm[0],anorm[1],anorminf);dCHK(err);
err = dPrintf(comm,"Interpolation residual |x|_1 %8.2e |x|_2 %8.2e |x|_inf %8.2e\n",inorm[0],inorm[1],inorm[2]);dCHK(err);
err = dPrintf(comm,"Pointwise solution error |x|_1 %8.2e |x|_2 %8.2e |x|_inf %8.2e\n",enorm[0],enorm[1],enorm[2]);dCHK(err);
err = dPrintf(comm,"Pointwise velocity error |x|_1 %8.2e |x|_2 %8.2e |x|_inf %8.2e\n",enorm[0],enorm[1],enorm[2]);dCHK(err);
err = dPrintf(comm,"Pointwise gradient error |x|_1 %8.2e |x|_2 %8.2e |x|_inf %8.2e\n",gnorm[0],gnorm[1],gnorm[2]);dCHK(err);
err = dPrintf(comm,"Pointwise pressure error |x|_1 %8.2e |x|_2 %8.2e |x|_inf %8.2e\n",epnorm[0],epnorm[1],epnorm[2]);dCHK(err);
}
if (viewdhm) {
Vec Xu,Xp;
Expand Down

0 comments on commit e7b497e

Please sign in to comment.