Logo  0.95.0-final
Finite Element Embedded Library and Language in C++
Feel++ Feel++ on Github Feel++ community
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Feel::Component< T > Struct Template Reference

#include <policy.hpp>

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>

Public 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
 
typedef mpl::vector< Scalar
< nDim >, Vectorial< nDim >
, Tensor2< nDim > > 
types
 

Static Public Attributes

static const uint16_type nDim = T::nDim
 

The documentation for this struct was generated from the following file:

Generated on Fri Oct 25 2013 14:24:28 for Feel++ by doxygen 1.8.4