src/DiffEq/DissipationCoeffPolicy.h file

Particle dissipation equation coefficients policies.


This file defines coefficients policy classes for the Lagrangian particle dissipation equation defined in DiffEq/Dissipation.h.

General requirements on dissipation equation coefficients policy classes:

  • Must define a constructor, which is used to initialize the SDE coefficient, C0. Required signature:

      kw::sde_c3::info::expect::type c3_,
      kw::sde_c4::info::expect::type c4_,
      kw::sde_com1::info::expect::type com1_,
      kw::sde_com2::info::expect::type com2_,
      kw::sde_c3::info::expect::type& c3,
      kw::sde_c4::info::expect::type& c4,
      kw::sde_com1::info::expect::type& com1,
      kw::sde_com2::info::expect::type& com2 )
  • Must define the static function type(), returning the enum value of the policy option. Example:

    static ctr::CoeffPolicyType type() noexcept {
      return ctr::CoeffPolicyType::CONST_COEFF;

    which returns the enum value of the option from the underlying option class, collecting all possible options for coefficients policies.


namespace walker
Walker declarations and definitions.


class walker::DissipationCoeffConst
Dissipation equation coefficients policy keeping the coefficients constant.
class walker::DissipationCoeffStationary
Dissipation equation coefficients policy keeping the dissipation rate in a constant statistically stationary state.