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

This class integrates (t0, t1] with stops at intermediate points tk. More...

#include <time_integrator.hpp>

Inheritance diagram for ug::DiscontinuityIntegrator< TDomain, TAlgebra >:
ug::INonlinearTimeIntegrator< TDomain, TAlgebra > ug::ITimeIntegrator< TDomain, TAlgebra >

Public Types

typedef INonlinearTimeIntegrator< TDomain, TAlgebra > base_type
typedef base_type::grid_function_type grid_function_type
Public Types inherited from ug::INonlinearTimeIntegrator< TDomain, TAlgebra >
typedef ITimeIntegrator< TDomain, TAlgebra > base_type
typedef base_type::vector_type vector_type
typedef IOperatorInverse< vector_type > solver_type
typedef AssembledOperator< 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 Member Functions

 DiscontinuityIntegrator (SmartPtr< base_type > baseIntegrator)
bool apply (SmartPtr< grid_function_type > u1, number t1, ConstSmartPtr< grid_function_type > u0, number t0)
void insert_points (std::vector< double > points)
Public Member Functions inherited from ug::INonlinearTimeIntegrator< TDomain, TAlgebra >
void set_solver (SmartPtr< solver_type > solver)
ConstSmartPtr< solver_type > get_solver () const
SmartPtr< solver_type > get_solver ()
void set_dt_min (double min)
double get_dt_min ()
void set_dt_max (double max)
double get_dt_max ()
void set_reduction_factor (double dec)
double get_reduction_factor ()
void set_increase_factor (double inc)
double get_increase_factor ()
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)

Protected Attributes

SmartPtr< base_type > m_wrappedIntegrator
std::vector< double > m_timePoints
Protected Attributes inherited from ug::INonlinearTimeIntegrator< TDomain, TAlgebra >
SmartPtr< solver_type > m_spSolver
TimeStepBounds m_dtBounds
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

Detailed Description

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

This class integrates (t0, t1] with stops at intermediate points tk.

Member Function Documentation

◆ apply()

template<class TDomain, class TAlgebra>
bool ug::DiscontinuityIntegrator< TDomain, TAlgebra >::apply ( SmartPtr< grid_function_type > u1,
number t1,
ConstSmartPtr< grid_function_type > u0,
number t0 )
inlinevirtual

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