Go to the documentation of this file.
32 #include "PatchTools.H"
201 int main(
int argc,
char *argv[])
217 OBJstream str(runTime.path()/
"edgePatchNormals.obj");
244 const edge& patchE = pp.
edges()[patchEdgeI];
static SLList< string > validArgs
A list of valid (mandatory) arguments.
label findPatchID(const word &patchName) const
Find patch index given a name.
A class for handling words, derived from string.
OFstream which keeps track of vertices.
const edgeList & edges() const
Return list of edges, address into LOCAL point list.
#define forAll(list, i)
Loop across all elements in list.
virtual Ostream & write(const char)
Write character.
const Field< PointType > & localPoints() const
Return pointField of points in patch.
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
Ostream & endl(Ostream &os)
Add newline and flush stream.
point centre(const pointField &) const
Return centre (centroid)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
A patch is a list of labels that address the faces in the global face list.
line< point, const point & > linePointRef
Line using referred points.
prefixOSstream Pout(cout, "Pout")
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const indirectPrimitivePatch & coupledPatch() const
Return patch of all coupled faces.
const globalMeshData & globalData() const
Return parallel info.
Foam::argList args(argc, argv)
A list of faces which address into the list of points.