Functions
Test-syncTools.C File Reference

Test some functionality in syncTools. More...

Include dependency graph for Test-syncTools.C:

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[])
 

Detailed Description

Test some functionality in syncTools.

Original source file Test-syncTools.C

Definition in file Test-syncTools.C.

Function Documentation

◆ testPackedList()

void testPackedList ( const polyMesh mesh,
Random rndGen 
)

◆ testSparseData()

void testSparseData ( const polyMesh mesh,
Random rndGen 
)

◆ testPointSync()

void testPointSync ( const polyMesh mesh,
Random rndGen 
)

◆ testEdgeSync()

void testEdgeSync ( const polyMesh mesh,
Random rndGen 
)

◆ testFaceSync()

void testFaceSync ( const polyMesh mesh,
Random rndGen 
)

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ 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().

Here is the call graph for this function: