|
SPH
|
Implementation of the Balsara switch. More...
#include "sph/equations/DerivativeHelpers.h"#include "sph/equations/EquationTerm.h"#include "system/Settings.h"Go to the source code of this file.
Classes | |
| class | BalsaraSwitch< AV > |
| Implementation of the Balsara switch [2], designed to reduce artificial viscosity in shear flows and avoid numerical issues, such as unphysical transport of angular momentum. More... | |
Functions | |
| template<typename Type > | |
| NAMESPACE_SPH_BEGIN std::enable_if_t<!std::is_constructible< Type, const RunSettings & >::value, Type > | makeFromSettings (const RunSettings &UNUSED(settings)) |
| Helper function allowing to construct an object from settings if the object defines such constructor, or default-construct the object otherwise. More... | |
| template<typename Type > | |
| std::enable_if_t< std::is_constructible< Type, const RunSettings & >::value, Type > | makeFromSettings (const RunSettings &settings) |
| Specialization for types constructible from settings. More... | |
| std::enable_if_t<std::is_constructible<Type, const RunSettings&>::value, Type> makeFromSettings | ( | const RunSettings & | settings | ) |
| NAMESPACE_SPH_BEGIN std::enable_if_t<!std::is_constructible<Type, const RunSettings&>::value, Type> makeFromSettings | ( | const RunSettings & | UNUSEDsettings | ) |