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

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

Inheritance diagram for Dune::Fem::ParallelScalarProduct< DiscreteFunction >:
Inheritance graph

Public Types

enum  { blockSize = DiscreteFunctionSpaceType :: localBlockSize }
 
typedef DiscreteFunction DiscreteFunctionType
 
typedef DiscreteFunctionType::DiscreteFunctionSpaceType DiscreteFunctionSpaceType
 type of the discrete function space More...
 
typedef DiscreteFunctionSpaceType::RangeFieldType RangeFieldType
 type of range field More...
 
typedef DiscreteFunctionSpaceType::BlockMapperType MapperType
 type of used mapper More...
 
typedef SlaveDofs< DiscreteFunctionSpaceType, MapperTypeSlaveDofsType
 
typedef DiscreteFunctionType::ConstDofBlockPtrType ConstDofBlockPtrType
 
enum  
 
typedef SlaveDofsType::SingletonKey SlaveDofsKeyType
 
typedef SingletonList< SlaveDofsKeyType, SlaveDofsTypeSlaveDofsProviderType
 

Public Member Functions

 ParallelScalarProduct (const DiscreteFunctionSpaceType &space)
 constructor taking space More...
 
template<class OtherDiscreteFunctionType >
RangeFieldType scalarProductDofs (const DiscreteFunctionType &x, const OtherDiscreteFunctionType &y) const
 evaluate scalar product and omit slave nodes More...
 
const DiscreteFunctionSpaceTypespace () const
 return discrete function space More...
 
SlaveDofsTypeslaveDofs () const
 

Static Protected Member Functions

static SlaveDofsTypegetSlaveDofs (const DiscreteFunctionSpaceType &space)
 

Protected Attributes

const DiscreteFunctionSpaceTypespace_
 
SlaveDofsType *const slaveDofs_
 

Detailed Description

template<class DiscreteFunction>
class Dune::Fem::ParallelScalarProduct< DiscreteFunction >

Proxy class to evaluate ScalarProduct holding SlaveDofs which is singleton per space and mapper

Member Typedef Documentation

template<class DiscreteFunction>
typedef DiscreteFunctionType :: ConstDofBlockPtrType Dune::Fem::ParallelScalarProduct< DiscreteFunction >::ConstDofBlockPtrType
template<class DiscreteFunction>
typedef DiscreteFunctionType :: DiscreteFunctionSpaceType Dune::Fem::ParallelScalarProduct< DiscreteFunction >::DiscreteFunctionSpaceType

type of the discrete function space

template<class DiscreteFunction>
typedef DiscreteFunction Dune::Fem::ParallelScalarProduct< DiscreteFunction >::DiscreteFunctionType
template<class DiscreteFunction>
typedef DiscreteFunctionSpaceType :: BlockMapperType Dune::Fem::ParallelScalarProduct< DiscreteFunction >::MapperType

type of used mapper

template<class DiscreteFunction>
typedef DiscreteFunctionSpaceType :: RangeFieldType Dune::Fem::ParallelScalarProduct< DiscreteFunction >::RangeFieldType

type of range field

typedef SlaveDofsType :: SingletonKey Dune::Fem::SlaveDofsProvider< DiscreteFunction::DiscreteFunctionSpaceType >::SlaveDofsKeyType
inherited
typedef SingletonList< SlaveDofsKeyType, SlaveDofsType > Dune::Fem::SlaveDofsProvider< DiscreteFunction::DiscreteFunctionSpaceType >::SlaveDofsProviderType
inherited
template<class DiscreteFunction>
typedef SlaveDofs< DiscreteFunctionSpaceType, MapperType > Dune::Fem::ParallelScalarProduct< DiscreteFunction >::SlaveDofsType

Member Enumeration Documentation

anonymous enum
inherited
template<class DiscreteFunction>
anonymous enum
Enumerator
blockSize 

Constructor & Destructor Documentation

template<class DiscreteFunction>
Dune::Fem::ParallelScalarProduct< DiscreteFunction >::ParallelScalarProduct ( const DiscreteFunctionSpaceType space)
inline

constructor taking space

Member Function Documentation

static SlaveDofsType* Dune::Fem::SlaveDofsProvider< DiscreteFunction::DiscreteFunctionSpaceType >::getSlaveDofs ( const DiscreteFunctionSpaceType space)
inlinestaticprotectedinherited
template<class DiscreteFunction>
template<class OtherDiscreteFunctionType >
RangeFieldType Dune::Fem::ParallelScalarProduct< DiscreteFunction >::scalarProductDofs ( const DiscreteFunctionType x,
const OtherDiscreteFunctionType &  y 
) const
inline

evaluate scalar product and omit slave nodes

SlaveDofsType& Dune::Fem::SlaveDofsProvider< DiscreteFunction::DiscreteFunctionSpaceType >::slaveDofs ( ) const
inlineinherited
const DiscreteFunctionSpaceType& Dune::Fem::SlaveDofsProvider< DiscreteFunction::DiscreteFunctionSpaceType >::space ( ) const
inlineinherited

return discrete function space

Member Data Documentation

SlaveDofsType* const Dune::Fem::SlaveDofsProvider< DiscreteFunction::DiscreteFunctionSpaceType >::slaveDofs_
protectedinherited
const DiscreteFunctionSpaceType& Dune::Fem::SlaveDofsProvider< DiscreteFunction::DiscreteFunctionSpaceType >::space_
protectedinherited

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