|
dune-common
2.2.0
|
Miscellaneous helper stuff. More...
Go to the source code of this file.
Classes | |
| struct | Dune::Power_m_p< m, p > |
| Calculates m^p at compile time. More... | |
| struct | Dune::Power_m_p< m, 0 > |
| end of recursion via specialization More... | |
| struct | Dune::Factorial< m > |
| Calculates the factorial of m at compile time. More... | |
| struct | Dune::Factorial< 0 > |
| end of recursion of factorial via specialization More... | |
Namespaces | |
| namespace | Dune |
| Dune namespace. | |
Functions | |
| template<class K > | |
| K | Dune::conjugateComplex (const K &x) |
| compute conjugate complex of x | |
| template<class T > | |
| int | Dune::sign (const T &val) |
| Return the sign of the value. | |
| template<class T > | |
| T | Dune::SQR (T t) |
| Compute the square of T. | |
| std::string | Dune::genFilename (const std::string &path, const std::string &fn, int ntime, int precision=6) |
| Generate filenames with timestep number in it. | |
| template<typename C > | |
| bool | Dune::hasPrefix (const C &c, const char *prefix) |
| check whether a character container has a given prefix | |
| template<typename C > | |
| bool | Dune::hasSuffix (const C &c, const char *suffix) |
| check whether a character container has a given suffix | |
Miscellaneous helper stuff.
1.8.1