KASKADE 7 development version
Classes | Public Member Functions | List of all members
Kaskade::ConstructCoefficientVector< Spaces > Struct Template Reference

A boost::fusion functor for generating coefficient vectors for given variables. More...

#include <variables.hh>

Detailed Description

template<class Spaces>
struct Kaskade::ConstructCoefficientVector< Spaces >

A boost::fusion functor for generating coefficient vectors for given variables.

Template Parameters
Spacesa boost::fusion container of pointers to FEFunctionSpace s.

Definition at line 200 of file variables.hh.

Classes

struct  result
 
struct  result< ConstructCoefficientVector< Spaces >(Variable)>
 

Public Member Functions

 ConstructCoefficientVector (Spaces const &spaces_)
 
template<class Variable >
result< ConstructCoefficientVector< Spaces >(Variable)>::type operator() (Variable const &variable) const
 Returns a FunctionSpaceElement from the FEFunctionSpace associated to the variable. More...
 

Constructor & Destructor Documentation

◆ ConstructCoefficientVector()

template<class Spaces >
Kaskade::ConstructCoefficientVector< Spaces >::ConstructCoefficientVector ( Spaces const &  spaces_)
inline

Definition at line 202 of file variables.hh.

Member Function Documentation

◆ operator()()

template<class Spaces >
template<class Variable >
result< ConstructCoefficientVector< Spaces >(Variable)>::type Kaskade::ConstructCoefficientVector< Spaces >::operator() ( Variable const &  variable) const
inline

Returns a FunctionSpaceElement from the FEFunctionSpace associated to the variable.

This is currently not very efficient. This may change when Dune starts supporting move-semantics(C++11). Alternatively it may make sense to return only the dof instead of the full matrix and construct the latter later on.

Definition at line 231 of file variables.hh.


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