Typedefs | Functions
Test-PrimitivePatch.C File Reference

Test new primitive patches. More...

Include dependency graph for Test-PrimitivePatch.C:

Go to the source code of this file.

Typedefs

typedef PrimitivePatch< face, List, const pointField & > myPrimitivePatch
 

Functions

void writeObj (Ostream &os, const pointField &points)
 
void checkFaceEdges (const faceList &localFaces, const edgeList &edges, const labelListList &faceEdges)
 
void writeEdges (const pointField &localPoints, const edgeList &edges, const label nInternalEdges)
 
void writeFaceEdges (const pointField &localPoints, const edgeList &edges, const labelListList &faceEdges)
 
void writeEdgeFaces (const pointField &localPoints, const faceList &localFaces, const edgeList &edges, const labelListList &edgeFaces)
 
void writeFaceFaces (const pointField &localPoints, const faceList &localFaces, const labelListList &faceFaces)
 
int main (int argc, char *argv[])
 

Detailed Description

Test new primitive patches.

Original source file Test-PrimitivePatch.C

Definition in file Test-PrimitivePatch.C.

Typedef Documentation

◆ myPrimitivePatch

Definition at line 41 of file Test-PrimitivePatch.C.

Function Documentation

◆ writeObj()

void writeObj ( Ostream os,
const pointField points 
)

Definition at line 44 of file Test-PrimitivePatch.C.

References Foam::endl(), forAll, points, Vector< Cmpt >::x(), Vector< Cmpt >::y(), and Vector< Cmpt >::z().

Referenced by main(), writeEdgeFaces(), writeEdges(), writeFaceEdges(), and writeFaceFaces().

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

◆ checkFaceEdges()

void checkFaceEdges ( const faceList localFaces,
const edgeList edges,
const labelListList faceEdges 
)

Definition at line 56 of file Test-PrimitivePatch.C.

References Foam::abort(), f(), Foam::FatalError, FatalErrorInFunction, and forAll.

Referenced by main().

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

◆ writeEdges()

void writeEdges ( const pointField localPoints,
const edgeList edges,
const label  nInternalEdges 
)

Definition at line 86 of file Test-PrimitivePatch.C.

References Foam::e, Foam::endl(), Foam::Info, Foam::nl, List::size(), and writeObj().

Referenced by main(), faceCoupleInfo::subDivisionMatch(), and VTKedgeFormat::write().

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

◆ writeFaceEdges()

void writeFaceEdges ( const pointField localPoints,
const edgeList edges,
const labelListList faceEdges 
)

Definition at line 121 of file Test-PrimitivePatch.C.

References Foam::e, Foam::endl(), forAll, Foam::Info, Foam::nl, and writeObj().

Referenced by main().

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

◆ writeEdgeFaces()

void writeEdgeFaces ( const pointField localPoints,
const faceList localFaces,
const edgeList edges,
const labelListList edgeFaces 
)

Definition at line 148 of file Test-PrimitivePatch.C.

References Foam::endl(), forAll, Foam::Info, Foam::nl, List::size(), writeObj(), and Vector< scalar >::zero.

Referenced by main().

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

◆ writeFaceFaces()

void writeFaceFaces ( const pointField localPoints,
const faceList localFaces,
const labelListList faceFaces 
)

Definition at line 181 of file Test-PrimitivePatch.C.

References Foam::endl(), forAll, Foam::Info, Foam::nl, List::size(), writeObj(), and Vector< scalar >::zero.

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