From ef0369fed25900b1029a39c3f95daaddd5c09036 Mon Sep 17 00:00:00 2001
From: Henry <Henry>
Date: Thu, 17 Jan 2013 10:17:14 +0000
Subject: [PATCH] Test-fvc: minor enhancement

---
 applications/test/fvc/Test-fvc.C | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/applications/test/fvc/Test-fvc.C b/applications/test/fvc/Test-fvc.C
index 9851a9c9c54..029b96ef173 100644
--- a/applications/test/fvc/Test-fvc.C
+++ b/applications/test/fvc/Test-fvc.C
@@ -35,17 +35,18 @@ Description
 
 int main(int argc, char *argv[])
 {
+    #include "setRootCase.H"
 
-#   include "setRootCase.H"
+    #include "createTime.H"
+    #include "createMesh.H"
 
-#   include "createTime.H"
-#   include "createMesh.H"
-
-    volScalarField fx(pow(mesh.C().component(vector::X), 2));
+    volScalarField fx(pow(mesh.C().component(vector::X), 1));
     fx.write();
     volScalarField gradx4(fvc::grad(fx)().component(vector::X));
     gradx4.write();
 
+    Info<< fvc::snGrad(fx) - (mesh.Sf()/mesh.magSf())().component(vector::X) << endl;
+
     //volVectorField curlC(fvc::curl(1.0*mesh.C()));
     //curlC.write();
 
-- 
GitLab