33 #ifndef __H__UG__LIB_DISC__TIME_DISC__COMBINED_TIME_DISC__
34 #define __H__UG__LIB_DISC__TIME_DISC__COMBINED_TIME_DISC__
48 template <
typename TAlgebra>
153 std::vector<SmartPtr<ITimeDiscretization<TAlgebra> > >
m_vTimeDisc;
Definition: smart_pointer.h:296
Definition: smart_pointer.h:51
Definition: smart_pointer.h:108
The AssemblingTuner class combines tools to adapt the assembling routine.
Definition: ass_tuner.h:90
Definition: composite_time_disc.h:70
std::vector< SmartPtr< AssemblingTuner< TAlgebra >, FreeDelete > > m_vAssTuner
Definition: composite_time_disc.h:82
void add_ass_tuner(SmartPtr< AssemblingTuner< TAlgebra > > assTuner)
Definition: composite_time_disc.h:72
void set_force_regular_grid(bool bForce)
forces the assembling to consider the grid as regular
Definition: composite_time_disc.h:75
combine several time discretizations into one
Definition: composite_time_disc.h:51
virtual void prepare_step(SmartPtr< VectorTimeSeries< vector_type > > prevSol, number dt)
prepares the assembling of Defect/Jacobian for a time step
Definition: composite_time_disc_impl.h:40
virtual number future_time() const
returns the future time point (i.e. the one that will be computed)
Definition: composite_time_disc_impl.h:78
virtual size_t num_constraints() const
returns the number of constraints
Definition: composite_time_disc_impl.h:237
virtual SmartPtr< IConstraint< TAlgebra > > constraint(size_t i)
returns the i'th constraint
Definition: composite_time_disc_impl.h:247
void assemble_rhs(vector_type &b, const vector_type &u, const GridLevel &gl)
Definition: composite_time_disc_impl.h:178
std::vector< SmartPtr< ITimeDiscretization< TAlgebra > > > m_vTimeDisc
Definition: composite_time_disc.h:153
virtual size_t num_stages() const
returns the number of stages
Definition: composite_time_disc_impl.h:96
virtual void finish_step(SmartPtr< VectorTimeSeries< vector_type > > currSol)
Definition: composite_time_disc_impl.h:60
void assemble_jacobian(matrix_type &J, const vector_type &u, const GridLevel &gl)
assembles Jacobian (or Approximation of Jacobian)
Definition: composite_time_disc_impl.h:115
virtual void finish_step_elem(SmartPtr< VectorTimeSeries< vector_type > > currSol, const GridLevel &gl)
Definition: composite_time_disc_impl.h:68
void assemble_defect(vector_type &d, const vector_type &u, const GridLevel &gl)
assembles Defect
Definition: composite_time_disc_impl.h:136
void assemble_linear(matrix_type &A, vector_type &b, const GridLevel &gl)
Assembles Matrix and Right-Hand-Side for a linear problem.
Definition: composite_time_disc_impl.h:157
virtual size_t num_prev_steps() const
returns number of previous time steps needed
Definition: composite_time_disc_impl.h:86
virtual SmartPtr< AssemblingTuner< TAlgebra > > ass_tuner()
Definition: composite_time_disc_impl.h:221
algebra_type::matrix_type matrix_type
Definition: composite_time_disc.h:55
algebra_type::vector_type vector_type
Definition: composite_time_disc.h:54
void adjust_solution(vector_type &u, const GridLevel &gl)
sets dirichlet values in solution vector
Definition: composite_time_disc_impl.h:214
virtual void prepare_step_elem(SmartPtr< VectorTimeSeries< vector_type > > prevSol, number dt, const GridLevel &gl)
prepares the assembling of Defect/Jacobian for a time step
Definition: composite_time_disc_impl.h:48
TAlgebra algebra_type
Definition: composite_time_disc.h:53
virtual void set_stage(size_t stage)
sets the stage
Definition: composite_time_disc_impl.h:106
void add_time_disc(SmartPtr< ITimeDiscretization< TAlgebra > > tDisc)
Definition: composite_time_disc.h:58
Definition: grid_level.h:42
Interface providing Jacobian and Defect of a discretization.
Definition: assemble_interface.h:110
TAlgebra::vector_type vector_type
Type of algebra vector.
Definition: assemble_interface.h:119
TAlgebra::matrix_type matrix_type
Type of algebra matrix.
Definition: assemble_interface.h:116
Time Discretization Interface.
Definition: time_disc_interface.h:65
time series of solutions and corresponding time point
Definition: solution_time_series.h:59
double number
Definition: types.h:124