dune-fem  2.4.1-rc
Public Types | Public Member Functions | Protected Types | Protected Attributes | List of all members
Dune::Fem::SubFunctionStorage< DiscreteFunctionImp > Class Template Reference

#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/function/subfunction.hh>

Public Types

typedef SpaceType::template ToNewDimRange< 1 >::Type SubSpaceType
 
typedef CombinedSubMapper< typename SubSpaceType::MapperType, dimRange, PointBasedSubMapperType
 
typedef Fem::SubVector< DofStorageType, SubMapperTypeSubDofVectorType
 
typedef VectorDiscreteFunction< SubSpaceType, SubDofVectorTypeSubDiscreteFunctionType
 

Public Member Functions

 SubFunctionStorage (DiscreteFunctionType &discreteFunction)
 constructor storing the discrete function More...
 
 ~SubFunctionStorage ()
 destructor More...
 
SubDiscreteFunctionTypesubFunction (const size_t component) const
 return a SubDiscreteFunction repsenting only one component of the original discrete function More...
 

Protected Types

enum  { dimRange = SpaceType :: dimRange }
 
typedef DiscreteFunctionImp DiscreteFunctionType
 
typedef DiscreteFunctionType::DiscreteFunctionSpaceType SpaceType
 
typedef DiscreteFunctionType::DofStorageType DofStorageType
 

Protected Attributes

DiscreteFunctionTypediscreteFunction_
 
const SpaceTypespace_
 
SubSpaceType subSpace_
 
std::vector< SubMapperType * > subMapper_
 
std::vector< SubDofVectorType * > subVector_
 
std::vector< SubDiscreteFunctionType * > subDiscreteFunction_
 

Detailed Description

template<class DiscreteFunctionImp>
class Dune::Fem::SubFunctionStorage< DiscreteFunctionImp >

A class for extracting sub functions from a discrete function containing pointbased combined data.

Member Typedef Documentation

template<class DiscreteFunctionImp >
typedef DiscreteFunctionImp Dune::Fem::SubFunctionStorage< DiscreteFunctionImp >::DiscreteFunctionType
protected
template<class DiscreteFunctionImp >
typedef DiscreteFunctionType :: DofStorageType Dune::Fem::SubFunctionStorage< DiscreteFunctionImp >::DofStorageType
protected
template<class DiscreteFunctionImp >
typedef DiscreteFunctionType :: DiscreteFunctionSpaceType Dune::Fem::SubFunctionStorage< DiscreteFunctionImp >::SpaceType
protected
template<class DiscreteFunctionImp >
typedef VectorDiscreteFunction< SubSpaceType, SubDofVectorType > Dune::Fem::SubFunctionStorage< DiscreteFunctionImp >::SubDiscreteFunctionType
template<class DiscreteFunctionImp >
typedef Fem :: SubVector< DofStorageType, SubMapperType > Dune::Fem::SubFunctionStorage< DiscreteFunctionImp >::SubDofVectorType
template<class DiscreteFunctionImp >
typedef CombinedSubMapper< typename SubSpaceType :: MapperType , dimRange, PointBased > Dune::Fem::SubFunctionStorage< DiscreteFunctionImp >::SubMapperType
template<class DiscreteFunctionImp >
typedef SpaceType :: template ToNewDimRange< 1 >:: Type Dune::Fem::SubFunctionStorage< DiscreteFunctionImp >::SubSpaceType

Member Enumeration Documentation

template<class DiscreteFunctionImp >
anonymous enum
protected
Enumerator
dimRange 

Constructor & Destructor Documentation

template<class DiscreteFunctionImp >
Dune::Fem::SubFunctionStorage< DiscreteFunctionImp >::SubFunctionStorage ( DiscreteFunctionType discreteFunction)
inlineexplicit

constructor storing the discrete function

template<class DiscreteFunctionImp >
Dune::Fem::SubFunctionStorage< DiscreteFunctionImp >::~SubFunctionStorage ( )
inline

Member Function Documentation

template<class DiscreteFunctionImp >
SubDiscreteFunctionType& Dune::Fem::SubFunctionStorage< DiscreteFunctionImp >::subFunction ( const size_t  component) const
inline

Member Data Documentation

template<class DiscreteFunctionImp >
DiscreteFunctionType& Dune::Fem::SubFunctionStorage< DiscreteFunctionImp >::discreteFunction_
protected
template<class DiscreteFunctionImp >
const SpaceType& Dune::Fem::SubFunctionStorage< DiscreteFunctionImp >::space_
protected
template<class DiscreteFunctionImp >
std::vector< SubDiscreteFunctionType* > Dune::Fem::SubFunctionStorage< DiscreteFunctionImp >::subDiscreteFunction_
mutableprotected
template<class DiscreteFunctionImp >
std::vector< SubMapperType * > Dune::Fem::SubFunctionStorage< DiscreteFunctionImp >::subMapper_
mutableprotected
template<class DiscreteFunctionImp >
SubSpaceType Dune::Fem::SubFunctionStorage< DiscreteFunctionImp >::subSpace_
protected
template<class DiscreteFunctionImp >
std::vector< SubDofVectorType * > Dune::Fem::SubFunctionStorage< DiscreteFunctionImp >::subVector_
mutableprotected

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