'Patch' on surface as subset of triSurface. More...
Public Member Functions | |
ClassName ("surfacePatch") | |
Runtime type information. More... | |
surfacePatch () | |
Construct null. More... | |
surfacePatch (const word &geometricType, const word &name, const label size, const label start, const label index) | |
Construct from components. More... | |
surfacePatch (Istream &is, const label index) | |
Construct from Istream. More... | |
surfacePatch (const word &name, const dictionary &dict, const label index) | |
Construct from dictionary. More... | |
label | start () const |
Return start label of this patch in the polyMesh face list. More... | |
label & | start () |
Return start label of this patch in the polyMesh face list. More... | |
label | size () const |
Return size of this patch in the polyMesh face list. More... | |
label & | size () |
Return size of this patch in the polyMesh face list. More... | |
void | write (Ostream &) const |
Write. More... | |
void | writeDict (Ostream &) const |
Write dictionary. More... | |
bool | operator!= (const surfacePatch &) const |
bool | operator== (const surfacePatch &) const |
compare. More... | |
Public Member Functions inherited from geometricSurfacePatch | |
ClassName ("geometricSurfacePatch") | |
Runtime type information. More... | |
geometricSurfacePatch () | |
Construct null. More... | |
geometricSurfacePatch (const word &geometricType, const word &name, const label index) | |
Construct from components. More... | |
geometricSurfacePatch (Istream &, const label index) | |
Construct from Istream. More... | |
geometricSurfacePatch (const word &name, const dictionary &dict, const label index) | |
Construct from dictionary. More... | |
const word & | name () const |
Return name. More... | |
word & | name () |
Return name. More... | |
const word & | geometricType () const |
Return the type of the patch. More... | |
word & | geometricType () |
Return the type of the patch. More... | |
label | index () const |
Return the index of this patch in the boundaryMesh. More... | |
label & | index () |
Return the index of this patch in the boundaryMesh. More... | |
void | write (Ostream &) const |
Write. More... | |
void | writeDict (Ostream &) const |
Write dictionary. More... | |
bool | operator!= (const geometricSurfacePatch &) const |
bool | operator== (const geometricSurfacePatch &) const |
compare. More... | |
Friends | |
Ostream & | operator<< (Ostream &, const surfacePatch &) |
'Patch' on surface as subset of triSurface.
Definition at line 58 of file surfacePatch.H.
surfacePatch | ( | ) |
Construct null.
Definition at line 39 of file surfacePatch.C.
Referenced by surfacePatch::surfacePatch().
surfacePatch | ( | const word & | geometricType, |
const word & | name, | ||
const label | size, | ||
const label | start, | ||
const label | index | ||
) |
Construct from components.
Definition at line 48 of file surfacePatch.C.
surfacePatch | ( | Istream & | is, |
const label | index | ||
) |
Construct from Istream.
Definition at line 62 of file surfacePatch.C.
References Foam::readLabel(), and surfacePatch::surfacePatch().
surfacePatch | ( | const word & | name, |
const dictionary & | dict, | ||
const label | index | ||
) |
Construct from dictionary.
Definition at line 74 of file surfacePatch.C.
ClassName | ( | "surfacePatch" | ) |
Runtime type information.
|
inline |
Return start label of this patch in the polyMesh face list.
Definition at line 107 of file surfacePatch.H.
Referenced by surfacePatch::operator==(), triSurface::triSurfInstance(), surfacePatch::write(), and surfacePatch::writeDict().
|
inline |
Return start label of this patch in the polyMesh face list.
Definition at line 113 of file surfacePatch.H.
|
inline |
Return size of this patch in the polyMesh face list.
Definition at line 119 of file surfacePatch.H.
Referenced by surfacePatch::operator==(), triSurface::triSurfInstance(), surfacePatch::write(), and surfacePatch::writeDict().
|
inline |
Return size of this patch in the polyMesh face list.
Definition at line 125 of file surfacePatch.H.
References surfacePatch::operator!=(), surfacePatch::operator<<, surfacePatch::operator==(), surfacePatch::write(), and surfacePatch::writeDict().
void write | ( | Ostream & | os | ) | const |
Write.
Definition at line 88 of file surfacePatch.C.
References Foam::endl(), Foam::nl, surfacePatch::size(), surfacePatch::start(), and Foam::tab.
Referenced by Foam::operator<<(), and surfacePatch::size().
void writeDict | ( | Ostream & | os | ) | const |
Write dictionary.
Definition at line 95 of file surfacePatch.C.
References token::BEGIN_BLOCK, token::END_BLOCK, Foam::endl(), geometricSurfacePatch::name(), Foam::nl, surfacePatch::size(), surfacePatch::start(), and geometricSurfacePatch::writeDict().
Referenced by surfacePatch::size().
bool operator!= | ( | const surfacePatch & | p | ) | const |
Definition at line 109 of file surfacePatch.C.
References p.
Referenced by surfacePatch::size().
bool operator== | ( | const surfacePatch & | p | ) | const |
compare.
Definition at line 115 of file surfacePatch.C.
References geometricSurfacePatch::geometricType(), surfacePatch::size(), and surfacePatch::start().
Referenced by surfacePatch::size().
|
friend |
Referenced by surfacePatch::size().