Public Member Functions | List of all members
surfacePatch Class Reference

A 'patch' on surface as subset of triSurface. More...

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

Public Member Functions

 surfacePatch (const surfacePatch &)=default
 
surfacePatchoperator= (const surfacePatch &)=default
 
 surfacePatch ()
 
 surfacePatch (const label index)
 
 surfacePatch (const word &name, const label size, const label start, const label index, const word &geometricType=word::null)
 
 surfacePatch (const word &name, const dictionary &dict, const label index)
 
label start () const noexcept
 
label & start () noexcept
 
label size () const noexcept
 
label & size () noexcept
 
void write (Ostream &os) const
 
 operator surfZone () const
 
 surfacePatch (Istream &is, const label index)=delete
 
 surfacePatch (const word &geometricType, const word &name, const label size, const label start, const label index)
 
void writeDict (Ostream &os) const
 
- Public Member Functions inherited from geometricSurfacePatch
 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
 

Additional Inherited Members

- Static Public Member Functions inherited from geometricSurfacePatch
static word defaultName (const label n=-1)
 
- Static Public Attributes inherited from geometricSurfacePatch
static constexpr const char *const emptyType = "empty"
 

Detailed Description

A 'patch' on surface as subset of triSurface.

Source files

Definition at line 50 of file surfacePatch.H.

Constructor & Destructor Documentation

◆ surfacePatch() [1/7]

surfacePatch ( const surfacePatch )
default

◆ surfacePatch() [2/7]

Definition at line 28 of file surfacePatch.C.

◆ surfacePatch() [3/7]

surfacePatch ( const label  index)
explicit

Definition at line 34 of file surfacePatch.C.

◆ surfacePatch() [4/7]

surfacePatch ( const word name,
const label  size,
const label  start,
const label  index,
const word geometricType = word::null 
)

Definition at line 43 of file surfacePatch.C.

◆ surfacePatch() [5/7]

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

Definition at line 58 of file surfacePatch.C.

◆ surfacePatch() [6/7]

surfacePatch ( Istream is,
const label  index 
)
delete

◆ surfacePatch() [7/7]

surfacePatch ( const word geometricType,
const word name,
const label  size,
const label  start,
const label  index 
)
inline

Definition at line 148 of file surfacePatch.H.

Member Function Documentation

◆ operator=()

surfacePatch& operator= ( const surfacePatch )
default

◆ start() [1/2]

label start ( ) const
inlinenoexcept

Definition at line 104 of file surfacePatch.H.

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

Here is the caller graph for this function:

◆ start() [2/2]

label& start ( )
inlinenoexcept

Definition at line 110 of file surfacePatch.H.

◆ size() [1/2]

label size ( ) const
inlinenoexcept

Definition at line 116 of file surfacePatch.H.

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

Here is the caller graph for this function:

◆ size() [2/2]

label& size ( )
inlinenoexcept

Definition at line 122 of file surfacePatch.H.

◆ write()

void write ( Ostream os) const

Definition at line 72 of file surfacePatch.C.

References Ostream::beginBlock(), Ostream::endBlock(), Foam::name(), os(), geometricSurfacePatch::write(), and Ostream::writeEntry().

Referenced by surfacePatch::writeDict().

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

◆ operator surfZone()

operator surfZone ( ) const
explicit

◆ writeDict()

void writeDict ( Ostream os) const
inline

Definition at line 162 of file surfacePatch.H.

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

Here is the call graph for this function:

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