'Patch' on surface as subset of triSurface. More...
#include <triSurface/surfacePatch.H>
'Patch' on surface as subset of triSurface.
Definition at line 52 of file surfacePatch.H.
Public Member Functions | |
ClassName ("surfacePatch") | |
Runtime type information. | |
surfacePatch () | |
Construct null. | |
surfacePatch (const word &geometricType, const word &name, const label size, const label start, const label index) | |
Construct from components. | |
surfacePatch (Istream &is, const label index) | |
Construct from Istream. | |
surfacePatch (const word &name, const dictionary &dict, const label index) | |
Construct from dictionary. | |
surfacePatch (const surfacePatch &) | |
Construct as copy. | |
label | start () const |
Return start label of this patch in the polyMesh face list. | |
label & | start () |
Return start label of this patch in the polyMesh face list. | |
label | size () const |
Return size of this patch in the polyMesh face list. | |
label & | size () |
Return size of this patch in the polyMesh face list. | |
void | write (Ostream &) const |
Write. | |
void | writeDict (Ostream &) const |
Write dictionary. | |
bool | operator!= (const surfacePatch &) const |
bool | operator== (const surfacePatch &) const |
compare. | |
![]() | |
ClassName ("geometricSurfacePatch") | |
Runtime type information. | |
geometricSurfacePatch () | |
Construct null. | |
geometricSurfacePatch (const word &geometricType, const word &name, const label index) | |
Construct from components. | |
geometricSurfacePatch (Istream &, const label index) | |
Construct from Istream. | |
geometricSurfacePatch (const word &name, const dictionary &dict, const label index) | |
Construct from dictionary. | |
const word & | name () const |
Return name. | |
word & | name () |
Return name. | |
const word & | geometricType () const |
Return the type of the patch. | |
word & | geometricType () |
Return the type of the patch. | |
label | index () const |
Return the index of this patch in the boundaryMesh. | |
label & | index () |
Return the index of this patch in the boundaryMesh. | |
bool | operator!= (const geometricSurfacePatch &) const |
bool | operator== (const geometricSurfacePatch &) const |
compare. |
Friends | |
Ostream & | operator<< (Ostream &, const surfacePatch &) |
surfacePatch | ( | ) |
Construct null.
Definition at line 41 of file surfacePatch.C.
surfacePatch | ( | const word & | geometricType, |
const word & | name, | ||
const label | size, | ||
const label | start, | ||
const label | index | ||
) |
Construct from components.
Definition at line 52 of file surfacePatch.C.
surfacePatch | ( | Istream & | is, |
const label | index | ||
) |
Construct from Istream.
Definition at line 67 of file surfacePatch.C.
surfacePatch | ( | const word & | name, |
const dictionary & | dict, | ||
const label | index | ||
) |
Construct from dictionary.
Definition at line 79 of file surfacePatch.C.
surfacePatch | ( | const surfacePatch & | sp | ) |
Construct as copy.
Definition at line 92 of file surfacePatch.C.
ClassName | ( | "surfacePatch" | ) |
Runtime type information.
|
inline |
Return start label of this patch in the polyMesh face list.
Definition at line 103 of file surfacePatch.H.
Referenced by surfacePatch::operator==().
|
inline |
Return start label of this patch in the polyMesh face list.
Definition at line 109 of file surfacePatch.H.
|
inline |
Return size of this patch in the polyMesh face list.
Definition at line 115 of file surfacePatch.H.
Referenced by surfacePatch::operator==().
|
inline |
Return size of this patch in the polyMesh face list.
Definition at line 121 of file surfacePatch.H.
void write | ( | Ostream & | os | ) | const |
Write.
Reimplemented from geometricSurfacePatch.
Definition at line 102 of file surfacePatch.C.
References Foam::endl(), Foam::nl, and Foam::tab.
void writeDict | ( | Ostream & | os | ) | const |
Write dictionary.
Reimplemented from geometricSurfacePatch.
Definition at line 109 of file surfacePatch.C.
References token::BEGIN_BLOCK, token::END_BLOCK, Foam::endl(), Foam::name(), Foam::nl, and geometricSurfacePatch::writeDict().
bool operator!= | ( | const surfacePatch & | p | ) | const |
Definition at line 123 of file surfacePatch.C.
References p.
bool operator== | ( | const surfacePatch & | p | ) | const |
compare.
Definition at line 129 of file surfacePatch.C.
References geometricSurfacePatch::geometricType(), surfacePatch::size(), and surfacePatch::start().
|
friend |