DOpE
|
#include <higher_order_dwrc_control.h>
Public Member Functions | |
HigherOrderDWRContainerControl (STH &higher_order_sth, IDC &higher_order_idc, std::string control_behavior, std::string state_behavior, ParameterReader ¶m_reader, DOpEtypes::EETerms ee_terms=DOpEtypes::EETerms::mixed, DOpEtypes::ResidualEvaluation res_eval=DOpEtypes::strong_residual) | |
virtual | ~HigherOrderDWRContainerControl () |
std::string | GetName () const |
template<class STH2 > | |
void | Initialize (STH2 *sth, unsigned int control_n_blocks, std::vector< unsigned int > &control_block_component, unsigned int state_n_blocks, std::vector< unsigned int > &state_block_component) |
void | ReInit (unsigned int n_elements) |
STH & | GetWeightSTH () |
const STH & | GetWeightSTH () const |
IDC & | GetWeightIDC () |
const IDC & | GetWeightIDC () const |
StateVector< VECTOR > & | GetPI_h_u () |
StateVector< VECTOR > & | GetPI_h_z () |
ControlVector< VECTOR > & | GetPI_h_q () |
void | PreparePI_h_u (const StateVector< VECTOR > &u) |
void | PreparePI_h_u (const VECTOR &u) |
void | PreparePI_h_z (const StateVector< VECTOR > &z) |
void | PreparePI_h_q (const ControlVector< VECTOR > &q) |
virtual EDC & | GetElementWeight () const |
virtual FDC & | GetFaceWeight () const |
bool | NeedDual () const |
virtual DOpEtypes::WeightComputation | GetWeightComputation () const |
virtual DOpEtypes::ResidualEvaluation | GetResidualEvaluation () const |
void | ResidualModifier (double &) |
void | VectorResidualModifier (dealii::Vector< double > &) |
Public Member Functions inherited from DOpE::DWRDataContainer< STH, IDC, EDC, FDC, VECTOR > | |
DWRDataContainer (DOpEtypes::EETerms ee_terms=DOpEtypes::EETerms::mixed) | |
virtual | ~DWRDataContainer () |
Public Member Functions inherited from DOpE::DWRDataContainerBase< VECTOR > | |
DWRDataContainerBase (DOpEtypes::EETerms ee_terms=DOpEtypes::EETerms::mixed) | |
virtual | ~DWRDataContainerBase () |
void | ReleaseLock () |
double | GetError () const |
double | GetPrimalError () const |
double | GetDualError () const |
double | GetControlError () const |
const Vector< double > & | GetErrorIndicators () const |
Vector< double > & | GetPrimalErrorIndicators () |
const Vector< double > & | GetPrimalErrorIndicators () const |
Vector< double > & | GetDualErrorIndicators () |
const Vector< double > & | GetDualErrorIndicators () const |
Vector< double > & | GetControlErrorIndicators () |
const Vector< double > & | GetControlErrorIndicators () const |
Vector< double > & | GetErrorIndicators (unsigned int i) |
const Vector< double > & | GetErrorIndicators (unsigned int i) const |
unsigned int | GetNErrorComps () const |
std::vector< const Vector < double > * > | GetAllErrorIndicators () const |
DOpEtypes::EETerms | GetEETerms () const |
template<class PROBLEM , class INTEGRATOR > | |
void | ComputeRefinementIndicators (PROBLEM &problem, INTEGRATOR &integrator) |
const std::map< std::string, const VECTOR * > & | GetWeightData () const |
void | ClearWeightData () |
void | PrepareWeights (const StateVector< VECTOR > &u, const StateVector< VECTOR > &z) |
void | PrepareWeights (const ControlVector< VECTOR > &q) |
Protected Member Functions | |
STH & | GetSTH () |
STH & | GetHigherOrderSTH () |
const STH & | GetHigherOrderSTH () const |
IDC & | GetHigherOrderIDC () |
const IDC & | GetHigherOrderIDC () const |
Protected Member Functions inherited from DOpE::DWRDataContainerBase< VECTOR > | |
void | AddWeightData (std::string name, const VECTOR *new_data) |
This class implements the missing pieces of DWRDataContainer for the case of the DWRMethod with higher order interpolation of the weights and evaluation of strong element residuals. This version also includes weights for the control
|
inline |
Constructor.
higher_order_sth | The STH we use for the higher order interpolation. |
higher_order_idc | The IDC we use for the higher order interpolation. Contains also the quadrature rules |
control_behavior | Behaviour of the ControlVectors. |
state_behavior | Behaviour of the StateVectors. |
param_reader | The parameter reader we use here. |
ee_terms | Which part of the error estimators do we want to compute? (primal, dual, both). |
|
inlinevirtual |
|
inlinevirtual |
Implementation of virtual method from base class.
Implements DOpE::DWRDataContainer< STH, IDC, EDC, FDC, VECTOR >.
|
inlinevirtual |
Implementation of virtual method from base class.
Implements DOpE::DWRDataContainer< STH, IDC, EDC, FDC, VECTOR >.
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlinevirtual |
Implements DOpE::DWRDataContainerBase< VECTOR >.
|
inlinevirtual |
Implements DOpE::DWRDataContainerBase< VECTOR >.
|
inlinevirtual |
Implements DOpE::DWRDataContainerBase< VECTOR >.
|
inlinevirtual |
Implements DOpE::DWRDataContainerBase< VECTOR >.
|
inlinevirtual |
Implementation of virtual method from base class.
Implements DOpE::DWRDataContainerBase< VECTOR >.
|
inlineprotected |
|
inlinevirtual |
Implementation of virtual method from base class.
Implements DOpE::DWRDataContainerBase< VECTOR >.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inline |
|
inlinevirtual |
Implementation of virtual method from base class.
Implements DOpE::DWRDataContainerBase< VECTOR >.
|
inlinevirtual |
Makes the patchwise higher order interpolant of the control q. This is needed as a weight for the control residual.
Implements DOpE::DWRDataContainerBase< VECTOR >.
|
inlinevirtual |
Makes the patchwise higher order interpolant of the primal soltion u. This is needed as a weight for the dual residual.
Implements DOpE::DWRDataContainerBase< VECTOR >.
|
inline |
|
inlinevirtual |
Makes the patchwise higher order interpolant of the dual solution z. This is needed as a weight for the primal residual.
Implements DOpE::DWRDataContainerBase< VECTOR >.
|
virtual |
ReInits the DWRDataContainer, the higher order STH as well as the weight-vectors.
Reimplemented from DOpE::DWRDataContainerBase< VECTOR >.
|
inline |
This should be applied to the residual in the integration Here we don't do anything because it should be the identity for DWR
|
inline |