Forked from
Core Modules / dune-common
6031 commits behind the upstream repository.
-
Christian Engwer authored
few cases, where CRTP really makes sense!) * type infroamtion is provided via DenseMatVecTraits [[Imported from SVN: r6171]]
Christian Engwer authoredfew cases, where CRTP really makes sense!) * type infroamtion is provided via DenseMatVecTraits [[Imported from SVN: r6171]]
matvectraits.hh 880 B
// -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
// vi: set et ts=4 sw=2 sts=2:
// $Id: fvector.hh 5262 2008-09-07 09:03:38Z christi $
#ifndef DUNE_MATVECTRAITS_HH
#define DUNE_MATVECTRAITS_HH
namespace Dune {
/**
@addtogroup DenseMatVec
\brief Type Traits to retrieve types associated with an implementation of Dune::DenseVector or Dune::DenseMatrix
you have to specialize this class for every implementation of DenseVector or DenseMatrix.
\code
//! export the type of the derived class (e.g. FieldVector<K,SIZE>)
typedef ... derived_type;
//! export the type of the stored values
typedef ... value_type;
//! export the type representing the size information
typedef ... size_type;
\endcode
*/
template<class T>
struct DenseMatVecTraits {};
} // end namespace Dune
#endif // DUNE_FTRAITS_HH