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;
Calculates m^p at compile time.
Definition: misc.hh:54
Traits for type conversions and type information.
#define DUNE_DEPRECATED_MSG(text)
Mark some entity as deprecated.
Definition: deprecated.hh:169
T t
Definition: alignment.hh:38
Dune namespace.
Definition: alignment.hh:13
A few common exception classes.
Miscellaneous helper stuff.
Calculates m^p at compile time.
Definition: power.hh:19
Definition of the DUNE_DEPRECATED macro for the case that config.h is not available.
T SQR(T t)
Compute the square of T.
Definition: misc.hh:47
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
Some useful basic math stuff.