16 #ifndef __theta_scheme_h
17 #define __theta_scheme_h
23 namespace ApplicationCore
108 virtual void initialize (ParameterHandler& param);
float current_layer
Variable that contains current time layer.
Definition: theta_scheme.h:149
virtual void declare_parameters(ParameterHandler ¶m)
Declare input parameters.
Definition: theta_scheme.h:89
virtual void initialize(ParameterHandler ¶m)
Read parameters.
double current_time
Definition: theta_scheme.h:142
SmartPointer< ApplicationBase > app
Pointer to the application this one depends upon.
Definition: application_wrapper.h:106
unsigned short int scheme_order
Definition: theta_scheme.h:154
virtual void solve(FuelCell::ApplicationCore::FEVector &u, const FuelCell::ApplicationCore::FEVectors &in_vectors)
Actual transient solver.
void solve_operations(FuelCell::ApplicationCore::FEVector &u, const FuelCell::ApplicationCore::FEVectors &in_vectors, bool print_solution)
Performs one transient iteration with the given time step tau.
Base class for applications.
Definition: application_base.h:113
static const FuelCell::ApplicationCore::Event new_assembly
Event used to make application reassemble its system matrix and rhs.
Definition: theta_scheme.h:123
This is a base class for transient solvers.
Definition: transient_base.h:53
Objects of this kind are used to notify interior applications of changes provoked by an outer loop...
Definition: event.h:51
double theta
Parameter .
Definition: theta_scheme.h:132
BlockVector< double > FEVector
The vector class used by applications.
Definition: application_data.h:46
The data type used in function calls of Application.
Definition: fe_vectors.h:59
ThetaScheme(ApplicationBase &app)
Constructor, receiving an application with transient model and a data object.