LIMEX plugin
Loading...
Searching...
No Matches
ug::ConstStepLinearTimeIntegrator< TDomain, TAlgebra > Class Template Reference

Integrate over a given time interval (for a linear problem). More...

#include <time_integrator.hpp>

Inheritance diagram for ug::ConstStepLinearTimeIntegrator< TDomain, TAlgebra >:
ug::ILinearTimeIntegrator< TDomain, TAlgebra > ug::ITimeDiscDependentObject< TAlgebra > ug::ITimeIntegrator< TDomain, TAlgebra >

Public Types

typedef ILinearTimeIntegrator< TDomain, TAlgebra > base_type
typedef ITimeDiscretization< TAlgebra > time_disc_type
typedef base_type::linear_solver_type linear_solver_type
typedef base_type::grid_function_type grid_function_type
typedef VectorTimeSeries< typename base_type::vector_type > vector_time_series_type
Public Types inherited from ug::ILinearTimeIntegrator< TDomain, TAlgebra >
typedef ITimeIntegrator< TDomain, TAlgebra > base_type
typedef base_type::vector_type vector_type
typedef ILinearOperatorInverse< vector_type > linear_solver_type
typedef AssembledLinearOperator< TAlgebra > assembled_operator_type
Public Types inherited from ug::ITimeIntegrator< TDomain, TAlgebra >
typedef TAlgebra algebra_type
typedef TAlgebra::vector_type vector_type
typedef TAlgebra::matrix_type matrix_type
typedef TDomain domain_type
typedef GridFunction< TDomain, TAlgebra > grid_function_type
Public Types inherited from ug::ITimeDiscDependentObject< TAlgebra >
typedef ITimeDiscretization< TAlgebra > time_disc_type

Public Member Functions

 ConstStepLinearTimeIntegrator (SmartPtr< time_disc_type > tDisc)
 ConstStepLinearTimeIntegrator (SmartPtr< time_disc_type > tDisc, SmartPtr< typename base_type::linear_solver_type > lSolver)
void set_num_steps (int steps)
bool apply (SmartPtr< grid_function_type > u1, number t1, ConstSmartPtr< grid_function_type > u0, number t0)
Public Member Functions inherited from ug::ILinearTimeIntegrator< TDomain, TAlgebra >
 ILinearTimeIntegrator (SmartPtr< linear_solver_type > lSolver)
void set_linear_solver (SmartPtr< linear_solver_type > lSolver)
Public Member Functions inherited from ug::ITimeIntegrator< TDomain, TAlgebra >
virtual ~ITimeIntegrator ()
 virtual destructor
virtual void init (grid_function_type const &u)
 init operator depending on a function u
void init ()
 init operator
void prepare (grid_function_type &u)
 prepares functions for application
void apply (grid_function_type &u1, const grid_function_type &u0)
 Apply operator.
void set_time_step (double dt)
 Set initial time step.
double get_time_step ()
void set_precision_bound (double precisionBound)
void set_no_log_out (bool bNoLogOut)
Public Member Functions inherited from ug::ITimeDiscDependentObject< TAlgebra >
 ITimeDiscDependentObject (SmartPtr< time_disc_type > spTimeDisc)
SmartPtr< time_disc_type > get_time_disc ()

Protected Types

typedef ITimeDiscDependentObject< TAlgebra > tdisc_dep_type

Protected Attributes

int m_numSteps
Protected Attributes inherited from ug::ILinearTimeIntegrator< TDomain, TAlgebra >
SmartPtr< linear_solver_type > m_spLinearSolver
Protected Attributes inherited from ug::ITimeIntegrator< TDomain, TAlgebra >
double m_dt
double m_lower_tim
double m_upper_tim
double m_precisionBound
bool m_bNoLogOut
Protected Attributes inherited from ug::ITimeDiscDependentObject< TAlgebra >
SmartPtr< time_disc_type > m_spTimeDisc

Detailed Description

template<class TDomain, class TAlgebra>
class ug::ConstStepLinearTimeIntegrator< TDomain, TAlgebra >

Integrate over a given time interval (for a linear problem).

Member Function Documentation

◆ apply()

template<typename TDomain, typename TAlgebra>
bool ug::ConstStepLinearTimeIntegrator< TDomain, TAlgebra >::apply ( SmartPtr< grid_function_type > u1,
number t1,
ConstSmartPtr< grid_function_type > u0,
number t0 )
virtual

The documentation for this class was generated from the following files: