21 #ifndef _FUEL_CELL_APPLICATION_CORE_APPLICATION_WRAPPER_H_
22 #define _FUEL_CELL_APPLICATION_CORE_APPLICATION_WRAPPER_H_
26 using namespace dealii;
30 namespace ApplicationCore
63 virtual void declare_parameters(ParameterHandler& param);
65 virtual void initialize(ParameterHandler& param);
67 virtual void remesh();
69 virtual void init_vector(
FEVector& dst)
const;
71 virtual double residual(
FEVector& dst,
73 bool apply_boundaries =
true);
81 virtual double estimate(
const FEVectors& src);
83 virtual double evaluate(
const FEVectors& src);
85 virtual void grid_out(
const std::string& filename)
const;
87 virtual void data_out(
const std::string& filename,
90 virtual std::string id()
const;
92 virtual void notify(
const Event& reason);
107 SmartPointer<ApplicationBase>
app;
SmartPointer< ApplicationBase > app
Pointer to the application this one depends upon.
Definition: application_wrapper.h:107
Base class for applications.
Definition: application_base.h:114
This class implements either iterative or time-stepping wrapper of applications.
Definition: application_wrapper.h:40
SmartPointer< ApplicationBase > get_wrapped_application()
Gain access to the inner application.
Definition: application_wrapper.h:98
Objects of this kind are used to notify interior applications of changes provoked by an outer loop...
Definition: event.h:57
BlockVector< double > FEVector
The vector class used by applications.
Definition: application_data.h:39
The data type used in function calls of Application.
Definition: fe_vectors.h:59