Go to the documentation of this file.
55 template<
class CloudType>
61 const dictionary& dict_;
67 const dictionary coeffDict_;
70 scalar forceRampTime_;
97 const dictionary&
dict,
109 const dictionary&
dict,
120 static autoPtr<PairModel<CloudType>>
New
122 const dictionary&
dict,
133 const dictionary&
dict()
const;
165 #define makePairModel(CloudType) \
167 defineNamedTemplateTypeNameAndDebug(Foam::PairModel<Foam::CloudType>, 0); \
171 defineTemplateRunTimeSelectionTable \
173 PairModel<Foam::CloudType>, \
179 #define makePairModelType(SS, CloudType) \
181 defineNamedTemplateTypeNameAndDebug(Foam::SS<Foam::CloudType>, 0); \
183 Foam::PairModel<Foam::CloudType>:: \
184 adddictionaryConstructorToTable<Foam::SS<Foam::CloudType>> \
185 add##SS##CloudType##ConstructorToTable_;
PairModel(const dictionary &dict, CloudType &owner, const word &type)
virtual void evaluatePair(typename CloudType::parcelType &pA, typename CloudType::parcelType &pB) const =0
virtual label nSubCycles() const =0
static autoPtr< PairModel< CloudType > > New(const dictionary &dict, CloudType &owner)
const CloudType & owner() const
const dictionary & dict() const
DSMCCloud< dsmcParcel > CloudType
declareRunTimeSelectionTable(autoPtr, PairModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner))
const dictionary & coeffDict() const
virtual bool controlsTimestep() const =0
Macros to ease declaration of run-time selection tables.
fileName::Type type(const fileName &name, const bool followLink=true)
scalar forceCoeff(typename CloudType::parcelType &pA, typename CloudType::parcelType &pB) const