|
| SpaceTimeHandler (DOpEtypes::ControlType type) |
|
| SpaceTimeHandler (dealii::Triangulation< 1 > ×, DOpEtypes::ControlType type) |
|
| SpaceTimeHandler (DOpEtypes::ControlType type, const ActiveFEIndexSetterInterface< dopedim, dealdim > &index_setter) |
|
| SpaceTimeHandler (dealii::Triangulation< 1 > ×, DOpEtypes::ControlType type, const ActiveFEIndexSetterInterface< dopedim, dealdim > &index_setter) |
|
virtual | ~SpaceTimeHandler () |
|
virtual void | ReInit (unsigned int control_n_blocks, const std::vector< unsigned int > &control_block_component, unsigned int state_n_blocks, const std::vector< unsigned int > &state_block_component)=0 |
|
virtual const
DOpEWrapper::DoFHandler
< dopedim, DH > & | GetControlDoFHandler () const =0 |
|
virtual const
DOpEWrapper::DoFHandler
< dealdim, DH > & | GetStateDoFHandler () const =0 |
|
virtual const
DOpEWrapper::Mapping< dealdim,
DH > & | GetMapping () const =0 |
|
const std::vector< const
DOpEWrapper::DoFHandler
< dealdim, DH > * > & | GetDoFHandler () const |
|
std::vector< typename
DOpEWrapper::DoFHandler
< dealdim, DH >
::active_cell_iterator > | GetDoFHandlerBeginActive () const |
|
std::vector< typename
DOpEWrapper::DoFHandler
< dealdim, DH >
::active_cell_iterator > | GetDoFHandlerEnd () const |
|
std::vector< typename
DOpEWrapper::DoFHandler
< dealdim, DH >::cell_iterator > | GetDoFHandlerBeginActiveAllLevels () const |
|
std::vector< typename
DOpEWrapper::DoFHandler
< dealdim, DH >::cell_iterator > | GetDoFHandlerEndAllLevels () const |
|
void | SetDoFHandlerOrdering (unsigned int control_index, unsigned int state_index) |
|
unsigned int | GetStateIndex () |
|
const
ActiveFEIndexSetterInterface
< dopedim, dealdim > & | GetFEIndexSetter () const |
|
void | SetActiveFEIndicesState (DOpEWrapper::DoFHandler< dealdim, DH > &dof_handler) |
|
void | SetActiveFEIndicesControl (DOpEWrapper::DoFHandler< dopedim, DH > &dof_handler) |
|
virtual unsigned int | GetControlDoFsPerBlock (unsigned int b, int time_point=-1) const =0 |
|
virtual unsigned int | GetStateDoFsPerBlock (unsigned int b, int time_point=-1) const =0 |
|
virtual unsigned int | GetConstraintDoFsPerBlock (std::string name, unsigned int b) const =0 |
|
virtual const std::vector
< unsigned int > & | GetControlDoFsPerBlock (int time_point=-1) const =0 |
|
virtual const std::vector
< unsigned int > & | GetStateDoFsPerBlock (int time_point=-1) const =0 |
|
virtual const std::vector
< unsigned int > & | GetConstraintDoFsPerBlock (std::string name) const =0 |
|
virtual const
dealii::ConstraintMatrix & | GetControlDoFConstraints () const =0 |
|
virtual const
dealii::ConstraintMatrix & | GetStateDoFConstraints () const =0 |
|
virtual const std::vector
< dealii::Point< dealdim > > & | GetMapDoFToSupportPoints ()=0 |
|
virtual void | ComputeControlSparsityPattern (SPARSITYPATTERN &sparsity) const =0 |
|
virtual void | ComputeStateSparsityPattern (SPARSITYPATTERN &sparsity) const =0 |
|
virtual void | ComputeMGStateSparsityPattern (dealii::MGLevelObject< dealii::BlockSparsityPattern > &, unsigned int) const |
|
virtual void | ComputeMGStateSparsityPattern (dealii::MGLevelObject< dealii::SparsityPattern > &, unsigned int) const |
|
virtual const FE< dealdim,
dealdim > & | GetFESystem (std::string name) const =0 |
|
DOpEWrapper::DataOut< dealdim,
DH > & | GetDataOut () |
|
Public Member Functions inherited from DOpE::SpaceTimeHandlerBase< VECTOR > |
| SpaceTimeHandlerBase (DOpEtypes::ControlType control_type=DOpEtypes::stationary) |
|
| SpaceTimeHandlerBase (dealii::Triangulation< 1 > ×, DOpEtypes::ControlType type=DOpEtypes::stationary) |
|
| SpaceTimeHandlerBase (dealii::Triangulation< 1 > ×, const dealii::FiniteElement< 1 > &fe, DOpEtypes::ControlType type=DOpEtypes::stationary) |
|
virtual | ~SpaceTimeHandlerBase () |
|
void | ReInitTime () |
|
unsigned int | GetMaxTimePoint () const |
|
unsigned int | GetNbrOfIntervals () const |
|
void | SetInterval (const TimeIterator &it) |
|
const TimeIterator & | GetInterval () const |
|
double | GetTime (unsigned int time_point) const |
|
const TimeDoFHandler & | GetTimeDoFHandler () const |
|
const std::vector< double > & | GetTimes () const |
|
void | GetTimes (const TimeIterator &interval, std::vector< double > &local_times) const |
|
bool | IsValidStateTicket (unsigned int &ticket) const |
|
bool | IsValidControlTicket (unsigned int &ticket) const |
|
DOpEtypes::ControlType | GetControlType () const |
|
virtual void | InterpolateControl (VECTOR &, const std::vector< VECTOR * > &, double, const TimeIterator &) const |
|
virtual void | InterpolateState (VECTOR &, const std::vector< VECTOR * > &, double, const TimeIterator &) const =0 |
|
virtual void | InterpolateConstraint (VECTOR &, const std::vector< VECTOR * > &, double, const TimeIterator &) const |
|
virtual unsigned int | GetControlNDoFs (int=-1) const |
|
virtual unsigned int | GetStateNDoFs (int time_point=-1) const =0 |
|
virtual unsigned int | GetConstraintNDoFs (std::string) const |
|
virtual unsigned int | GetNGlobalConstraints () const |
|
virtual unsigned int | GetNLocalConstraints () const |
|
double | GetStepSize () const |
|
double | GetNextStepSize () const |
|
double | GetPreviousStepSize () const |
|
virtual unsigned int | NewTimePointToOldTimePoint (unsigned int t) const =0 |
|
virtual void | SpatialMeshTransferControl (const VECTOR &, VECTOR &) const |
|
virtual void | SpatialMeshTransferState (const VECTOR &, VECTOR &) const |
|
void | RefineTime (DOpEtypes::RefinementType ref_type=DOpEtypes::RefinementType::global) |
|
void | RefineTime (const RefinementContainer &ref_container) |
|
template<template< int, int > class FE, template< int, int > class DH, typename SPARSITYPATTERN, typename VECTOR, int dopedim, int dealdim>
class DOpE::SpaceTimeHandler< FE, DH, SPARSITYPATTERN, VECTOR, dopedim, dealdim >
Interface to the dimension depended functionality of a SpaceTimeDoFHandler.
- Template Parameters
-
<FE> | The finite element type we use (i.e. 'normal' finite elements vs. hp::FECollections) |
<DH> | The dofhandler type we use (i.e. 'normal' dofhandler vs. hp::dofhandler) |
<SPARSITYPATTERN> | The sparsity pattern for control & state. This is needed as a class template, because member function templates are not allowed for virtual member functions. |
<VECTOR> | The vector type for control & state (i.e. dealii::Vector<double> or dealii::BlockVector<double>) |
| The dimension for the control variable. |
| The dimension for the state variable. This is the dimension the mesh is in. |
template<template< int, int > class FE, template< int, int > class DH, typename SPARSITYPATTERN, typename VECTOR, int dopedim, int dealdim>
virtual void DOpE::SpaceTimeHandler< FE, DH, SPARSITYPATTERN, VECTOR, dopedim, dealdim >::ReInit |
( |
unsigned int |
control_n_blocks, |
|
|
const std::vector< unsigned int > & |
control_block_component, |
|
|
unsigned int |
state_n_blocks, |
|
|
const std::vector< unsigned int > & |
state_block_component |
|
) |
| |
|
pure virtual |
Initializes the dof handlers corresponding to the finite elements.
- Parameters
-
control_n_blocks | Number of Blocks for the control variable |
control_block_components | Component to Block mapping for the control |
state_n_blocks | Number of Blocks for the state variable |
state_block_components | Component to Block mapping for the state |
Implemented in DOpE::MethodOfLines_SpaceTimeHandler< FE, DH, SPARSITYPATTERN, VECTOR, dopedim, dealdim >, and DOpE::MethodOfLines_MultiMesh_SpaceTimeHandler< FE, DH, SPARSITYPATTERN, VECTOR, dim >.