misc.hh File Reference


Detailed Description

Miscellaneous helper stuff.

#include <iostream>
#include <sstream>
#include "exceptions.hh"
#include "deprecated.hh"

Go to the source code of this file.

Namespaces

namespace  Dune

Classes

class  Dune::CompileTimeChecker< true >
struct  Dune::Int2Type< N >
 Map an integer value to a type. More...
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...

Functions

template<class T>
int Dune::sign (const T &val)
 Return the sign of the value.
template<class 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.


Generated on Sun Nov 15 22:28:14 2009 for dune-common by  doxygen 1.5.6