dune-common
2.2.1
|
Miscellaneous helper stuff. More...
#include <algorithm>
#include <cstddef>
#include <cstring>
#include <cstdio>
#include <iostream>
#include <iomanip>
#include <iterator>
#include <sstream>
#include <complex>
#include <dune/common/deprecated.hh>
#include "exceptions.hh"
#include <dune/common/typetraits.hh>
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 More... | |
template<class T > | |
int | Dune::sign (const T &val) |
Return the sign of the value. More... | |
template<class T > | |
T | Dune::SQR (T t) |
Compute the square of T. More... | |
std::string | Dune::genFilename (const std::string &path, const std::string &fn, int ntime, int precision=6) |
Generate filenames with timestep number in it. More... | |
template<typename C > | |
bool | Dune::hasPrefix (const C &c, const char *prefix) |
check whether a character container has a given prefix More... | |
template<typename C > | |
bool | Dune::hasSuffix (const C &c, const char *suffix) |
check whether a character container has a given suffix More... | |
Miscellaneous helper stuff.