HyPar
1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
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
}
TimeStep
int TimeStep(void *)
Definition:
TimeStep.c:13
TimeIntegration
Structure of variables/parameters and function pointers for time integration.
Definition:
timeintegration_struct.h:29
simulation_object.h
Simulation object.
TimeIntegration::simulation
void * simulation
Definition:
timeintegration_struct.h:48
timeintegration.h
Contains function declarations for time integration.
SimulationObject
Structure defining a simulation.
Definition:
simulation_object.h:23
basic.h
Some basic definitions and macros.
TimeIntegration::TimeIntegrate
int(* TimeIntegrate)(void *)
Definition:
timeintegration_struct.h:96