6 #warning This file is deprecated. Its contents have moved to stringutility.hh and math.hh, \
7 or will disappear completely.
53 template <
int m,
int p>
76 const std::string& fn,
80 std::ostringstream name;
87 name << fn << std::setw(precision) << std::setfill(
'0') << ntime;
A few common exception classes.
T t
Definition: alignment.hh:38
T SQR(T t)
Compute the square of T.
Definition: misc.hh:47
#define DUNE_DEPRECATED_MSG(text)
Mark some entity as deprecated.
Definition: deprecated.hh:169
Calculates m^p at compile time.
Definition: misc.hh:54
Traits for type conversions and type information.
Definition of the DUNE_DEPRECATED macro for the case that config.h is not available.
Miscellaneous helper stuff.
std::string genFilename(const std::string &path, const std::string &fn, int ntime, int precision=6)
Generate filenames with timestep number in it.
Definition: misc.hh:75
Calculates m^p at compile time.
Definition: power.hh:19
Some useful basic math stuff.