From ff48aee1da9f30b12eb4a82b8a3675f5ccd7883b Mon Sep 17 00:00:00 2001 From: James E McClure Date: Tue, 11 Sep 2018 20:51:48 -0400 Subject: [PATCH] addeed mena curvature to test --- tests/TestSphereCurvature.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/TestSphereCurvature.cpp b/tests/TestSphereCurvature.cpp index b9cd40a8..59daf4cb 100644 --- a/tests/TestSphereCurvature.cpp +++ b/tests/TestSphereCurvature.cpp @@ -58,6 +58,7 @@ int main(int argc, char **argv) sphere.ComputeScalar(Phase,0.f); printf("Surface area = %f (analytical = %f) \n", sphere.Ai,4*3.14159*0.3*0.3*double(Nx*Nx)); + printf("Mean curvature = %f (analytical = %f) \n", sphere.Ji/sphere.Ai,2.f/(0.3*double(Nx))); printf("Euler characteristic = %f (analytical = 2.0) \n",sphere.Xi);