Classes | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
geometricSurfacePatch Class Reference

Identifies a surface patch/zone by name and index, with geometric type. More...

Inheritance diagram for geometricSurfacePatch:
Inheritance graph
[legend]

Classes

struct  fromIdentifier
 

Public Member Functions

 geometricSurfacePatch (const geometricSurfacePatch &)=default
 
geometricSurfacePatchoperator= (const geometricSurfacePatch &)=default
 
 geometricSurfacePatch ()
 
 geometricSurfacePatch (const label index)
 
 geometricSurfacePatch (const word &name, const label index)
 
 geometricSurfacePatch (const word &name, const label index, const word &geometricType)
 
 geometricSurfacePatch (const word &name, const dictionary &dict, const label index)
 
 geometricSurfacePatch (const surfZoneIdentifier &ident)
 
const wordname () const noexcept
 
wordname () noexcept
 
label index () const noexcept
 
label & index () noexcept
 
const wordgeometricType () const noexcept
 
wordgeometricType () noexcept
 
void write (Ostream &os) const
 
 geometricSurfacePatch (Istream &is, const label index)=delete
 
 geometricSurfacePatch (const word &geometricType, const word &name, const label index)
 
void writeDict (Ostream &os) const
 

Static Public Member Functions

static word defaultName (const label n=-1)
 

Static Public Attributes

static constexpr const char *const emptyType = "empty"
 

Detailed Description

Identifies a surface patch/zone by name and index, with geometric type.

Source files

Definition at line 49 of file geometricSurfacePatch.H.

Constructor & Destructor Documentation

◆ geometricSurfacePatch() [1/9]

◆ geometricSurfacePatch() [2/9]

Definition at line 27 of file geometricSurfacePatch.C.

Referenced by geometricSurfacePatch::fromIdentifier::operator()().

Here is the caller graph for this function:

◆ geometricSurfacePatch() [3/9]

geometricSurfacePatch ( const label  index)
explicit

Definition at line 33 of file geometricSurfacePatch.C.

◆ geometricSurfacePatch() [4/9]

geometricSurfacePatch ( const word name,
const label  index 
)

Definition at line 42 of file geometricSurfacePatch.C.

◆ geometricSurfacePatch() [5/9]

geometricSurfacePatch ( const word name,
const label  index,
const word geometricType 
)

Definition at line 54 of file geometricSurfacePatch.C.

◆ geometricSurfacePatch() [6/9]

geometricSurfacePatch ( const word name,
const dictionary dict,
const label  index 
)

Definition at line 67 of file geometricSurfacePatch.C.

References dict, and dictionary::readIfPresent().

Here is the call graph for this function:

◆ geometricSurfacePatch() [7/9]

Definition at line 80 of file geometricSurfacePatch.C.

◆ geometricSurfacePatch() [8/9]

geometricSurfacePatch ( Istream is,
const label  index 
)
delete

◆ geometricSurfacePatch() [9/9]

geometricSurfacePatch ( const word geometricType,
const word name,
const label  index 
)
inline

Definition at line 196 of file geometricSurfacePatch.H.

Member Function Documentation

◆ defaultName()

static word defaultName ( const label  n = -1)
inlinestatic

Definition at line 73 of file geometricSurfacePatch.H.

References n.

Referenced by boundaryMesh::readTriSurface().

Here is the caller graph for this function:

◆ operator=()

geometricSurfacePatch& operator= ( const geometricSurfacePatch )
default

◆ name() [1/2]

const word& name ( ) const
inlinenoexcept

Definition at line 145 of file geometricSurfacePatch.H.

Referenced by Foam::operator<<(), Foam::operator==(), Foam::operator>>(), and boundaryMesh::readTriSurface().

Here is the caller graph for this function:

◆ name() [2/2]

word& name ( )
inlinenoexcept

Definition at line 151 of file geometricSurfacePatch.H.

◆ index() [1/2]

label index ( ) const
inlinenoexcept

Definition at line 157 of file geometricSurfacePatch.H.

◆ index() [2/2]

label& index ( )
inlinenoexcept

Definition at line 163 of file geometricSurfacePatch.H.

◆ geometricType() [1/2]

const word& geometricType ( ) const
inlinenoexcept

Definition at line 169 of file geometricSurfacePatch.H.

Referenced by Foam::operator<<(), Foam::operator==(), Foam::operator>>(), and boundaryMesh::readTriSurface().

Here is the caller graph for this function:

◆ geometricType() [2/2]

word& geometricType ( )
inlinenoexcept

Definition at line 175 of file geometricSurfacePatch.H.

◆ write()

void write ( Ostream os) const

Definition at line 90 of file geometricSurfacePatch.C.

References os(), and Ostream::writeEntry().

Referenced by surfacePatch::write(), and geometricSurfacePatch::writeDict().

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

◆ writeDict()

void writeDict ( Ostream os) const
inline

Definition at line 208 of file geometricSurfacePatch.H.

References os(), and geometricSurfacePatch::write().

Here is the call graph for this function:

Member Data Documentation

◆ emptyType

constexpr const char* const emptyType = "empty"
staticconstexpr

Definition at line 67 of file geometricSurfacePatch.H.

Referenced by boundaryMesh::readTriSurface().


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