DOpE
|
#include <pdeprobleminterface.h>
Public Member Functions | |
PDEProblemInterface (PROBLEM *OP, int base_priority=0) | |
virtual | ~PDEProblemInterface () |
virtual void | ReInit () |
virtual void | ComputeReducedFunctionals ()=0 |
void | SetProblemType (std::string type, unsigned int num=0) |
template<class DWRC > | |
void | InitializeDWRC (DWRC &dwrc) |
Public Member Functions inherited from DOpE::ReducedProblemInterface_Base< VECTOR > | |
ReducedProblemInterface_Base () | |
virtual | ~ReducedProblemInterface_Base () |
virtual void | StateSizeInfo (std::stringstream &out)=0 |
virtual void | WriteToFile (const VECTOR &v, std::string name, std::string outfile, std::string dof_type, std::string filetype)=0 |
virtual void | WriteToFileElementwise (const Vector< double > &, std::string, std::string, std::string, std::string) |
virtual void | WriteToFile (const ControlVector< VECTOR > &v, std::string name, std::string dof_type)=0 |
virtual void | WriteToFile (const std::vector< double > &v, std::string outfile)=0 |
void | RegisterOutputHandler (DOpEOutputHandler< VECTOR > *OH) |
void | RegisterExceptionHandler (DOpEExceptionHandler< VECTOR > *OH) |
DOpEExceptionHandler< VECTOR > * | GetExceptionHandler () |
DOpEOutputHandler< VECTOR > * | GetOutputHandler () |
double | GetFunctionalValue (std::string name) const |
const std::vector< double > & | GetTimeFunctionalValue (std::string name) const |
void | AddUserDomainData (std::string name, const VECTOR *new_data) |
void | DeleteUserDomainData (std::string name) |
Protected Member Functions | |
virtual const std::map < std::string, unsigned int > & | GetFunctionalPosition () const |
PROBLEM * | GetProblem () |
const PROBLEM * | GetProblem () const |
std::string | GetPostIndex () |
int | GetBasePriority () |
Protected Member Functions inherited from DOpE::ReducedProblemInterface_Base< VECTOR > | |
void | InitializeFunctionalValues (unsigned int N) |
std::vector< std::vector < double > > & | GetFunctionalValues () |
const std::vector< std::vector < double > > & | GetFunctionalValues () const |
const std::map< std::string, const VECTOR * > & | GetUserDomainData () const |
This class is the basis for the reduced problems, i.e., those in which the PDE has been elimiated for the solution of stationary and nonstationary PDEs.
|
inline |
|
inlinevirtual |
|
pure virtual |
Evaluation of the functionals in the solution of the PDE. This function needs to be specified separately for stationary and non stationary problems since the evaluation of the functionals differs.
Implemented in DOpE::StatPDEProblem< NONLINEARSOLVER, INTEGRATOR, PROBLEM, VECTOR, dealdim >.
|
inlineprotected |
|
inlineprotectedvirtual |
Just calls the GetFunctioalPosition() method of the problem. See there for further documentation of the method.
Reimplemented from DOpE::ReducedProblemInterface_Base< VECTOR >.
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inline |
Initializes the HigherOrderDWRDataContainer (we need GetStateNBlocks() and GetStateBlockComponent()!)
|
inlinevirtual |
Reinitialization when needed to adjust vector and matrix sizes.
Reimplemented in DOpE::StatPDEProblem< NONLINEARSOLVER, INTEGRATOR, PROBLEM, VECTOR, dealdim >.
|
inline |
Sets the type of the Problem OP_. This function secures the proper initialization of the FEValues after the type has changed. See also the documentation of SetType in optproblemcontainer.h