Feel++  0.92.0
Public Types | Static Public Attributes
Feel::Component< T > Struct Template Reference

#include <policy.hpp>

List of all members.

Public Types

typedef mpl::vector< Scalar
< nDim >, Vectorial< nDim >
, Tensor2< nDim > > 
types
typedef mpl::if_
< boost::is_same< T, Scalar
< nDim > >, mpl::identity
< Scalar< nDim > >, typename
mpl::if_< boost::is_same< T,
Vectorial< nDim >
>, mpl::identity< Vectorial
< nDim > >, typename mpl::if_
< boost::is_same< T, Tensor2
< nDim > >, mpl::identity
< Tensor2< nDim > > >::type >
::type >::type::type 
type

Static Public Attributes

static const uint16_type nDim = T::nDim

Detailed Description

template<typename T>
struct Feel::Component< T >

Get the component type out the available types

 typedef typename Component<Vectorial<3> >::type component_type;
 // component_type should be of type \c Scalar<3>