diff --git a/applications/test/pointField/Test-PointField.C b/applications/test/pointField/Test-PointField.C index 2665d4b515..e98511cb00 100644 --- a/applications/test/pointField/Test-PointField.C +++ b/applications/test/pointField/Test-PointField.C @@ -39,7 +39,6 @@ Description int main(int argc, char *argv[]) { - #include "setRootCase.H" #include "createTime.H" @@ -47,11 +46,42 @@ int main(int argc, char *argv[]) const pointMesh& pMesh = pointMesh::New(mesh); + #if 1 + pointLabelField state + ( + IOobject + ( + "test-state", + runTime.timeName(), + mesh, + IOobject::MUST_READ, + IOobject::AUTO_WRITE + ), + pMesh + ); + #else + pointLabelField state + ( + IOobject + ( + "test-state", + runTime.timeName(), + mesh, + IOobject::NO_READ, + IOobject::AUTO_WRITE + ), + pMesh, + dimensioned