31template<
class RhoFieldType>
36 const RhoFieldType&
rho,
40 const scalar C0 = C0_;
41 const scalar C1m1b2 = (C1_ - 1.0)/2.0;
47 for (
const label celli :
cells)
56template<
class RhoFieldType>
60 const RhoFieldType&
rho,
64 const scalar C0 = C0_;
65 const scalar C1m1b2 = (C1_ - 1.0)/2.0;
67 for (
const label zonei : cellZoneIDs_)
71 for (
const label celli :
cells)
virtual void apply()=0
Apply bins.
const cellZoneMesh & cellZones() const noexcept
Return cell zone mesh.
const fvMesh & mesh_
Reference to the mesh database.
labelList cellZoneIDs_
Cell zone IDs.
List< label > labelList
A List of labels.
static const Identity< scalar > I
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
Field< vector > vectorField
Specialisation of Field<T> for vector.
Field< tensor > tensorField
Specialisation of Field<T> for tensor.
dimensioned< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)