Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends | List of all members
triSurface Class Reference

Triangulated surface description with patch information. More...

Inheritance diagram for triSurface:
Inheritance graph
[legend]
Collaboration diagram for triSurface:
Collaboration graph
[legend]

Public Types

typedef bool BoundaryMesh
 Placeholder only, but do not remove - it is needed for GeoMesh. More...
 
- Public Types inherited from PrimitivePatch< labelledTri,::Foam::List, pointField, point >
enum  surfaceTopo
 Enumeration defining the surface type. Used in check routines. More...
 
typedef labelledTri FaceType
 
typedef ::Foam::List< labelledTriFaceListType
 
typedef pointField PointFieldType
 
- Public Types inherited from List< labelledTri >
typedef SubList< labelledTrisubList
 Declare type of subList. More...
 
- Public Types inherited from UList< T >
typedef T value_type
 Type of values the UList contains. More...
 
typedef Treference
 Type that can be used for storing into. More...
 
typedef const Tconst_reference
 Type that can be used for storing into. More...
 
typedef label difference_type
 The type that can represent the difference between any two. More...
 
typedef label size_type
 The type that can represent the size of a UList. More...
 
typedef Titerator
 Random access iterator for traversing UList. More...
 
typedef const Tconst_iterator
 Random access iterator for traversing UList. More...
 
typedef Treverse_iterator
 Reverse iterator for reverse traversal of UList. More...
 
typedef const Tconst_reverse_iterator
 Reverse iterator for reverse traversal of constant UList. More...
 

Public Member Functions

 ClassName ("triSurface")
 Runtime type information. More...
 
 triSurface ()
 Construct null. More...
 
 triSurface (const List< labelledTri > &, const geometricSurfacePatchList &, const pointField &)
 Construct from triangles, patches, points. More...
 
 triSurface (List< labelledTri > &, const geometricSurfacePatchList &, pointField &, const bool reUse)
 Construct from triangles, patches, points. Reuse storage. More...
 
 triSurface (const Xfer< List< labelledTri > > &, const geometricSurfacePatchList &, const Xfer< List< point > > &)
 Construct from triangles, patches, points. More...
 
 triSurface (const List< labelledTri > &, const pointField &)
 Construct from triangles, points. Set patchnames to default. More...
 
 triSurface (const triFaceList &, const pointField &)
 Construct from triangles, points. Set region to 0 and default. More...
 
 triSurface (const fileName &)
 Construct from file name (uses extension to determine type) More...
 
 triSurface (Istream &)
 Construct from Istream. More...
 
 triSurface (const Time &d)
 Construct from objectRegistry. More...
 
 triSurface (const triSurface &)
 Construct as copy. More...
 
 ~triSurface ()
 Destructor. More...
 
void clearOut ()
 
void clearTopology ()
 
void clearPatchMeshAddr ()
 
const geometricSurfacePatchListpatches () const
 
geometricSurfacePatchListpatches ()
 
const labelListListsortedEdgeFaces () const
 Return edge-face addressing sorted (for edges with more than. More...
 
const labelListedgeOwner () const
 If 2 face neighbours: label of face where ordering of edge. More...
 
virtual void movePoints (const pointField &)
 Move points. More...
 
virtual void scalePoints (const scalar)
 Scale points. A non-positive factor is ignored. More...
 
void checkTriangles (const bool verbose)
 Check/remove duplicate/degenerate triangles. More...
 
void checkEdges (const bool verbose)
 Check triply (or more) connected edges. More...
 
void cleanup (const bool verbose)
 Remove non-valid triangles. More...
 
void markZone (const boolList &borderEdge, const label faceI, const label currentZone, labelList &faceZone) const
 Fill faceZone with currentZone for every face reachable. More...
 
label markZones (const boolList &borderEdge, labelList &faceZone) const
 (size and) fills faceZone with zone of face. Zone is area More...
 
void subsetMeshMap (const boolList &include, labelList &pointMap, labelList &faceMap) const
 'Create' sub mesh, including only faces for which More...
 
triSurface subsetMesh (const boolList &include, labelList &pointMap, labelList &faceMap) const
 Return new surface. Returns pointMap, faceMap from. More...
 
void write (Ostream &) const
 Write to Ostream in simple FOAM format. More...
 
void write (const fileName &, const bool sortByRegion=false) const
 Generic write routine. Chooses writer based on extension. More...
 
void write (const Time &) const
 Write to database. More...
 
void writeDX (const scalarField &, Ostream &) const
 Write to Ostream in OpenDX format. More...
 
void writeDX (const vectorField &, Ostream &) const
 
void writeStats (Ostream &) const
 Write some statistics. More...
 
void operator= (const triSurface &)
 
- Public Member Functions inherited from PrimitivePatch< labelledTri,::Foam::List, pointField, point >
 PrimitivePatch (const ::Foam::List< labelledTri > &faces, const Field< point > &points)
 Construct from components. More...
 
 PrimitivePatch (const Xfer< ::Foam::List< labelledTri > > &faces, const Xfer< List< point > > &points)
 Construct from components. More...
 
 PrimitivePatch (::Foam::List< labelledTri > &faces, Field< point > &points, const bool reUse)
 Construct from components, reuse storage. More...
 
 PrimitivePatch (const PrimitivePatch< labelledTri,::Foam::List, pointField, point > &)
 Construct as copy. More...
 
virtual ~PrimitivePatch ()
 Destructor. More...
 
void clearOut ()
 
void clearGeom ()
 
void clearTopology ()
 
void clearPatchMeshAddr ()
 
const Field< point > & points () const
 Return reference to global points. More...
 
label nPoints () const
 Return number of points supporting patch faces. More...
 
label nEdges () const
 Return number of edges in patch. More...
 
const edgeListedges () const
 Return list of edges, address into LOCAL point list. More...
 
label nInternalEdges () const
 Number of internal edges. More...
 
bool isInternalEdge (const label edgeI) const
 Is internal edge? More...
 
const labelListboundaryPoints () const
 Return list of boundary points,. More...
 
const labelListListfaceFaces () const
 Return face-face addressing. More...
 
const labelListListedgeFaces () const
 Return edge-face addressing. More...
 
const labelListListfaceEdges () const
 Return face-edge addressing. More...
 
const labelListListpointEdges () const
 Return point-edge addressing. More...
 
const labelListListpointFaces () const
 Return point-face addressing. More...
 
const List< labelledTri > & localFaces () const
 Return patch faces addressing into local point list. More...
 
const labelListmeshPoints () const
 Return labelList of mesh points in patch. They are constructed. More...
 
const Map< label > & meshPointMap () const
 Mesh point map. Given the global point index find its. More...
 
const Field< point > & localPoints () const
 Return pointField of points in patch. More...
 
const labelListlocalPointOrder () const
 Return orders the local points for most efficient search. More...
 
label whichPoint (const label gp) const
 Given a global point index, return the local point index. More...
 
label whichEdge (const edge &) const
 Given an edge in local point labels, return its. More...
 
labelList meshEdges (const edgeList &allEdges, const labelListList &cellEdges, const labelList &faceCells) const
 Return labels of patch edges in the global edge list using. More...
 
labelList meshEdges (const edgeList &allEdges, const labelListList &pointEdges) const
 Return labels of patch edges in the global edge list using. More...
 
const Field< point > & faceCentres () const
 Return face centres for patch. More...
 
const Field< point > & faceNormals () const
 Return face normals for patch. More...
 
const Field< point > & pointNormals () const
 Return point normals for patch. More...
 
List< objectHitprojectPoints (const ToPatch &targetPatch, const Field< point > &projectionDirection, const intersection::algorithm=intersection::FULL_RAY, const intersection::direction=intersection::VECTOR) const
 Project vertices of patch onto another patch. More...
 
List< objectHitprojectFaceCentres (const ToPatch &targetPatch, const Field< point > &projectionDirection, const intersection::algorithm=intersection::FULL_RAY, const intersection::direction=intersection::VECTOR) const
 Project vertices of patch onto another patch. More...
 
const labelListListedgeLoops () const
 Return list of closed loops of boundary vertices. More...
 
surfaceTopo surfaceType () const
 Calculate surface type formed by patch. More...
 
bool checkTopology (const bool report=false, labelHashSet *setPtr=NULL) const
 Check surface formed by patch for manifoldness (see above). More...
 
bool checkPointManifold (const bool report=false, labelHashSet *setPtr=NULL) const
 Checks primitivePatch for faces sharing point but not edge. More...
 
virtual void movePoints (const Field< point > &)
 Correct patch after moving points. More...
 
void operator= (const PrimitivePatch< labelledTri,::Foam::List, pointField, point > &)
 Assignment. More...
 
- Public Member Functions inherited from List< labelledTri >
label size () const
 Return the number of elements in the UList. More...
 
 List ()
 Null constructor. More...
 
 List (const label)
 Construct with given size. More...
 
 List (const label, const labelledTri &)
 Construct with given size and value for all elements. More...
 
 List (const List< labelledTri > &)
 Copy constructor. More...
 
 List (const Xfer< List< labelledTri > > &)
 Construct by transferring the parameter contents. More...
 
 List (List< labelledTri > &, bool reUse)
 Construct as copy or re-use as specified. More...
 
 List (const UList< labelledTri > &, const labelUList &mapAddressing)
 Construct as subset. More...
 
 List (InputIterator first, InputIterator last)
 Construct given start and end iterators. More...
 
 List (const FixedList< labelledTri, Size > &)
 Construct as copy of FixedList<T, Size> More...
 
 List (const PtrList< labelledTri > &)
 Construct as copy of PtrList<T> More...
 
 List (const SLList< labelledTri > &)
 Construct as copy of SLList<T> More...
 
 List (const UIndirectList< labelledTri > &)
 Construct as copy of UIndirectList<T> More...
 
 List (const BiIndirectList< labelledTri > &)
 Construct as copy of BiIndirectList<T> More...
 
 List (Istream &)
 Construct from Istream. More...
 
autoPtr< List< labelledTri > > clone () const
 Clone. More...
 
 ~List ()
 Destructor. More...
 
void resize (const label)
 Alias for setSize(const label) More...
 
void resize (const label, const labelledTri &)
 Alias for setSize(const label, const T&) More...
 
void setSize (const label)
 Reset size of List. More...
 
void setSize (const label, const labelledTri &)
 Reset size of List and value for new elements. More...
 
void clear ()
 Clear the list, i.e. set size to zero. More...
 
void append (const labelledTri &)
 Append an element at the end of the list. More...
 
void append (const UList< labelledTri > &)
 Append a List at the end of this list. More...
 
void append (const UIndirectList< labelledTri > &)
 Append a UIndirectList at the end of this list. More...
 
void transfer (List< labelledTri > &)
 Transfer the contents of the argument List into this list. More...
 
void transfer (DynamicList< labelledTri, SizeInc, SizeMult, SizeDiv > &)
 Transfer the contents of the argument List into this list. More...
 
void transfer (SortableList< labelledTri > &)
 Transfer the contents of the argument List into this list. More...
 
Xfer< List< labelledTri > > xfer ()
 Transfer contents to the Xfer container. More...
 
labelledTrinewElmt (const label)
 Return subscript-checked element of UList. More...
 
void operator= (const UList< labelledTri > &)
 Assignment from UList operator. Takes linear time. More...
 
void operator= (const List< labelledTri > &)
 Assignment operator. Takes linear time. More...
 
void operator= (const SLList< labelledTri > &)
 Assignment from SLList operator. Takes linear time. More...
 
void operator= (const UIndirectList< labelledTri > &)
 Assignment from UIndirectList operator. Takes linear time. More...
 
void operator= (const BiIndirectList< labelledTri > &)
 Assignment from BiIndirectList operator. Takes linear time. More...
 
void operator= (const labelledTri &)
 Assignment of all entries to the given value. More...
 
- Public Member Functions inherited from UList< T >
 UList ()
 Null constructor. More...
 
 UList (T *__restrict__ v, label size)
 Construct from components. More...
 
label fcIndex (const label i) const
 Return the forward circular index, i.e. the next index. More...
 
label rcIndex (const label i) const
 Return the reverse circular index, i.e. the previous index. More...
 
std::streamsize byteSize () const
 Return the binary size in number of characters of the UList. More...
 
const Tcdata () const
 Return a const pointer to the first data element,. More...
 
Tdata ()
 Return a pointer to the first data element,. More...
 
Tfirst ()
 Return the first element of the list. More...
 
const Tfirst () const
 Return first element of the list. More...
 
Tlast ()
 Return the last element of the list. More...
 
const Tlast () const
 Return the last element of the list. More...
 
void checkStart (const label start) const
 Check start is within valid range (0 ... size-1). More...
 
void checkSize (const label size) const
 Check size is within valid range (0 ... size). More...
 
void checkIndex (const label i) const
 Check index i is within valid range (0 ... size-1). More...
 
void writeEntry (Ostream &) const
 Write the UList as a dictionary entry. More...
 
void writeEntry (const word &keyword, Ostream &) const
 Write the UList as a dictionary entry with keyword. More...
 
void assign (const UList< T > &)
 Assign elements to those from UList. More...
 
Toperator[] (const label)
 Return element of UList. More...
 
const Toperator[] (const label) const
 Return element of constant UList. More...
 
 operator const Foam::List< T > & () const
 Allow cast to a const List<T>&. More...
 
void operator= (const T &)
 Assignment of all entries to the given value. More...
 
iterator begin ()
 Return an iterator to begin traversing the UList. More...
 
iterator end ()
 Return an iterator to end traversing the UList. More...
 
const_iterator cbegin () const
 Return const_iterator to begin traversing the constant UList. More...
 
const_iterator cend () const
 Return const_iterator to end traversing the constant UList. More...
 
const_iterator begin () const
 Return const_iterator to begin traversing the constant UList. More...
 
const_iterator end () const
 Return const_iterator to end traversing the constant UList. More...
 
reverse_iterator rbegin ()
 Return reverse_iterator to begin reverse traversing the UList. More...
 
reverse_iterator rend ()
 Return reverse_iterator to end reverse traversing the UList. More...
 
const_reverse_iterator crbegin () const
 Return const_reverse_iterator to begin reverse traversing the UList. More...
 
const_reverse_iterator crend () const
 Return const_reverse_iterator to end reverse traversing the UList. More...
 
const_reverse_iterator rbegin () const
 Return const_reverse_iterator to begin reverse traversing the UList. More...
 
const_reverse_iterator rend () const
 Return const_reverse_iterator to end reverse traversing the UList. More...
 
label size () const
 Return the number of elements in the UList. More...
 
label max_size () const
 Return size of the largest possible UList. More...
 
bool empty () const
 Return true if the UList is empty (ie, size() is zero). More...
 
void swap (UList< T > &)
 Swap two ULists of the same type in constant time. More...
 
bool operator== (const UList< T > &) const
 Equality operation on ULists of the same type. More...
 
bool operator!= (const UList< T > &) const
 The opposite of the equality operation. Takes linear time. More...
 
bool operator< (const UList< T > &) const
 Compare two ULists lexicographically. Takes linear time. More...
 
bool operator> (const UList< T > &) const
 Compare two ULists lexicographically. Takes linear time. More...
 
bool operator<= (const UList< T > &) const
 Return true if !(a > b). Takes linear time. More...
 
bool operator>= (const UList< T > &) const
 Return true if !(a < b). Takes linear time. More...
 
template<>
const bool & operator[] (const label i) const
 

Static Public Member Functions

static fileName triSurfInstance (const Time &)
 Name of triSurface directory to use. More...
 
- Static Public Member Functions inherited from List< labelledTri >
static const List< labelledTri > & null ()
 Return a null List. More...
 
- Static Public Member Functions inherited from UList< T >
static const UList< T > & null ()
 Return a null UList. More...
 

Protected Member Functions

pointFieldstoredPoints ()
 Non-const access to global points. More...
 
List< Face > & storedFaces ()
 Non-const access to the faces. More...
 
- Protected Member Functions inherited from List< labelledTri >
void size (const label)
 Override size to be inconsistent with allocated storage. More...
 

Friends

Ostreamoperator<< (Ostream &, const triSurface &)
 

Detailed Description

Triangulated surface description with patch information.

Source files

Definition at line 57 of file triSurface.H.

Member Typedef Documentation

typedef bool BoundaryMesh

Placeholder only, but do not remove - it is needed for GeoMesh.

Definition at line 229 of file triSurface.H.

Constructor & Destructor Documentation

triSurface ( const List< labelledTri > &  triangles,
const geometricSurfacePatchList patches,
const pointField points 
)

Construct from triangles, patches, points.

Definition at line 622 of file triSurface.C.

References triSurface::triSurface().

Here is the call graph for this function:

triSurface ( List< labelledTri > &  triangles,
const geometricSurfacePatchList patches,
pointField points,
const bool  reUse 
)

Construct from triangles, patches, points. Reuse storage.

Definition at line 636 of file triSurface.C.

References triSurface::triSurface().

Here is the call graph for this function:

triSurface ( const Xfer< List< labelledTri > > &  triangles,
const geometricSurfacePatchList patches,
const Xfer< List< point > > &  points 
)

Construct from triangles, patches, points.

Definition at line 651 of file triSurface.C.

References triSurface::triSurface().

Here is the call graph for this function:

triSurface ( const List< labelledTri > &  triangles,
const pointField points 
)

Construct from triangles, points. Set patchnames to default.

Definition at line 665 of file triSurface.C.

References triSurface::triSurface().

Here is the call graph for this function:

triSurface ( const triFaceList triangles,
const pointField points 
)

Construct from triangles, points. Set region to 0 and default.

patchName.

Definition at line 680 of file triSurface.C.

triSurface ( const fileName name)

Construct from file name (uses extension to determine type)

Definition at line 694 of file triSurface.C.

References fileName::ext().

Here is the call graph for this function:

triSurface ( Istream is)

Construct from Istream.

Definition at line 709 of file triSurface.C.

triSurface ( const Time d)

Construct from objectRegistry.

Definition at line 722 of file triSurface.C.

References Time::caseName(), Time::path(), and triSurface::triSurfInstance().

Here is the call graph for this function:

triSurface ( const triSurface ts)

Construct as copy.

Definition at line 741 of file triSurface.C.

~triSurface ( )

Destructor.

Definition at line 752 of file triSurface.C.

References triSurface::clearOut().

Here is the call graph for this function:

Member Function Documentation

pointField& storedPoints ( )
inlineprotected

Non-const access to global points.

Definition at line 212 of file triSurface.H.

References PrimitivePatch< labelledTri,::Foam::List, pointField, point >::points().

Referenced by triSurface::movePoints(), triSurface::operator=(), and triSurface::scalePoints().

Here is the call graph for this function:

Here is the caller graph for this function:

List<Face>& storedFaces ( )
inlineprotected

Non-const access to the faces.

Definition at line 218 of file triSurface.H.

ClassName ( "triSurface"  )

Runtime type information.

Foam::fileName triSurfInstance ( const Time d)
static
void clearOut ( )

Definition at line 774 of file triSurface.C.

References PrimitivePatch< labelledTri,::Foam::List, pointField, point >::clearOut(), triSurface::clearPatchMeshAddr(), and triSurface::clearTopology().

Referenced by triSurface::cleanup(), triSurfaceMesh::clearOut(), triSurface::operator=(), and triSurface::~triSurface().

Here is the call graph for this function:

Here is the caller graph for this function:

void clearTopology ( )

Definition at line 760 of file triSurface.C.

References PrimitivePatch< labelledTri,::Foam::List, pointField, point >::clearTopology(), and Foam::deleteDemandDrivenData().

Referenced by triSurface::clearOut(), and triSurface::scalePoints().

Here is the call graph for this function:

Here is the caller graph for this function:

void clearPatchMeshAddr ( )

Definition at line 768 of file triSurface.C.

References PrimitivePatch< labelledTri,::Foam::List, pointField, point >::clearPatchMeshAddr().

Referenced by triSurface::clearOut().

Here is the call graph for this function:

Here is the caller graph for this function:

const geometricSurfacePatchList& patches ( ) const
inline
geometricSurfacePatchList& patches ( )
inline
const Foam::labelListList & sortedEdgeFaces ( ) const

Return edge-face addressing sorted (for edges with more than.

2 faces) according to the angle around the edge. Orientation is anticlockwise looking from edge.vec(localPoints())

Definition at line 783 of file triSurface.C.

Referenced by triSurface::patches().

Here is the caller graph for this function:

const Foam::labelList & edgeOwner ( ) const

If 2 face neighbours: label of face where ordering of edge.

is consistent with righthand walk. If 1 neighbour: label of only face. If >2 neighbours: undetermined.

Definition at line 794 of file triSurface.C.

Referenced by triSurface::patches().

Here is the caller graph for this function:

void movePoints ( const pointField newPoints)
virtual

Move points.

Reimplemented in triSurfaceMesh.

Definition at line 805 of file triSurface.C.

References Foam::deleteDemandDrivenData(), PrimitivePatch< labelledTri,::Foam::List, pointField, point >::movePoints(), and triSurface::storedPoints().

Referenced by triSurfaceMesh::movePoints(), and triSurface::patches().

Here is the call graph for this function:

Here is the caller graph for this function:

void scalePoints ( const scalar  scaleFactor)
virtual

Scale points. A non-positive factor is ignored.

Definition at line 818 of file triSurface.C.

References triSurface::clearTopology(), PrimitivePatch< labelledTri,::Foam::List, pointField, point >::movePoints(), and triSurface::storedPoints().

Referenced by triSurface::patches(), and triSurfaceMesh::triSurfaceMesh().

Here is the call graph for this function:

Here is the caller graph for this function:

void checkTriangles ( const bool  verbose)

Check/remove duplicate/degenerate triangles.

Definition at line 186 of file triSurface.C.

References Foam::endl(), Foam::exit(), f(), Foam::FatalError, FatalErrorIn, forAll, n, points, List< T >::size(), Foam::Warning, and WarningIn.

Referenced by triSurface::cleanup(), and triSurface::patches().

Here is the call graph for this function:

Here is the caller graph for this function:

void checkEdges ( const bool  verbose)
void cleanup ( const bool  verbose)

Remove non-valid triangles.

Definition at line 835 of file triSurface.C.

References triSurface::checkEdges(), triSurface::checkTriangles(), triSurface::clearOut(), and triSurface::markZone().

Referenced by triSurface::patches().

Here is the call graph for this function:

Here is the caller graph for this function:

void markZone ( const boolList borderEdge,
const label  faceI,
const label  currentZone,
labelList faceZone 
) const

Fill faceZone with currentZone for every face reachable.

from faceI without crossing edge marked in borderEdge. Note: faceZone has to be sized nFaces before calling this fun.

Definition at line 852 of file triSurface.C.

References Foam::abort(), List< T >::append(), PrimitivePatch< labelledTri,::Foam::List, pointField, point >::edgeFaces(), PrimitivePatch< labelledTri,::Foam::List, pointField, point >::faceEdges(), Foam::FatalError, FatalErrorIn, forAll, triSurface::markZones(), List< T >::size(), and List< T >::transfer().

Referenced by triSurface::cleanup(), triSurface::markZones(), and triSurface::patches().

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::label markZones ( const boolList borderEdge,
labelList faceZone 
) const

(size and) fills faceZone with zone of face. Zone is area

reachable by edge crossing without crossing borderEdge (bool for every edge in surface). Returns number of zones.

Definition at line 921 of file triSurface.C.

References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, triSurface::markZone(), PrimitivePatch< labelledTri,::Foam::List, pointField, point >::nEdges(), List< T >::setSize(), List< T >::size(), List< labelledTri >::size(), and triSurface::subsetMeshMap().

Referenced by booleanSurface::booleanSurface(), triSurface::markZone(), orientedSurface::orient(), and triSurface::patches().

Here is the call graph for this function:

Here is the caller graph for this function:

void subsetMeshMap ( const boolList include,
labelList pointMap,
labelList faceMap 
) const

'Create' sub mesh, including only faces for which

boolList entry is true Sets: pointMap: from new to old localPoints faceMap: new to old faces

Definition at line 970 of file triSurface.C.

References forAll, PrimitivePatch< labelledTri,::Foam::List, pointField, point >::localFaces(), PrimitivePatch< labelledTri,::Foam::List, pointField, point >::nPoints(), List< T >::setSize(), List< T >::size(), and triSurface::subsetMesh().

Referenced by triSurface::markZones(), triSurface::patches(), and triSurface::subsetMesh().

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::triSurface subsetMesh ( const boolList include,
labelList pointMap,
labelList faceMap 
) const

Return new surface. Returns pointMap, faceMap from.

subsetMeshMap

Definition at line 1016 of file triSurface.C.

References forAll, PrimitivePatch< labelledTri,::Foam::List, pointField, point >::localFaces(), PrimitivePatch< labelledTri,::Foam::List, pointField, point >::localPoints(), triSurface::patches(), List< T >::size(), triSurface::subsetMeshMap(), and triSurface::triSurface().

Referenced by booleanSurface::booleanSurface(), triSurface::patches(), and triSurface::subsetMeshMap().

Here is the call graph for this function:

Here is the caller graph for this function:

void write ( Ostream os) const

Write to Ostream in simple FOAM format.

Definition at line 1067 of file triSurface.C.

References IOstream::check(), Foam::endl(), Foam::nl, triSurface::patches(), and PrimitivePatch< labelledTri,::Foam::List, pointField, point >::points().

Referenced by booleanSurface::booleanSurface().

Here is the call graph for this function:

Here is the caller graph for this function:

void write ( const fileName name,
const bool  sortByRegion = false 
) const

Generic write routine. Chooses writer based on extension.

Definition at line 1058 of file triSurface.C.

References fileName::ext().

Here is the call graph for this function:

void write ( const Time d) const

Write to database.

Definition at line 1080 of file triSurface.C.

References Time::caseName(), Time::path(), and triSurface::triSurfInstance().

Here is the call graph for this function:

void writeDX ( const scalarField field,
Ostream os 
) const

Write to Ostream in OpenDX format.

Definition at line 164 of file writeDX.C.

References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, forAll, PrimitivePatch< labelledTri,::Foam::List, pointField, point >::nPoints(), List< T >::size(), and List< labelledTri >::size().

Here is the call graph for this function:

void writeDX ( const vectorField field,
Ostream os 
) const
void writeStats ( Ostream os) const
void operator= ( const triSurface ts)

Friends And Related Function Documentation

Ostream& operator<< ( Ostream ,
const triSurface  
)
friend

Referenced by triSurface::patches().


The documentation for this class was generated from the following files: