FreeFOAM The Cross-Platform CFD Toolkit
fvBoundaryMesh Class Reference

Foam::fvBoundaryMesh. More...

#include <finiteVolume/fvBoundaryMesh.H>


Detailed Description

+ Inheritance diagram for fvBoundaryMesh:
+ Collaboration diagram for fvBoundaryMesh:

List of all members.

Public Member Functions

 fvBoundaryMesh (const fvMesh &)
 Construct with zero size.
 fvBoundaryMesh (const fvMesh &, const polyBoundaryMesh &)
 Construct from polyBoundaryMesh.
const fvMeshmesh () const
 Return the mesh reference.
lduInterfacePtrsList interfaces () const
 Return a list of pointers for each patch.
void movePoints ()
 Correct patches after moving points.
- Public Member Functions inherited from PtrList< T >
 PtrList ()
 Null Constructor.
 PtrList (const label)
 Construct with length specified.
 PtrList (const PtrList< T > &)
 Copy constructor.
template<class CloneArg >
 PtrList (const PtrList< T > &, const CloneArg &)
 Copy constructor with additional argument for clone.
 PtrList (const Xfer< PtrList< T > > &)
 Construct by transferring the parameter contents.
 PtrList (PtrList< T > &, bool reUse)
 Construct as copy or re-use as specified.
 PtrList (const SLPtrList< T > &)
 Construct as copy of SLPtrList<T>
template<class INew >
 PtrList (Istream &, const INew &)
 Construct from Istream using given Istream constructor class.
 PtrList (Istream &)
 Construct from Istream using default Istream constructor class.
 ~PtrList ()
label size () const
 Return the number of elements in the PtrList.
bool empty () const
 Return true if the PtrList is empty (ie, size() is zero).
void setSize (const label)
 Reset size of PtrList. This can only be used to set the size.
void resize (const label)
 Reset size of PtrList. This can only be used to set the size.
void clear ()
 Clear the PtrList, i.e. set size to zero deleting all the.
void transfer (PtrList< T > &)
 Transfer the contents of the argument PtrList into this PtrList.
Xfer< PtrList< T > > xfer ()
 Transfer contents to the Xfer container.
bool set (const label) const
 Is element set.
autoPtr< Tset (const label, T *)
 Set element. Return old element (can be NULL).
autoPtr< Tset (const label, const autoPtr< T > &)
autoPtr< Tset (const label, const tmp< T > &)
void reorder (const UList< label > &)
 Reorders elements. Ordering does not have to be done in.
const Toperator[] (const label) const
 Return element const reference.
Toperator[] (const label)
 Return element reference.
const Toperator() (const label) const
 Return element const pointer.
PtrList< T > & operator= (const PtrList< T > &)
 Assignment.
iterator begin ()
 Return an iterator to begin traversing the PtrList.
iterator end ()
 Return an iterator to end traversing the PtrList.

Protected Member Functions

void readUpdate (const polyBoundaryMesh &)
 Update boundary based on new polyBoundaryMesh.
- Protected Member Functions inherited from PtrList< T >
template<class INew >
void read (Istream &, const INew &inewt)
 Read from Istream using given Istream constructor class.

Friends

class fvMesh

Additional Inherited Members

- Public Types inherited from PtrList< T >
typedef T value_type
 Type of values the PtrList contains.
typedef Treference
 Type that can be used for storing into PtrList::value_type objects.
typedef const Tconst_reference
 Type that can be used for storing into constant PtrList::value_type.

Constructor & Destructor Documentation

fvBoundaryMesh ( const fvMesh m)

Construct with zero size.

Definition at line 54 of file fvBoundaryMesh.C.

fvBoundaryMesh ( const fvMesh m,
const polyBoundaryMesh basicBdry 
)

Construct from polyBoundaryMesh.

Definition at line 64 of file fvBoundaryMesh.C.


Member Function Documentation

void readUpdate ( const polyBoundaryMesh basicBdry)
protected

Update boundary based on new polyBoundaryMesh.

Definition at line 112 of file fvBoundaryMesh.C.

References PtrList< T >::clear().

const fvMesh& mesh ( ) const
inline

Return the mesh reference.

Definition at line 107 of file fvBoundaryMesh.H.

Referenced by fvPatch::Cf(), fvPatch::Cn(), fvPatch::deltaCoeffs(), fvPatch::magSf(), fvPatch::Sf(), and fvPatch::weights().

lduInterfacePtrsList interfaces ( ) const

Return a list of pointers for each patch.

with only those pointing to interfaces being set

Definition at line 92 of file fvBoundaryMesh.C.

References forAll, patchi, UPtrList< T >::set(), and PtrList< T >::size().

Referenced by fvMesh::interfaces().

void movePoints ( )

Correct patches after moving points.

Definition at line 78 of file fvBoundaryMesh.C.

References forAll, PtrList< T >::operator[](), and patchi.


Friends And Related Function Documentation

friend class fvMesh
friend

Definition at line 83 of file fvBoundaryMesh.H.


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