projectFace Class Reference

Projects the given set of face points onto the selected surface of the geometry provided as a searchableSurfaces object. More...

Inheritance diagram for projectFace:
[legend]
Collaboration diagram for projectFace:
[legend]

Public Member Functions

 TypeName ("project")
 Runtime type information. More...
 
 projectFace (const dictionary &dict, const label index, const searchableSurfaces &geometry, Istream &is)
 Construct from Istream setting pointsList. More...
 
virtual ~projectFace ()=default
 Destructor. More...
 
virtual void project (const blockDescriptor &, const label blockFacei, pointField &points) const
 Project the given points onto the surface. More...
 
- Public Member Functions inherited from blockFace
 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 &is)
 Construct from Istream. More...
 
virtual autoPtr< blockFaceclone () const
 Clone function. More...
 
virtual ~blockFace ()=default
 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...
 

Additional Inherited Members

- Static Public Member Functions inherited from blockFace
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 inherited from blockFace
const face vertices_
 Block face vertices. More...
 

Detailed Description

Projects the given set of face points onto the selected surface of the geometry provided as a searchableSurfaces object.

Source files

Definition at line 54 of file projectFace.H.

Constructor & Destructor Documentation

◆ projectFace()

projectFace ( const dictionary dict,
const label  index,
const searchableSurfaces geometry,
Istream is 
)

Construct from Istream setting pointsList.

Definition at line 133 of file projectFace.C.

◆ ~projectFace()

virtual ~projectFace ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "project"  )

Runtime type information.

◆ project()

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

Project the given points onto the surface.

Implements blockFace.

Definition at line 148 of file projectFace.C.

References blockDescriptor::blockShape(), blockDescriptor::density(), Foam::endl(), forAll, Foam::Info, UList< T >::last(), Foam::mag(), Foam::magSqr(), n, Foam::name(), points, Foam::Pout, autoPtr< T >::reset(), Foam::sum(), linearInterpolationWeights::valueWeights(), blockDescriptor::vertices(), Vector< Cmpt >::x(), Vector< Cmpt >::y(), Vector< Cmpt >::z(), and Foam::Zero.

Here is the call graph for this function:

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