File hermes_utils.hxx

Defines

HERMES_UTILS_H

Functions

inline BoutReal floor(BoutReal value, BoutReal min)
template<typename T, typename = bout::utils::EnableIfField<T>>
inline T clamp(const T &var, BoutReal lo, BoutReal hi, const std::string &rgn = "RGN_ALL")
template<typename T, typename = bout::utils::EnableIfField<T>>
Ind3D indexAt(const T &f, int x, int y, int z)