'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... | |
surfacePatch (const surfacePatch &) | |
Construct as copy. 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... | |
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... | |
surfacePatch (const surfacePatch &) | |
Construct as copy. 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... | |
![]() | |
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... | |
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... | |
Private Attributes | |
label | size_ |
size of this patch in the triSurface face list More... | |
label | start_ |
Start label of this patch in the triSurface face list. More... | |
Friends | |
Ostream & | operator<< (Ostream &, const surfacePatch &) |
Ostream & | operator<< (Ostream &, const surfacePatch &) |
'Patch' on surface as subset of triSurface.
Definition at line 51 of file surfacePatch.H.
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.
References Foam::readLabel(), surfacePatch::size_, and surfacePatch::start_.
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.
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.
ClassName | ( | "surfacePatch" | ) |
Runtime type information.
|
inline |
Return start label of this patch in the polyMesh face list.
Definition at line 102 of file surfacePatch.H.
References surfacePatch::start_.
Referenced by triSurface::calcPatches().
|
inline |
Return start label of this patch in the polyMesh face list.
Definition at line 108 of file surfacePatch.H.
References surfacePatch::start_.
|
inline |
Return size of this patch in the polyMesh face list.
Definition at line 114 of file surfacePatch.H.
References surfacePatch::size_.
Referenced by triSurface::calcPatches(), and triSurface::writeSTLASCII().
|
inline |
Return size of this patch in the polyMesh face list.
Definition at line 120 of file surfacePatch.H.
References surfacePatch::size_.
void write | ( | Ostream & | os | ) | const |
Write.
Definition at line 102 of file surfacePatch.C.
References Foam::endl(), Foam::nl, and Foam::tab.
void writeDict | ( | Ostream & | os | ) | const |
Write dictionary.
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 |
ClassName | ( | "surfacePatch" | ) |
Runtime type information.
|
inline |
Return start label of this patch in the polyMesh face list.
Definition at line 102 of file surfacePatch.H.
References surfacePatch::start_.
|
inline |
Return start label of this patch in the polyMesh face list.
Definition at line 108 of file surfacePatch.H.
References surfacePatch::start_.
|
inline |
Return size of this patch in the polyMesh face list.
Definition at line 114 of file surfacePatch.H.
References surfacePatch::size_.
|
inline |
Return size of this patch in the polyMesh face list.
Definition at line 120 of file surfacePatch.H.
References surfacePatch::size_.
void write | ( | Ostream & | ) | const |
Write.
void writeDict | ( | Ostream & | ) | const |
Write dictionary.
bool operator!= | ( | const surfacePatch & | ) | const |
bool operator== | ( | const surfacePatch & | ) | const |
compare.
|
friend |
|
friend |
|
private |
size of this patch in the triSurface face list
Size of this patch in the triSurface face list.
Definition at line 58 of file surfacePatch.H.
Referenced by surfacePatch::size(), and surfacePatch::surfacePatch().
|
private |
Start label of this patch in the triSurface face list.
Definition at line 61 of file surfacePatch.H.
Referenced by surfacePatch::start(), and surfacePatch::surfacePatch().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.