NoDamping< CloudType > Class Template Reference

Place holder for the 'none' option. More...

Inheritance diagram for NoDamping< CloudType >:
[legend]
Collaboration diagram for NoDamping< CloudType >:
[legend]

Public Member Functions

 TypeName ("none")
 Runtime type information. More...
 
 NoDamping (const dictionary &dict, CloudType &owner)
 Construct from components. More...
 
 NoDamping (const NoDamping< CloudType > &cm)
 Construct copy. More...
 
virtual autoPtr< DampingModel< CloudType > > clone () const
 Construct and return a clone. More...
 
virtual ~NoDamping ()
 Destructor. More...
 
virtual vector velocityCorrection (typename CloudType::parcelType &p, const scalar deltaT) const
 Member Functions. More...
 
virtual bool active () const
 Return the model 'active' status. More...
 
- Public Member Functions inherited from DampingModel< CloudType >
 TypeName ("dampingModel")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, DampingModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner))
 Declare runtime constructor selection table. More...
 
 DampingModel (CloudType &owner)
 Construct null from owner. More...
 
 DampingModel (const dictionary &dict, CloudType &owner, const word &type)
 Construct from components. More...
 
 DampingModel (const DampingModel< CloudType > &cm)
 Construct copy. More...
 
virtual ~DampingModel ()
 Destructor. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from DampingModel< CloudType >
static autoPtr< DampingModel< CloudType > > New (const dictionary &dict, CloudType &owner)
 Selector. More...
 
- Protected Attributes inherited from DampingModel< CloudType >
autoPtr< TimeScaleModeltimeScaleModel_
 Time scale model. More...
 

Detailed Description

template<class CloudType>
class Foam::DampingModels::NoDamping< CloudType >

Place holder for the 'none' option.

Source files

Definition at line 56 of file NoDamping.H.

Constructor & Destructor Documentation

◆ NoDamping() [1/2]

NoDamping ( const dictionary dict,
CloudType owner 
)

Construct from components.

Definition at line 34 of file NoDamping.C.

◆ NoDamping() [2/2]

NoDamping ( const NoDamping< CloudType > &  cm)

Construct copy.

Definition at line 45 of file NoDamping.C.

◆ ~NoDamping()

~NoDamping ( )
virtual

Destructor.

Definition at line 56 of file NoDamping.C.

Member Function Documentation

◆ TypeName()

TypeName ( "none"  )

Runtime type information.

◆ clone()

virtual autoPtr<DampingModel<CloudType> > clone ( ) const
inlinevirtual

Construct and return a clone.

Implements DampingModel< CloudType >.

Definition at line 74 of file NoDamping.H.

◆ velocityCorrection()

Foam::vector velocityCorrection ( typename CloudType::parcelType p,
const scalar  deltaT 
) const
virtual

Member Functions.

Calculate the velocity correction

Implements DampingModel< CloudType >.

Definition at line 63 of file NoDamping.C.

References Foam::Zero.

◆ active()

bool active ( ) const
virtual

Return the model 'active' status.

Definition at line 73 of file NoDamping.C.


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