dune-pdelab  2.4.1
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 More...
 
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 More...
 
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. More...
 

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, const Native< T > & >::type native (const T &t)
 
template<typename T >
std::enable_if< !std::is_base_of< impl::WrapperBase, typename std::decay< T >::type >::value, decltype(std::forward< T >std::declval< T && >))) >::type native (T &&t)
 

Typedef Documentation

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

or

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.

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

or

Function Documentation

template<typename T >
std::enable_if< std::is_base_of<impl::WrapperBase,T>::value, Native<T>& >::type Dune::PDELab::Backend::native ( T &  t)
Examples:
/build/dune-pdelab-kbanWr/dune-pdelab-2.4.1/dune/pdelab/backend/simple/sparse.hh.

Referenced by Dune::PDELab::OverlappingOperator< CC, M, X, Y >::apply(), Dune::PDELab::NonoverlappingOperator< GFS, M, X, Y >::apply(), Dune::PDELab::ISTLBackend_SEQ_Base< Dune::SeqJac, Dune::BiCGSTABSolver >::apply(), Dune::PDELab::ISTLBackend_SEQ_ILU0< Dune::CGSolver >::apply(), Dune::PDELab::OverlappingWrappedPreconditioner< CC, GFS, P >::apply(), Dune::PDELab::ISTLBackend_SEQ_ILUn< Dune::CGSolver >::apply(), Dune::PDELab::ISTLBackend_SEQ_AMG_4_DG< DGGO, CGGFS, TransferLOP, DGPrec, Solver >::apply(), Dune::PDELab::OvlpDGAMGPrec< DGGFS, DGMatrix, DGPrec, DGCC, CGGFS, CGPrec, CGCC, P, DGHelper, Comm >::apply(), Dune::PDELab::ISTLBackend_OVLP_Base< GFS, CC, Dune::SeqSSOR, Dune::BiCGSTABSolver >::apply(), Dune::PDELab::ISTLBackend_SEQ_SuperLU::apply(), Dune::PDELab::ISTLBackend_NOVLP_CG_Jacobi< GFS >::apply(), Dune::PDELab::ISTLBackend_SEQ_UMFPack::apply(), Dune::PDELab::ISTLBackend_OVLP_ILU0_Base< GFS, CC, Dune::BiCGSTABSolver >::apply(), Dune::PDELab::ISTLBackend_SEQ_ExplicitDiagonal::apply(), Dune::PDELab::ISTLBackend_OVLP_ILUn_Base< GFS, CC, Dune::BiCGSTABSolver >::apply(), Dune::PDELab::ISTLBackend_SEQ_AMG< GO, Dune::SeqSOR, Dune::LoopSolver >::apply(), Dune::PDELab::ISTLBackend_OVLP_AMG_4_DG< DGGO, DGCC, CGGFS, CGCC, TransferLOP, DGPrec, Solver, s >::apply(), Dune::PDELab::ISTLBackend_OVLP_GMRES_ILU0< GFS, CC >::apply(), Dune::PDELab::ISTLBackend_NOVLP_BASE_PREC< GO, Dune::SeqSSOR, Dune::BiCGSTABSolver >::apply(), Dune::PDELab::ISTLBackend_SEQ_GMRES_ILU0::apply(), Dune::PDELab::ISTLBackend_OVLP_ExplicitDiagonal< GFS >::apply(), Dune::PDELab::ISTLBackend_AMG_NOVLP< GO, s, Dune::SeqSSOR, Dune::CGSolver >::apply(), Dune::PDELab::ISTLBackend_AMG< GO, s, Dune::SeqILU0, Dune::BiCGSTABSolver >::apply(), Dune::PDELab::OverlappingOperator< CC, M, X, Y >::applyscaleadd(), Dune::PDELab::NonoverlappingOperator< GFS, M, X, Y >::applyscaleadd(), Dune::PDELab::simple::VectorContainer< GFS, C >::base(), Dune::PDELab::simple::SparseMatrixContainer< GFSV, GFSU, C, ET, I >::base(), Dune::PDELab::ISTLMatrixBackend::buildPattern(), Dune::PDELab::istl::BCRSMatrixBackend< EntriesPerRow >::buildPattern(), Dune::PDELab::istl::ParallelHelper< GFS >::createIndexSetAndProjectForAMG(), Dune::PDELab::istl::ParallelHelper< DGGO::Traits::TrialGridFunctionSpace >::disjointDot(), Dune::PDELab::CGCONBase< Grid, degree, gt, MeshType::conforming, SolverCategory::overlapping, BCType, GV >::make_consistent(), Dune::PDELab::DGCONBase< SolverCategory::overlapping >::make_consistent(), Dune::PDELab::istl::ParallelHelper< DGGO::Traits::TrialGridFunctionSpace >::maskForeignDOFs(), Dune::PDELab::istl::BlockMatrixDiagonal< M >::MatrixElementVector::MatrixElementVector(), Dune::PDELab::istl::BlockMatrixDiagonal< M >::MatrixElementVector::mv(), Dune::PDELab::SequentialNorm::norm(), Dune::PDELab::ISTLBackend_SEQ_AMG_4_DG< DGGO, CGGFS, TransferLOP, DGPrec, Solver >::norm(), Dune::PDELab::ISTLBackend_SEQ_AMG< GO, Dune::SeqSOR, Dune::LoopSolver >::norm(), Dune::PDELab::OverlappingWrappedPreconditioner< CC, GFS, P >::post(), Dune::PDELab::OvlpDGAMGPrec< DGGFS, DGMatrix, DGPrec, DGCC, CGGFS, CGPrec, CGCC, P, DGHelper, Comm >::post(), Dune::PDELab::OvlpDGAMGPrec< DGGFS, DGMatrix, DGPrec, DGCC, CGGFS, CGPrec, CGCC, P, DGHelper, Comm >::pre(), and Dune::PDELab::istl::ParallelHelper< DGGO::Traits::TrialGridFunctionSpace >::rank().

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

References value.

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