33 #ifndef __H__UG__LIB_DISC__TIME_DISC__TIME_DISC_INTERFACE__
34 #define __H__UG__LIB_DISC__TIME_DISC__TIME_DISC_INTERFACE__
63 template <
typename TAlgebra>
Definition: smart_pointer.h:296
Definition: smart_pointer.h:108
Definition: grid_level.h:42
Interface providing Jacobian and Defect of a discretization.
Definition: assemble_interface.h:110
Interface for domain discretization.
Definition: domain_disc_interface.h:136
Time Discretization Interface.
Definition: time_disc_interface.h:65
void prepare_step_elem(SmartPtr< VectorTimeSeries< vector_type > > prevSol, number dt)
prepares the assembling of Defect/Jacobian for a time step
Definition: time_disc_interface.h:110
virtual void finish_step(SmartPtr< VectorTimeSeries< vector_type > > currSol)=0
algebra_type::vector_type vector_type
Vector type.
Definition: time_disc_interface.h:71
virtual SmartPtr< IConstraint< TAlgebra > > constraint(size_t i)
returns the i'th constraint
Definition: time_disc_interface.h:167
virtual void set_stage(size_t stage)=0
sets the stage
virtual void prepare_step(SmartPtr< VectorTimeSeries< vector_type > > prevSol, number dt)=0
prepares the assembling of Defect/Jacobian for a time step
ITimeDiscretization(SmartPtr< IDomainDiscretization< TAlgebra > > spDD)
create and set domain discretization
Definition: time_disc_interface.h:81
virtual void prepare_step_elem(SmartPtr< VectorTimeSeries< vector_type > > prevSol, number dt, const GridLevel &gl)=0
prepares the assembling of Defect/Jacobian for a time step
SmartPtr< IDomainDiscretization< TAlgebra > > domain_disc() const
return underlying domain disc
Definition: time_disc_interface.h:157
virtual void finish_step_elem(SmartPtr< VectorTimeSeries< vector_type > > currSol, const GridLevel &gl)=0
virtual size_t num_prev_steps() const =0
returns number of previous time steps needed
SmartPtr< AssemblingTuner< TAlgebra > > ass_tuner()
Definition: time_disc_interface.h:178
ConstSmartPtr< AssemblingTuner< TAlgebra > > ass_tuner() const
Definition: time_disc_interface.h:179
SmartPtr< IDomainDiscretization< TAlgebra > > m_spDomDisc
Domain Discretization.
Definition: time_disc_interface.h:173
virtual number future_time() const =0
returns the future time point (i.e. the one that will be computed)
void finish_step_elem(SmartPtr< VectorTimeSeries< vector_type > > currSol)
Definition: time_disc_interface.h:140
virtual size_t num_constraints() const
returns the number of constraint
Definition: time_disc_interface.h:161
TAlgebra algebra_type
Algebra type.
Definition: time_disc_interface.h:68
virtual size_t num_stages() const =0
returns the number of stages
IDomainDiscretization< TAlgebra > domain_discretization_type
Domain Discretization type.
Definition: time_disc_interface.h:74
time series of solutions and corresponding time point
Definition: solution_time_series.h:59
double number
Definition: types.h:124