Public Member Functions | Friends | List of all members
blockDescriptor Class Reference

Takes the description of the block and the list of curved edges and creates a list of points on edges together with the weighting factors. More...

Inheritance diagram for blockDescriptor:
Inheritance graph
[legend]

Public Member Functions

 blockDescriptor (const cellShape &, const pointField &blockPointField, const curvedEdgeList &, const Vector< label > &meshDensity, const UList< gradingDescriptors > &expand, const word &zoneName="")
 Construct from components. Optional cellSet/zone name. More...
 
 blockDescriptor (const pointField &blockPointField, const curvedEdgeList &, Istream &)
 Construct from Istream. More...
 
autoPtr< blockDescriptorclone () const
 Clone. More...
 
 ~blockDescriptor ()
 Destructor. More...
 
const Vector< label > & density () const
 Return the number of cells in the i,j,k directions. More...
 
const pointFieldblockPointField () const
 Reference to point field defining the block mesh. More...
 
const cellShapeblockShape () const
 Return the block shape. More...
 
const List< List< point > > & blockEdgePoints () const
 Return the block points along each edge. More...
 
const scalarListListblockEdgeWeights () const
 Return the weightings along each edge. More...
 
const Vector< label > & meshDensity () const
 Return the mesh density (number of cells) in the i,j,k directions. More...
 
const wordzoneName () const
 Return the (optional) zone name. More...
 
label nPoints () const
 Return the number of points. More...
 
label nCells () const
 Return the number of cells. More...
 
const pointblockPoint (const label i) const
 Return block point at local label i. More...
 

Friends

Ostreamoperator<< (Ostream &, const blockDescriptor &)
 

Detailed Description

Takes the description of the block and the list of curved edges and creates a list of points on edges together with the weighting factors.

Source files

Definition at line 61 of file blockDescriptor.H.

Constructor & Destructor Documentation

blockDescriptor ( const cellShape bshape,
const pointField blockPointField,
const curvedEdgeList edges,
const Vector< label > &  meshDensity,
const UList< gradingDescriptors > &  expand,
const word zoneName = "" 
)

Construct from components. Optional cellSet/zone name.

Definition at line 32 of file blockDescriptor.C.

References Foam::exit(), Foam::FatalError, and FatalErrorIn.

Here is the call graph for this function:

blockDescriptor ( const pointField blockPointField,
const curvedEdgeList edges,
Istream is 
)

Destructor.

Definition at line 181 of file blockDescriptor.C.

Referenced by blockDescriptor::clone().

Here is the caller graph for this function:

Member Function Documentation

autoPtr<blockDescriptor> clone ( ) const
inline

Clone.

Definition at line 129 of file blockDescriptor.H.

References notImplemented, and blockDescriptor::~blockDescriptor().

Here is the call graph for this function:

const Vector<label>& density ( ) const
inline
const Foam::pointField & blockPointField ( ) const

Reference to point field defining the block mesh.

Definition at line 187 of file blockDescriptor.C.

Referenced by blockDescriptor::density().

Here is the caller graph for this function:

const Foam::cellShape & blockShape ( ) const

Return the block shape.

Definition at line 193 of file blockDescriptor.C.

Referenced by blockDescriptor::density(), and Foam::operator<<().

Here is the caller graph for this function:

const Foam::List< Foam::List< Foam::point > > & blockEdgePoints ( ) const

Return the block points along each edge.

Definition at line 200 of file blockDescriptor.C.

Referenced by blockDescriptor::density().

Here is the caller graph for this function:

const Foam::scalarListList & blockEdgeWeights ( ) const

Return the weightings along each edge.

Definition at line 206 of file blockDescriptor.C.

Referenced by blockDescriptor::density().

Here is the caller graph for this function:

const Foam::Vector< Foam::label > & meshDensity ( ) const

Return the mesh density (number of cells) in the i,j,k directions.

Definition at line 212 of file blockDescriptor.C.

Referenced by blockDescriptor::density(), Foam::faceNij(), Foam::facePoint(), Foam::facePointN(), Foam::operator<<(), and block::vtxLabel().

Here is the caller graph for this function:

const Foam::word & zoneName ( ) const

Return the (optional) zone name.

Definition at line 218 of file blockDescriptor.C.

Referenced by blockDescriptor::density(), and Foam::operator<<().

Here is the caller graph for this function:

Foam::label nPoints ( ) const

Return the number of points.

Definition at line 224 of file blockDescriptor.C.

References Vector< Cmpt >::x(), Vector< Cmpt >::y(), and Vector< Cmpt >::z().

Referenced by blockDescriptor::density().

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::label nCells ( ) const

Return the number of cells.

Definition at line 235 of file blockDescriptor.C.

References Vector< Cmpt >::x(), Vector< Cmpt >::y(), and Vector< Cmpt >::z().

Referenced by blockDescriptor::density().

Here is the call graph for this function:

Here is the caller graph for this function:

const Foam::point & blockPoint ( const label  i) const

Return block point at local label i.

Definition at line 246 of file blockDescriptor.C.

Referenced by blockDescriptor::density().

Here is the caller graph for this function:

Friends And Related Function Documentation

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

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