HyPar
1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
TimeStep.c
Go to the documentation of this file.
1
6
#include <
basic.h
>
7
#include <
simulation_object.h
>
8
#include <
timeintegration.h
>
9
13
int
TimeStep
(
void
*ts )
14
{
15
TimeIntegration
*TS = (
TimeIntegration
*) ts;
16
SimulationObject
* sim = (
SimulationObject
*) TS->
simulation
;
17
18
if (TS->
TimeIntegrate
) { TS->
TimeIntegrate
(TS); }
19
20
return
(0);
21
}
TimeIntegration::simulation
void * simulation
Definition:
timeintegration_struct.h:48
TimeStep
int TimeStep(void *ts)
Definition:
TimeStep.c:13
TimeIntegration
Structure of variables/parameters and function pointers for time integration.
Definition:
timeintegration_struct.h:29
SimulationObject
Structure defining a simulation.
Definition:
simulation_object.h:23
basic.h
Some basic definitions and macros.
timeintegration.h
Contains function declarations for time integration.
simulation_object.h
Simulation object.
TimeIntegration::TimeIntegrate
int(* TimeIntegrate)(void *)
Definition:
timeintegration_struct.h:96