dune-pdelab 2.7-git
Loading...
Searching...
No Matches
Classes | Typedefs | Functions
Dune::PDELab::Backend Namespace Reference

Classes

struct  attached_container
 Tag for requesting a vector or matrix container with a pre-attached underlying object. More...
 
struct  unattached_container
 Tag for requesting a vector or matrix container without a pre-attached underlying object. More...
 

Typedefs

template<typename GridFunctionSpace , typename FieldType >
using Vector = typename impl::BackendVectorSelector< GridFunctionSpace, FieldType >::Type
 alias of the return type of BackendVectorSelector
 
template<typename Backend , typename VU , typename VV , typename E >
using Matrix = typename impl::BackendMatrixSelector< Backend, VU, VV, E >::Type
 alias of the return type of BackendMatrixSelector
 
template<typename T >
using Native = typename native_type< T >::type
 Alias of the native container type associated with T or T itself if it is not a backend wrapper.
 

Functions

template<typename T >
std::enable_if< std::is_base_of< impl::WrapperBase, T >::value, Native< T > & >::type native (T &t)
 
template<typename T >
std::enable_if< std::is_base_of< impl::WrapperBase, T >::value, constNative< T > & >::type native (const T &t)
 
template<typename T >
std::enable_if<!std::is_base_of< impl::WrapperBase, typenamestd::decay< T >::type >::value, decltype(std::forward< T >(std::declval< T && >()))>::type native (T &&t)
 

Typedef Documentation

◆ Matrix

template<typename Backend , typename VU , typename VV , typename E >
using Dune::PDELab::Backend::Matrix = typedef typename impl::BackendMatrixSelector<Backend, VU, VV, E>::Type

alias of the return type of BackendMatrixSelector

This alias can be used as a short hand for retrieving the matrix type for given matrix backend, domain, range and field type.

typedef typename Dune::PDELab::BackendMatrixSelector<Backend,VU,VV,E>::Type Mat;

simplifies to

typename impl::BackendMatrixSelector< Backend, VU, VV, E >::Type Matrix
alias of the return type of BackendMatrixSelector
Definition backend/interface.hh:127

or

◆ Native

template<typename T >
using Dune::PDELab::Backend::Native = typedef typename native_type<T>::type

Alias of the native container type associated with T or T itself if it is not a backend wrapper.

◆ Vector

template<typename GridFunctionSpace , typename FieldType >
using Dune::PDELab::Backend::Vector = typedef typename impl::BackendVectorSelector<GridFunctionSpace, FieldType>::Type

alias of the return type of BackendVectorSelector

This alias can be used as a short hand for retrieving the vector type for a grid function space and a given field type. The typedef

typedef typename Dune::PDELab::BackendVectorSelector<GFS,FT>::Type Vec;

simplifies to

typename impl::BackendVectorSelector< GridFunctionSpace, FieldType >::Type Vector
alias of the return type of BackendVectorSelector
Definition backend/interface.hh:106

or

Function Documentation

◆ native() [1/3]

template<typename T >
std::enable_if< std::is_base_of< impl::WrapperBase, T >::value, constNative< T > & >::type Dune::PDELab::Backend::native ( const T &  t)

◆ native() [2/3]

template<typename T >
std::enable_if<!std::is_base_of< impl::WrapperBase, typenamestd::decay< T >::type >::value, decltype(std::forward< T >(std::declval< T && >()))>::type Dune::PDELab::Backend::native ( T &&  t)

◆ native() [3/3]

template<typename T >
std::enable_if< std::is_base_of< impl::WrapperBase, T >::value, Native< T > & >::type Dune::PDELab::Backend::native ( T &  t)