deal.II version GIT relicensing-2289-g1e5549a87a 2024-12-21 21:30:00+00:00
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
TimeDependent::TimeSteppingData Struct Reference

#include <deal.II/numerics/time_dependent.h>

Public Member Functions

 TimeSteppingData (const unsigned int look_ahead, const unsigned int look_back)
 

Public Attributes

const unsigned int look_ahead
 
const unsigned int look_back
 

Detailed Description

Structure holding the two basic entities that control a loop over all time steps: how many time steps ahead of the present one we shall start waking up timestep objects and how many timesteps behind we shall call their sleep method.

Definition at line 368 of file time_dependent.h.

Constructor & Destructor Documentation

◆ TimeSteppingData()

TimeDependent::TimeSteppingData::TimeSteppingData ( const unsigned int  look_ahead,
const unsigned int  look_back 
)

Constructor; see the different fields for a description of the meaning of the parameters.

Definition at line 34 of file time_dependent.cc.

Member Data Documentation

◆ look_ahead

const unsigned int TimeDependent::TimeSteppingData::look_ahead

This denotes the number of timesteps the timestepping algorithm needs to look ahead. Usually, this number will be zero, since algorithms looking ahead can't act as timestepping schemes since they can't compute their data from knowledge of the past only and are therefore global in time.

However, it may be necessary to look ahead in other circumstances, when not wanting to access the data of the next time step(s), but for example to know the next grid, the solution of a dual problem on the next time level, etc.

Note that for a dual problem walking back in time, "looking ahead" means looking towards smaller time values.

The value of this number determines, how many time steps ahead the time step manager start to call the wake_up function for each time step.

Definition at line 395 of file time_dependent.h.

◆ look_back

const unsigned int TimeDependent::TimeSteppingData::look_back

This is the opposite variable to the above one. It denotes the number of time steps behind the present one for which we need to keep all data in order to do the computations on the present time level.

For one step schemes (e.g. the Euler schemes, or the Crank-Nicolson scheme), this value will be one.

The value of this number determines, how many time steps after having done computations on a time level the time step manager will call the sleep function for each time step.

Definition at line 409 of file time_dependent.h.


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