Define a curved face. More...
Classes | |
class | iNew |
Class used for the read-construction of. More... | |
Public Member Functions | |
TypeName ("blockFace") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, blockFace, Istream,(const dictionary &dict, const label index, const searchableSurfaces &geometry, Istream &is),(dict, index, geometry, is)) | |
blockFace (const face &vertices) | |
Construct from face vertices. More... | |
blockFace (const dictionary &dict, const label index, Istream &) | |
Construct from Istream. More... | |
virtual autoPtr< blockFace > | clone () const |
Clone function. More... | |
virtual | ~blockFace () |
Destructor. More... | |
const face & | vertices () const |
Return block face vertices. More... | |
bool | compare (const blockFace &) const |
Compare with given blockFace. More... | |
bool | compare (const face &vertices) const |
Compare with the given block and block face. More... | |
virtual void | project (const blockDescriptor &, const label blockFacei, pointField &points) const =0 |
void | write (Ostream &, const dictionary &) const |
Write face with variable backsubstitution. More... | |
Static Public Member Functions | |
static autoPtr< blockFace > | New (const dictionary &dict, const label index, const searchableSurfaces &geometry, Istream &) |
New function which constructs and returns pointer to a blockFace. More... | |
Protected Attributes | |
const face | vertices_ |
Block face vertices. More... | |
Friends | |
Ostream & | operator<< (Ostream &, const blockFace &) |
Construct from face vertices.
Definition at line 41 of file blockFace.C.
blockFace | ( | const dictionary & | dict, |
const label | index, | ||
Istream & | is | ||
) |
Construct from Istream.
Definition at line 48 of file blockFace.C.
|
inlinevirtual |
Destructor.
Definition at line 138 of file blockFace.H.
References blockFace::compare(), blockFace::operator<<, points, blockFace::project(), blockFace::vertices(), and blockFace::write().
TypeName | ( | "blockFace" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
blockFace | , | ||
Istream | , | ||
(const dictionary &dict, const label index, const searchableSurfaces &geometry, Istream &is) | , | ||
(dict, index, geometry, is) | |||
) |
|
virtual |
Clone function.
Definition at line 65 of file blockFace.C.
References blockFace::New(), and NotImplemented.
|
static |
New function which constructs and returns pointer to a blockFace.
Definition at line 73 of file blockFace.C.
References Foam::abort(), dict, Foam::endl(), Foam::FatalError, FatalErrorInFunction, InfoInFunction, and Foam::nl.
Referenced by blockFace::clone(), and blockFace::iNew::operator()().
|
inline |
Return block face vertices.
Definition at line 28 of file blockFaceI.H.
References blockFace::vertices_.
Referenced by blockFace::compare(), and blockFace::~blockFace().
|
inline |
Compare with given blockFace.
Definition at line 34 of file blockFaceI.H.
References blockFace::vertices().
Referenced by blockFace::~blockFace().
|
inline |
Compare with the given block and block face.
Definition at line 40 of file blockFaceI.H.
References face::sameVertices(), and blockFace::vertices_.
|
pure virtual |
Implemented in projectFace.
Referenced by blockFace::~blockFace().
void write | ( | Ostream & | os, |
const dictionary & | d | ||
) | const |
Write face with variable backsubstitution.
Definition at line 106 of file blockFace.C.
References token::BEGIN_LIST, token::END_LIST, forAll, List< T >::size(), token::SPACE, blockFace::vertices_, and blockVertex::write().
Referenced by blockFace::~blockFace().
Referenced by blockFace::~blockFace().
|
protected |
Block face vertices.
Definition at line 62 of file blockFace.H.
Referenced by blockFace::compare(), Foam::operator<<(), blockFace::vertices(), and blockFace::write().