fvMeshDistributor Class Referenceabstract

Abstract base class for fvMesh movers. More...

Inheritance diagram for fvMeshDistributor:

Classes

class  velocityMotionCorrection
 Helper class to update the velocity boundary conditions. More...
 

Public Member Functions

 TypeName ("fvMeshDistributor")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, fvMeshDistributor, fvMesh,(fvMesh &mesh),(mesh))
 
 fvMeshDistributor (fvMesh &)
 Construct from fvMesh. More...
 
 fvMeshDistributor (const fvMeshDistributor &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~fvMeshDistributor ()
 Destructor. More...
 
fvMeshmesh ()
 Return the fvMesh. More...
 
const fvMeshmesh () const
 Return the fvMesh. More...
 
const dictionarydict () const
 Return the dynamicMeshDict/distributor sub-dict. More...
 
virtual bool dynamic () const
 Is mesh dynamic, i.e. might it change? More...
 
virtual bool update ()=0
 Update the mesh for both mesh motion and topology change. More...
 
virtual void topoChange (const polyTopoChangeMap &)=0
 Update corresponding to the given map. More...
 
virtual void mapMesh (const polyMeshMap &)=0
 Update from another mesh using the given map. More...
 
virtual void distribute (const polyDistributionMap &)=0
 Update corresponding to the given distribution map. More...
 
virtual bool write (const bool write=true) const
 Write the mover state. More...
 
void operator= (const fvMeshDistributor &)=delete
 Disallow default bitwise assignment. More...
 

Static Public Member Functions

static autoPtr< fvMeshDistributorNew (fvMesh &)
 Select, construct and return the fvMeshDistributor. More...
 

Detailed Description

Abstract base class for fvMesh movers.

These classes move the mesh points, update the cell volumes and generate the corresponding mesh fluxes without any topology change.

Source files

Definition at line 52 of file fvMeshDistributor.H.

Constructor & Destructor Documentation

◆ fvMeshDistributor() [1/2]

fvMeshDistributor ( fvMesh mesh)
explicit

Construct from fvMesh.

Definition at line 40 of file fvMeshDistributor.C.

References fvMeshDistributor::velocityMotionCorrection::velocityMotionCorrection().

Here is the call graph for this function:

◆ fvMeshDistributor() [2/2]

fvMeshDistributor ( const fvMeshDistributor )
delete

Disallow default bitwise copy construction.

◆ ~fvMeshDistributor()

~fvMeshDistributor ( )
virtual

Destructor.

Definition at line 75 of file fvMeshDistributor.C.

Member Function Documentation

◆ TypeName()

TypeName ( "fvMeshDistributor"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
fvMeshDistributor  ,
fvMesh  ,
(fvMesh &mesh ,
(mesh  
)

◆ New()

Foam::autoPtr< Foam::fvMeshDistributor > New ( fvMesh mesh)
static

Select, construct and return the fvMeshDistributor.

If the constant/dynamicMeshDict does not exist a staticFvMesh is returned

Definition at line 31 of file fvMeshDistributorNew.C.

References TimePaths::constant(), polyMesh::dbDir(), dict, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, dictionary::found(), typeIOobject< Type >::headerOk(), Foam::Info, Foam::libs, dictionary::lookup(), mesh, Foam::nl, dlLibraryTable::open(), dictionary::subDict(), and fvMesh::time().

Referenced by fvMesh::fvMesh().

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

◆ mesh() [1/2]

fvMesh& mesh ( )
inline

Return the fvMesh.

Definition at line 132 of file fvMeshDistributor.H.

Referenced by loadBalancer::update(), and distributor::update().

Here is the caller graph for this function:

◆ mesh() [2/2]

const fvMesh& mesh ( ) const
inline

Return the fvMesh.

Definition at line 138 of file fvMeshDistributor.H.

◆ dict()

const dictionary& dict ( ) const
inline

Return the dynamicMeshDict/distributor sub-dict.

Definition at line 144 of file fvMeshDistributor.H.

References fvMeshDistributor::distribute(), fvMeshDistributor::dynamic(), fvMeshDistributor::mapMesh(), dictionary::subDict(), fvMeshDistributor::topoChange(), and fvMeshDistributor::velocityMotionCorrection::update().

Here is the call graph for this function:

◆ dynamic()

virtual bool dynamic ( ) const
inlinevirtual

Is mesh dynamic, i.e. might it change?

Defaults to true, set to false in the fvMeshDistributors::none

Reimplemented in none.

Definition at line 151 of file fvMeshDistributor.H.

Referenced by fvMeshDistributor::dict().

Here is the caller graph for this function:

◆ update()

virtual bool update ( )
pure virtual

Update the mesh for both mesh motion and topology change.

Implemented in distributor, loadBalancer, and none.

◆ topoChange()

virtual void topoChange ( const polyTopoChangeMap )
pure virtual

Update corresponding to the given map.

Implemented in distributor, and none.

Referenced by fvMeshDistributor::dict().

Here is the caller graph for this function:

◆ mapMesh()

virtual void mapMesh ( const polyMeshMap )
pure virtual

Update from another mesh using the given map.

Implemented in distributor, and none.

Referenced by fvMeshDistributor::dict().

Here is the caller graph for this function:

◆ distribute()

virtual void distribute ( const polyDistributionMap )
pure virtual

Update corresponding to the given distribution map.

Implemented in distributor, and none.

Referenced by fvMeshDistributor::dict().

Here is the caller graph for this function:

◆ write()

virtual bool write ( const bool  write = true) const
inlinevirtual

Write the mover state.

Reimplemented in distributor.

Definition at line 169 of file fvMeshDistributor.H.

References fvMeshDistributor::operator=().

Here is the call graph for this function:

◆ operator=()

void operator= ( const fvMeshDistributor )
delete

Disallow default bitwise assignment.

Referenced by fvMeshDistributor::write().

Here is the caller graph for this function:

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