diff --git a/applications/test/HashTable2/Test-HashTable2.C b/applications/test/HashTable2/Test-HashTable2.C index 8d6e110fadbefd4dc36d147f57245202c3da9d70..0bad52fa61c347387e8896659bb181c38fe97e8f 100644 --- a/applications/test/HashTable2/Test-HashTable2.C +++ b/applications/test/HashTable2/Test-HashTable2.C @@ -74,7 +74,7 @@ int main(int argc, char *argv[]) << "toc: " << table4.toc() << endl; HashPtrTable<label, Foam::string> ptable1(0); - ptable1.insert("kjhkjh", new label(10)); + ptable1.insert("kjhkjh", autoPtr<label>::New(10)); Info<< "PtrTable toc: " << ptable1.toc() << endl; diff --git a/applications/test/PackedList/Test-PackedList.C b/applications/test/PackedList/Test-PackedList.C index 0b82de459156184e5f318eeadd095b76d086c66e..f8a314923a1d7b561efe237b690681e53e6a45f7 100644 --- a/applications/test/PackedList/Test-PackedList.C +++ b/applications/test/PackedList/Test-PackedList.C @@ -151,7 +151,7 @@ int main(int argc, char *argv[]) if (args.found("info")) { - packLst.printInfo(Info); + Info<< packLst.info(); } Info<< nl; diff --git a/applications/test/PackedList1/Test-PackedList1.C b/applications/test/PackedList1/Test-PackedList1.C index 53bfcb0b79b9c43966ed821fc1e527be63c18912..9d72454728737f5b497f999c667178795b2daa68 100644 --- a/applications/test/PackedList1/Test-PackedList1.C +++ b/applications/test/PackedList1/Test-PackedList1.C @@ -185,13 +185,13 @@ int main(int argc, char *argv[]) list1.resize(8, list1.max_value); report(list1); - Info<< "\ntest flip() function\n"; - list1.flip(); - report(list1); + //Info<< "\ntest flip() function\n"; + //list1.flip(); + //report(list1); - Info<< "\nre-flip()\n"; - list1.flip(); - report(list1); + //Info<< "\nre-flip()\n"; + //list1.flip(); + //report(list1); Info<< "\ntest set() function\n"; list1.set(1, 5); diff --git a/applications/test/PatchEdgeFaceWave/Test-PatchEdgeFaceWave.C b/applications/test/PatchEdgeFaceWave/Test-PatchEdgeFaceWave.C index 1438e3b32cf9362dbfcc04f9bb8319f6c00673b9..03033e42102ecaa36978a4d22dcf0ac2e8f0ea5f 100644 --- a/applications/test/PatchEdgeFaceWave/Test-PatchEdgeFaceWave.C +++ b/applications/test/PatchEdgeFaceWave/Test-PatchEdgeFaceWave.C @@ -29,10 +29,10 @@ Description #include "argList.H" #include "Time.H" #include "fvMesh.H" -#include "volFields.H" #include "PatchEdgeFaceWave.H" #include "patchEdgeFaceInfo.H" #include "patchPatchDist.H" +#include "fvCFD.H" using namespace Foam; diff --git a/applications/test/PatchTools/Test-PatchTools.C b/applications/test/PatchTools/Test-PatchTools.C index adab0d98bbf647a80a8be27fa8aebceda56cc3af..6da444cbe41bf07c2b791f6e7d04881ace0fe029 100644 --- a/applications/test/PatchTools/Test-PatchTools.C +++ b/applications/test/PatchTools/Test-PatchTools.C @@ -205,7 +205,7 @@ int main(int argc, char *argv[]) #include "setRootCase.H" #include "createTime.H" - #include "createMesh.H" + #include "createPolyMesh.H" const word patchName = args[1]; label patchi = mesh.boundaryMesh().findPatchID(patchName); diff --git a/applications/test/extendedStencil/Test-ExtendedStencil.C b/applications/test/extendedStencil/Test-ExtendedStencil.C index 6374014b9ecf69cd602407e47a59e197d738b9c2..ddb0a421df44201034838456f01a8403890f192a 100644 --- a/applications/test/extendedStencil/Test-ExtendedStencil.C +++ b/applications/test/extendedStencil/Test-ExtendedStencil.C @@ -33,7 +33,7 @@ Description #include "fvMesh.H" #include "volFields.H" #include "Time.H" -//#include "mapDistribute.H" +#include "fvCFD.H" #include "OFstream.H" #include "meshTools.H" //#include "FECCellToFaceStencil.H" diff --git a/applications/test/fieldDependency/Make/options b/applications/test/fieldDependency/Make/options index fa15f124528ebfcaf279a88a73a0d7954f2e9dc1..b733f6ac04019776e5ae1378c65835fcd6209972 100644 --- a/applications/test/fieldDependency/Make/options +++ b/applications/test/fieldDependency/Make/options @@ -1,5 +1,6 @@ EXE_INC = \ - -I$(LIB_SRC)/finiteVolume/lnInclude + -I$(LIB_SRC)/finiteVolume/lnInclude \ + -I$(LIB_SRC)/meshTools/lnInclude EXE_LIBS = \ -lfiniteVolume diff --git a/applications/test/fieldDependency/Test-fieldDependency.C b/applications/test/fieldDependency/Test-fieldDependency.C index 17364b702624decdb8d3d5a0c8851c4c3be8edd2..ff744dbf215f9114176f38b65788e0535834ca6a 100644 --- a/applications/test/fieldDependency/Test-fieldDependency.C +++ b/applications/test/fieldDependency/Test-fieldDependency.C @@ -29,6 +29,7 @@ Description #include "argList.H" #include "Time.H" #include "volFields.H" +#include "fvCFD.H" using namespace Foam; diff --git a/applications/test/fieldMapping/Test-fieldMapping.C b/applications/test/fieldMapping/Test-fieldMapping.C index d71461662376702baa5aa20b95efef2fffcc0486..0ea8147e8c1af1963bc597ac312cfbd94b8e0924 100644 --- a/applications/test/fieldMapping/Test-fieldMapping.C +++ b/applications/test/fieldMapping/Test-fieldMapping.C @@ -38,7 +38,7 @@ Description #include "removeFaces.H" #include "mapPolyMesh.H" #include "polyTopoChange.H" -#include "fvcDiv.H" +#include "fvCFD.H" #include "zeroGradientFvPatchFields.H" #include "Random.H" diff --git a/applications/test/findCell-octree/Test-findCell-octree.C b/applications/test/findCell-octree/Test-findCell-octree.C index de15a98aac9dece453ccecc829bb2e608ebcdc22..71c9ff270fc03294902d65eebc83f4a2db334ed4 100644 --- a/applications/test/findCell-octree/Test-findCell-octree.C +++ b/applications/test/findCell-octree/Test-findCell-octree.C @@ -29,6 +29,7 @@ License #include "indexedOctree.H" #include "treeDataCell.H" #include "OFstream.H" +#include "fvCFD.H" using namespace Foam; diff --git a/applications/test/findSphereFeatureEdges-octree/Test-findSphereFeatureEdges-octree.C b/applications/test/findSphereFeatureEdges-octree/Test-findSphereFeatureEdges-octree.C index f616b3a48cd9d2f0521d50900cb3f6e421ff93dc..a189a204535d41b29edd74edf2e17abf200ad78c 100644 --- a/applications/test/findSphereFeatureEdges-octree/Test-findSphereFeatureEdges-octree.C +++ b/applications/test/findSphereFeatureEdges-octree/Test-findSphereFeatureEdges-octree.C @@ -30,6 +30,7 @@ License #include "treeDataEdge.H" #include "OFstream.H" #include "extendedFeatureEdgeMesh.H" +#include "fvCFD.H" using namespace Foam; diff --git a/applications/test/graph/Test-graph.C b/applications/test/graph/Test-graph.C index ba9ce9e5becbc94a71be457a067f0d15b295b8a6..5cfea035a4a81321c46121e8e50605c95916c9a7 100644 --- a/applications/test/graph/Test-graph.C +++ b/applications/test/graph/Test-graph.C @@ -55,11 +55,13 @@ int main() graph phi("@f! (R = 5)", "@a!", "@f!", alpha); phi.insert ( - "@f!&e!", new curve("@f!&e!", curve::curveStyle::CONTINUOUS, phie) + "@f!&e!", + autoPtr<curve>::New("@f!&e!", curve::curveStyle::CONTINUOUS, phie) ); phi.insert ( - "@f!&c!", new curve("@f!&c!", curve::curveStyle::CONTINUOUS, phic) + "@f!&c!", + autoPtr<curve>::New("@f!&c!", curve::curveStyle::CONTINUOUS, phic) ); phi.write("phi", "xmgr"); diff --git a/applications/test/hexRef8/Test-hexRef8.C b/applications/test/hexRef8/Test-hexRef8.C index 0b606525d14db85e95b4442a800e8ebd6234074f..a9459148a7455cf64b6e830e9df1e02b8a0ab324 100644 --- a/applications/test/hexRef8/Test-hexRef8.C +++ b/applications/test/hexRef8/Test-hexRef8.C @@ -42,7 +42,7 @@ Description #include "zeroGradientFvPatchFields.H" #include "calculatedPointPatchFields.H" #include "pointConstraints.H" -#include "fvcDiv.H" +#include "fvCFD.H" using namespace Foam; diff --git a/applications/test/mapDistributePolyMesh/Test-mapDistributePolyMesh.C b/applications/test/mapDistributePolyMesh/Test-mapDistributePolyMesh.C index a52f312b2c694081b665ee312e8fff215cff596f..4d14ce9bd6f989e5b1fa76d4185da8daa23bbd53 100644 --- a/applications/test/mapDistributePolyMesh/Test-mapDistributePolyMesh.C +++ b/applications/test/mapDistributePolyMesh/Test-mapDistributePolyMesh.C @@ -43,7 +43,7 @@ int main(int argc, char *argv[]) { #include "setRootCase.H" #include "createTime.H" - #include "createMesh.H" + #include "createPolyMesh.H" Info<< "Reading distribute map\n" << endl; diff --git a/applications/test/mappedPatch/Test-MappedPatch.C b/applications/test/mappedPatch/Test-MappedPatch.C index 06577292261a52f203bd76810498c06ae99d7f0b..0e67afd525d0c746db0dc6704e3010bf3d6dc79d 100644 --- a/applications/test/mappedPatch/Test-MappedPatch.C +++ b/applications/test/mappedPatch/Test-MappedPatch.C @@ -38,6 +38,7 @@ Description #include "OFstream.H" #include "mappedPolyPatch.H" #include "mappedFixedValueFvPatchFields.H" +#include "fvCFD.H" using namespace Foam; diff --git a/applications/test/router/Test-processorRouter.C b/applications/test/router/Test-processorRouter.C index 4f47c80b63dac78800ba08312cd1805aeff79dc8..bb9fa0a95ac6db7d7af4f381ac75be3294764c2a 100644 --- a/applications/test/router/Test-processorRouter.C +++ b/applications/test/router/Test-processorRouter.C @@ -94,7 +94,7 @@ int main(int argc, char *argv[]) { #include "setRootCase.H" #include "createTime.H" - #include "createMesh.H" + #include "createPolyMesh.H" word procLabel = '[' + word(name(Pstream::myProcNo())) + "]-"; diff --git a/applications/test/syncTools/Test-syncTools.C b/applications/test/syncTools/Test-syncTools.C index 718063dfd7ec3e6527deaea88e1f34883047dde7..5dfef2fcf2d74cf894f5506511c58b7b0b1ce254 100644 --- a/applications/test/syncTools/Test-syncTools.C +++ b/applications/test/syncTools/Test-syncTools.C @@ -412,7 +412,7 @@ void testPointSync(const polyMesh& mesh, Random& rndGen) { if (isMasterPoint.test(pointi)) { - nMasters.set(pointi); + nMasters[pointi] = 1; } } @@ -488,7 +488,7 @@ void testEdgeSync(const polyMesh& mesh, Random& rndGen) { if (isMasterEdge.test(edgeI)) { - nMasters.set(edgeI); + nMasters[edgeI] = 1; } } @@ -551,13 +551,13 @@ void testFaceSync(const polyMesh& mesh, Random& rndGen) { labelList nMasters(mesh.nFaces(), 0); - Bitset isMasterFace(syncTools::getMasterFaces(mesh)); + bitSet isMasterFace(syncTools::getMasterFaces(mesh)); forAll(isMasterFace, facei) { if (isMasterFace.test(facei)) { - nMasters.set(facei); + nMasters[facei] = 1; } } diff --git a/applications/test/wallDist/Test-wallDist.C b/applications/test/wallDist/Test-wallDist.C index d25bffc0068a951550c71b00a73dc47a2e62442c..831c3120051024fc87e1b6414e8a4abbde0d4299 100644 --- a/applications/test/wallDist/Test-wallDist.C +++ b/applications/test/wallDist/Test-wallDist.C @@ -30,6 +30,7 @@ Description #include "Time.H" #include "fvMesh.H" #include "wallDist.H" +#include "fvCFD.H" using namespace Foam;