22 double const cutoff_velocity,
23 double const tuning_parameter,
24 std::vector<double>&& element_sizes)
25 : cutoff_velocity_(cutoff_velocity),
26 tuning_parameter_(tuning_parameter),
27 element_sizes_(std::move(element_sizes))
32 "The tuning parameter value {:g} for "
33 "IsotropicDiffusion stabilization is out of range [0, 1]",
39 std::size_t
const element_id,
double const velocity_norm)
const
Definition of the Mesh class.
double const cutoff_velocity_
double computeArtificialDiffusion(std::size_t const element_id, double const velocity_norm) const
std::vector< double > const element_sizes_
IsotropicDiffusionStabilization(double const cutoff_velocity, double const tuning_parameter, std::vector< double > &&element_sizes)
double const tuning_parameter_
The tuning parameter in the range [0,1].