dune-fem 2.8.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Dune::Fem::AdaptiveDiscreteFunction< DiscreteFunctionSpace >::DofStorageWrapper Class Reference

wrapper class to create fake DofStorage from DofType* More...

#include <dune/fem/function/adaptivefunction/adaptivefunction.hh>

Inheritance diagram for Dune::Fem::AdaptiveDiscreteFunction< DiscreteFunctionSpace >::DofStorageWrapper:
Inheritance graph

Public Member Functions

 DofStorageWrapper (const SizeType size, const DofType *v)
 
DofVectorTypegetArray ()
 return array
 
void enableDofCompression ()
 do nothing here since we are using StaticArray
 
int size () const
 return array's size
 

Detailed Description

template<class DiscreteFunctionSpace>
class Dune::Fem::AdaptiveDiscreteFunction< DiscreteFunctionSpace >::DofStorageWrapper

wrapper class to create fake DofStorage from DofType*

Constructor & Destructor Documentation

◆ DofStorageWrapper()

template<class DiscreteFunctionSpace >
Dune::Fem::AdaptiveDiscreteFunction< DiscreteFunctionSpace >::DofStorageWrapper::DofStorageWrapper ( const SizeType  size,
const DofType v 
)
inline

Member Function Documentation

◆ enableDofCompression()

template<class DiscreteFunctionSpace >
void Dune::Fem::AdaptiveDiscreteFunction< DiscreteFunctionSpace >::DofStorageWrapper::enableDofCompression ( )
inlinevirtual

do nothing here since we are using StaticArray

Reimplemented from Dune::Fem::DofStorageInterface.

◆ getArray()

template<class DiscreteFunctionSpace >
DofVectorType & Dune::Fem::AdaptiveDiscreteFunction< DiscreteFunctionSpace >::DofStorageWrapper::getArray ( )
inline

return array

◆ size()

template<class DiscreteFunctionSpace >
int Dune::Fem::AdaptiveDiscreteFunction< DiscreteFunctionSpace >::DofStorageWrapper::size ( ) const
inlinevirtual

return array's size

Implements Dune::Fem::DofStorageInterface.


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