Loading...
Searching...
No Matches
blockFace Class Referenceabstract

Define a curved face. More...

#include <blockFace.H>

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.
 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.
 blockFace (const dictionary &dict, const label index, Istream &is)
 Construct from Istream.
virtual autoPtr< blockFaceclone () const
 Clone function.
virtual ~blockFace ()=default
 Destructor.
const facevertices () const
 Return block face vertices.
bool compare (const blockFace &) const
 Compare with given blockFace.
bool compare (const face &vertices) const
 Compare with the given block and block face.
virtual void project (const blockDescriptor &, const label blockFacei, pointField &points) const =0
void write (Ostream &, const dictionary &) const
 Write face with variable backsubstitution.

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.

Protected Attributes

const face vertices_
 Block face vertices.

Friends

Ostreamoperator<< (Ostream &, const blockFace &)

Detailed Description

Define a curved face.

Source files

Definition at line 53 of file blockFace.H.

Constructor & Destructor Documentation

◆ blockFace() [1/2]

blockFace ( const face & vertices)
explicit

Construct from face vertices.

Definition at line 37 of file blockFace.C.

References vertices(), and vertices_.

Referenced by compare(), declareRunTimeSelectionTable(), operator<<, projectFace::projectFace(), and ~blockFace().

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

◆ blockFace() [2/2]

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

Construct from Istream.

Definition at line 43 of file blockFace.C.

References dict, Foam::read(), and vertices_.

Here is the call graph for this function:

◆ ~blockFace()

virtual ~blockFace ( )
virtualdefault

Destructor.

References blockFace(), and vertices().

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

References blockFace(), dict, and vertices().

Here is the call graph for this function:

◆ clone()

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

Clone function.

Definition at line 61 of file blockFace.C.

References NotImplemented.

◆ 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 68 of file blockFace.C.

References Foam::abort(), DebugInFunction, dict, Foam::endl(), Foam::FatalIOError, and FatalIOErrorInLookup.

Referenced by 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 23 of file blockFaceI.H.

References vertices_.

Referenced by blockFace(), compare(), compare(), declareRunTimeSelectionTable(), and ~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 29 of file blockFaceI.H.

References blockFace(), compare(), and vertices().

Referenced by compare().

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 35 of file blockFaceI.H.

References face::sameVertices(), vertices(), and 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.

References points.

◆ write()

void write ( Ostream & os,
const dictionary & d ) const

Write face with variable backsubstitution.

Definition at line 99 of file blockFace.C.

References token::BEGIN_LIST, token::END_LIST, forAll, os(), token::SPACE, vertices_, and blockVertex::write().

Here is the call graph for this function:

◆ operator<<

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

References blockFace().

Member Data Documentation

◆ vertices_

const face vertices_
protected

Block face vertices.

Definition at line 62 of file blockFace.H.

Referenced by blockFace(), blockFace(), compare(), vertices(), and write().


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