Test new primitive patches. More...
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[]) |
Test new primitive patches.
Original source file Test-PrimitivePatch.C
Definition in file Test-PrimitivePatch.C.
typedef PrimitivePatch<face, List, const pointField&> myPrimitivePatch |
Definition at line 41 of file Test-PrimitivePatch.C.
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().
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().
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().
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().
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().
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().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 213 of file Test-PrimitivePatch.C.
References Foam::DelaunayMeshTools::allPoints(), args, polyMesh::boundaryMesh(), checkFaceEdges(), PrimitivePatch< Face, FaceList, PointField, PointType >::edgeFaces(), PrimitivePatch< Face, FaceList, PointField, PointType >::edges(), Foam::endl(), PrimitivePatch< Face, FaceList, PointField, PointType >::faceEdges(), PrimitivePatch< Face, FaceList, PointField, PointType >::faceFaces(), Foam::Info, PrimitivePatch< Face, FaceList, PointField, PointType >::localFaces(), PrimitivePatch< Face, FaceList, PointField, PointType >::localPoints(), mesh, patchIdentifier::name(), PrimitivePatch< Face, FaceList, PointField, PointType >::nInternalEdges(), argList::noParallel(), patchFaces(), PrimitivePatch< Face, FaceList, PointField, PointType >::points(), argList::validArgs, writeEdgeFaces(), writeEdges(), writeFaceEdges(), writeFaceFaces(), and List::xfer().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.