35 #ifndef CarrierCoeff_H
36 #define CarrierCoeff_H
52 template<
class Type,
bool Implicit>
Class to store a coefficient of a carrier equation.
void operator*=(const dimensionedScalar &s)
Multiply assignment.
void operator+=(const LagrangianCoeff< Type, Implicit > &lCoeff)
Addition assignment.
bool valid() const
Determine whether this coefficient has values or not.
void operator/=(const dimensionedScalar &s)
Division assignment.
CarrierCoeff(const CarrierEqnBase &eqn)
Construct from a reference to the equation.
const DimensionedField< Type, fvMesh > & S() const
Access the field.
void negate()
In-place negation.
void clear()
Clear the coefficient values.
void operator-=(const LagrangianCoeff< Type, Implicit > &lCoeff)
Subtraction assignment.
Non-templated base class for carrier equations.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Class to store a coefficient of a Lagrangian equation.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(lagrangian::Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< " ";}gmvFile<< nl;forAllConstIter(lagrangian::Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< " ";}gmvFile<< nl;forAllConstIter(lagrangian::Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.name(), lagrangian::cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))