Skip to content
Snippets Groups Projects
Commit 57f61799 authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

Remove transition headers.

These headers were moved in Dune 2.3.
parent 46c589ff
Branches
Tags
No related merge requests found
......@@ -31,17 +31,16 @@ install(FILES
binaryfunctions.hh
bitsetvector.hh
classname.hh
collectivecommunication.hh
debugallocator.hh
debugstream.hh
deprecated.hh
densematrix.hh
densevector.hh
diagonalmatrix.hh
diagonalmatrix.hh
documentation.hh
dotproduct.hh
dotproduct.hh
dynmatrix.hh
dynmatrixev.hh
dynmatrixev.hh
dynvector.hh
enumset.hh
exceptions.hh
......@@ -68,11 +67,6 @@ install(FILES
mallocallocator.hh
math.hh
matvectraits.hh
misc.hh
mpicollectivecommunication.hh
mpiguard.hh
mpihelper.hh
mpitraits.hh
nullptr.hh
parametertree.hh
parametertreeparser.hh
......@@ -81,7 +75,7 @@ install(FILES
power.hh
precision.hh
propertymap.hh
promotiontraits.hh
promotiontraits.hh
reservedvector.hh
shared_ptr.hh
singleton.hh
......
......@@ -27,7 +27,6 @@ commoninclude_HEADERS = \
binaryfunctions.hh \
bitsetvector.hh \
classname.hh \
collectivecommunication.hh \
debugallocator.hh \
debugstream.hh \
deprecated.hh \
......@@ -64,11 +63,6 @@ commoninclude_HEADERS = \
mallocallocator.hh \
math.hh \
matvectraits.hh \
misc.hh \
mpicollectivecommunication.hh \
mpiguard.hh \
mpihelper.hh \
mpitraits.hh \
nullptr.hh \
parametertree.hh \
parametertreeparser.hh \
......
// -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
// vi: set et ts=4 sw=2 sts=2:
#ifndef DUNE_COLLECTIVECOMMUNICATION_HH
#warning dune/common/collectivecommunication.hh is deprecated, please use dune/common/parallel/collectivecommunication.hh
#include "parallel/collectivecommunication.hh"
#endif
// -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
// vi: set et ts=4 sw=2 sts=2:
#ifndef MISC_HH
#define MISC_HH
#warning This file is deprecated. Its contents have moved to stringutility.hh and math.hh, \
or will disappear completely.
/** \file
\brief Miscellaneous helper stuff
*/
#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>
#include <dune/common/stringutility.hh>
#include <dune/common/math.hh>
namespace Dune {
/** @addtogroup Common
@{
*/
/** \brief Compute the square of T */
/**
* \code
*#include <dune/common/misc.hh>
* \endcode
*/
template<class T>
T SQR (T t) DUNE_DEPRECATED_MSG("Use method sqr from math.hh instead");
template<class T>
T SQR (T t)
{
return t*t;
}
//! Calculates m^p at compile time
template <int m, int p>
struct DUNE_DEPRECATED_MSG ("Use class StaticPower from file power.hh instead")Power_m_p
{
// power stores m^p
enum { power = (m * Power_m_p<m,p-1>::power ) };
};
//! end of recursion via specialization
template <int m>
struct DUNE_DEPRECATED_MSG ("Use class StaticPower from file power.hh instead")Power_m_p< m , 0>
{
// m^0 = 1
enum { power = 1 };
};
//********************************************************************
//
// generate filenames with timestep number in it
//
//********************************************************************
/** \brief Generate filenames with timestep number in it */
inline std::string genFilename(const std::string& path,
const std::string& fn,
int ntime,
int precision = 6)
{
std::ostringstream name;
if(path.size() > 0)
{
name << path;
name << "/";
}
name << fn << std::setw(precision) << std::setfill('0') << ntime;
// Return the string corresponding to the stringstream
return name.str();
}
/** @} */
}
#endif
// -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
// vi: set et ts=4 sw=2 sts=2:
#ifndef DUNE_MPICOLLECTIVECOMMUNICATION_HH
#warning dune/common/mpicollectivecommunication.hh is deprecated, please use dune/common/parallel/mpicollectivecommunication.hh
#include "parallel/mpicollectivecommunication.hh"
#endif
// -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
// vi: set et ts=4 sw=2 sts=2:
#ifndef DUNE_COMMON_MPIGUARD_HH
#warning dune/common/mpiguard.hh is deprecated, please use dune/common/parallel/mpiguard.hh
#include "parallel/mpiguard.hh"
#endif
// -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
// vi: set et ts=4 sw=2 sts=2:
#ifndef DUNE_MPIHELPER
#warning dune/common/mpihelper.hh is deprecated, please use dune/common/parallel/mpihelper.hh
#include "parallel/mpihelper.hh"
#endif
// -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
// vi: set et ts=4 sw=2 sts=2:
#ifndef DUNE_MPITRAITS_HH
#warning dune/common/mpitraits.hh is deprecated, please use dune/common/parallel/mpitraits.hh
#include "parallel/mpitraits.hh"
#endif
......@@ -5,3 +5,4 @@ indexsettest
indicestest
selectiontest
syncertest
variablesizecommunicatortest
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment