All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
blockFace Class Referenceabstract

Define a curved face. More...

Inheritance diagram for blockFace:
Collaboration diagram for blockFace:

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< blockFaceclone () const
 Clone function. More...
 
virtual ~blockFace ()
 Destructor. More...
 
const facevertices () 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< blockFaceNew (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

Ostreamoperator<< (Ostream &, const blockFace &)
 

Detailed Description

Define a curved face.

Source files

Definition at line 55 of file blockFace.H.

Constructor & Destructor Documentation

◆ blockFace() [1/2]

blockFace ( const face vertices)

Construct from face vertices.

Definition at line 41 of file blockFace.C.

◆ blockFace() [2/2]

blockFace ( const dictionary dict,
const label  index,
Istream is 
)

Construct from Istream.

Definition at line 48 of file blockFace.C.

◆ ~blockFace()

virtual ~blockFace ( )
inlinevirtual

Destructor.

Definition at line 138 of file blockFace.H.

References blockFace::compare(), blockFace::operator<<, points, blockFace::project(), blockFace::vertices(), and blockFace::write().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "blockFace"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
blockFace  ,
Istream  ,
(const dictionary &dict, const label index, const searchableSurfaces &geometry, Istream &is)  ,
(dict, index, geometry, is)   
)

◆ clone()

Foam::autoPtr< Foam::blockFace > clone ( ) const
virtual

Clone function.

Definition at line 65 of file blockFace.C.

References blockFace::New(), and NotImplemented.

Here is the call graph for this function:

◆ New()

Foam::autoPtr< Foam::blockFace > New ( const dictionary dict,
const label  index,
const searchableSurfaces geometry,
Istream is 
)
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()().

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

◆ vertices()

const Foam::face & vertices ( ) const
inline

Return block face vertices.

Definition at line 28 of file blockFaceI.H.

References blockFace::vertices_.

Referenced by blockFace::compare(), and blockFace::~blockFace().

Here is the caller graph for this function:

◆ compare() [1/2]

bool compare ( const blockFace bf) const
inline

Compare with given blockFace.

Definition at line 34 of file blockFaceI.H.

References blockFace::vertices().

Referenced by blockFace::~blockFace().

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

◆ compare() [2/2]

bool compare ( const face vertices) const
inline

Compare with the given block and block face.

Definition at line 40 of file blockFaceI.H.

References face::sameVertices(), and blockFace::vertices_.

Here is the call graph for this function:

◆ project()

virtual void project ( const blockDescriptor ,
const label  blockFacei,
pointField points 
) const
pure virtual

Implemented in projectFace.

Referenced by blockFace::~blockFace().

Here is the caller graph for this function:

◆ write()

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().

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

Friends And Related Function Documentation

◆ operator<<

Ostream& operator<< ( Ostream ,
const blockFace  
)
friend

Referenced by blockFace::~blockFace().

Member Data Documentation

◆ vertices_

const face vertices_
protected

Block face vertices.

Definition at line 62 of file blockFace.H.

Referenced by blockFace::compare(), Foam::operator<<(), blockFace::vertices(), and blockFace::write().


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