38 return carrierField<Type, VolField<Type>>(
psi);
42 template<
class Type,
class ... Args>
51 if (lookupPtr)
return *lookupPtr;
54 carrierFields<Type>().insert(ptr->
name(), ptr);
66 carrierEqns<Type>().lookupPtr(
psi.name());
68 if (lookupPtr)
return *lookupPtr;
71 carrierEqns<Type>().insert(
psi.name(), ptr);
82 return carrierEqns<Type>()[
psi.name()];
92 return carrierEqn(psic.
psi());
102 return carrierEqn(psic.
psi());
Class to store the coefficients of a term in a carrier equation.
A field interpolated from the carrier to the cloud. Uses CloudDerivedField to provide flexible access...
const VolField< Type > & psi() const
Access the carrier field.
const word & name() const
Carrier field name.
Generic GeometricField class.
CarrierEqn< Type > & carrierEqn(const VolField< Type > &)
Add/get a carrier equation to/from the cache.
const CarrierField< Type > & carrierField(const VolField< Type > &) const
Add/get a carrier field to/from the cache.
const volScalarField & psi
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
Foam::argList args(argc, argv)