Test some functionality in syncTools. More...
Go to the source code of this file.
Functions | |
void | testPackedList (const polyMesh &mesh, Random &rndGen) |
void | testSparseData (const polyMesh &mesh, Random &rndGen) |
void | testPointSync (const polyMesh &mesh, Random &rndGen) |
void | testEdgeSync (const polyMesh &mesh, Random &rndGen) |
void | testFaceSync (const polyMesh &mesh, Random &rndGen) |
int | main (int argc, char *argv[]) |
Test some functionality in syncTools.
Original source file Test-syncTools.C
Definition in file Test-syncTools.C.
Definition at line 40 of file Test-syncTools.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, PackedList::get(), Foam::Info, mesh, primitiveMesh::nEdges(), primitiveMesh::nFaces(), Foam::nl, primitiveMesh::nPoints(), polyMesh::points(), rndGen(), PackedList::set(), syncTools::syncEdgeList(), syncTools::syncFaceList(), and syncTools::syncPointList().
Referenced by main().
Definition at line 182 of file Test-syncTools.C.
References Foam::e, PrimitivePatch< Face, FaceList, PointField, PointType >::edges(), primitiveMesh::edges(), Foam::endl(), Foam::exit(), polyMesh::faces(), Foam::FatalError, FatalErrorInFunction, HashTable< T, edge, Hash< edge > >::find(), forAll, forAllConstIter(), Foam::Info, HashTable< T, edge, Hash< edge > >::insert(), PrimitivePatch< Face, FaceList, PointField, PointType >::localPoints(), mesh, PrimitivePatch< Face, FaceList, PointField, PointType >::meshEdges(), PrimitivePatch< Face, FaceList, PointField, PointType >::meshPoints(), primitiveMesh::nEdges(), primitiveMesh::nFaces(), primitiveMesh::nInternalFaces(), Foam::nl, primitiveMesh::nPoints(), primitiveMesh::pointEdges(), polyMesh::points(), rndGen(), syncTools::syncEdgeList(), syncTools::syncEdgeMap(), syncTools::syncPointList(), syncTools::syncPointMap(), and WarningInFunction.
Referenced by main().
Definition at line 371 of file Test-syncTools.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, syncTools::getMasterPoints(), Foam::Info, Foam::mag(), mesh, Foam::nl, primitiveMesh::nPoints(), polyMesh::points(), syncTools::syncPointList(), syncTools::syncPointPositions(), and WarningInFunction.
Referenced by main().
Definition at line 439 of file Test-syncTools.C.
References Foam::e, primitiveMesh::edges(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, syncTools::getMasterEdges(), Foam::Info, Foam::mag(), mesh, Foam::nl, polyMesh::points(), List::size(), syncTools::syncEdgeList(), syncTools::syncEdgePositions(), and WarningInFunction.
Referenced by main().
Definition at line 516 of file Test-syncTools.C.
References Foam::endl(), Foam::exit(), primitiveMesh::faceCentres(), Foam::FatalError, FatalErrorInFunction, forAll, syncTools::getMasterFaces(), Foam::Info, Foam::mag(), mesh, primitiveMesh::nFaces(), Foam::nl, syncTools::syncFaceList(), and syncTools::syncFacePositions().
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 585 of file Test-syncTools.C.
References Foam::endl(), Foam::Info, mesh, UPstream::myProcNo(), rndGen(), testEdgeSync(), testFaceSync(), testPackedList(), testPointSync(), and testSparseData().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.