DUNE-FEM (unstable)
adaptivefunction.hh
32 SimpleBlockVector< StaticArray< typename DiscreteFunctionSpace::RangeFieldType > , DiscreteFunctionSpace::localBlockSize > >
61 typedef MutableBlockVector< DynamicArray< DofType >, DiscreteFunctionSpaceType::localBlockSize > MutableDofVectorType;
86 dofVector_( allocateDofStorageWrapper( space.blockMapper().size() * DofVectorType::blockSize, data ) )
discrete function space
wrapper class to create fake DofStorage from DofType*
Definition: adaptivefunction.hh:150
DofVectorType & getArray()
return array
Definition: adaptivefunction.hh:163
SizeType size() const
return array's size
Definition: adaptivefunction.hh:169
void enableDofCompression()
do nothing here since we are using StaticArray
Definition: adaptivefunction.hh:166
Definition: adaptivefunction.hh:48
AdaptiveDiscreteFunction(ThisType &&other)
Move constructor.
Definition: adaptivefunction.hh:113
void enableDofCompression()
Enable this discrete function for dof compression, i.e. during grid changes a dof compression is done...
Definition: adaptivefunction.hh:140
AdaptiveDiscreteFunction(const ThisType &other)
Copy constructor.
Definition: adaptivefunction.hh:104
const std::string & name() const
obtain the name of the discrete function
Definition: discretefunction.hh:691
AdaptiveDiscreteFunction(const std::string &name, const DiscreteFunctionSpaceType &space)
Constructor to use if the vector storing the dofs does not exist yet.
Definition: adaptivefunction.hh:68
DofVectorType & dofVector()
Definition: adaptivefunction.hh:134
AdaptiveDiscreteFunction(const std::string &name, const DiscreteFunctionSpaceType &space, const DofType *data)
Constructor to use if the vector storing the dofs already exists.
Definition: adaptivefunction.hh:81
void assign(const DiscreteFunctionInterface< DFType > &g)
Definition: discretefunction_inline.hh:132
AdaptiveDiscreteFunction(const std::string &name, const DiscreteFunctionSpaceType &space, DofVectorType &dofVector)
Constructor to use if the vector storing the dofs already exists.
Definition: adaptivefunction.hh:95
const DofVectorType & dofVector() const
Definition: adaptivefunction.hh:137
Definition: discretefunction.hh:584
Traits::DofVectorType DofVectorType
type of DofVector
Definition: discretefunction.hh:631
SizeType size() const
Return the number of blocks in the block vector.
Definition: discretefunction.hh:755
const DiscreteFunctionSpaceType & space() const
obtain a reference to the corresponding DiscreteFunctionSpace
Definition: discretefunction.hh:709
const std::string & name() const
obtain the name of the discrete function
Definition: discretefunction.hh:691
BaseType::DiscreteFunctionSpaceType DiscreteFunctionSpaceType
type of discrete function space
Definition: discretefunction.hh:606
void assign(const DiscreteFunctionInterface< DFType > &g)
Definition: discretefunction_inline.hh:132
Dune::Fem::DiscreteFunctionInterface< AdaptiveDiscreteFunction< DiscreteFunctionSpace > >::blockSize
static constexpr std::size_t blockSize
size of the dof blocks
Definition: discretefunction.hh:148
Interface class for a dof storage object to be stored in discrete functions.
Definition: dofmanager.hh:212
static std::pair< DofStorageInterface *, DofStorageType * > allocateManagedDofStorage(const GridType &grid, const MapperType &mapper, const DofStorageType *=0)
default implementation for creating a managed dof storage
Definition: dofmanager.hh:578
STL namespace.
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 13, 23:29, 2024)