Peka2D_v5  v5.0
calculate.h
Go to the documentation of this file.
1 #include <time.h>
2 #include <stdlib.h>
3 #include <math.h>
4 #include <stdint.h>
5 #include <omp.h>
6 
7 #include "define.h"
8 #include "structs.h"
9 #include "loadData.h"
10 #include "writeInOut.h"
11 #include "water.h"
12 #include "utilities.h"
13 
15 
20  t_mesh *mesh,
21  t_arrays *carrays,
22  t_timers *timers,
23  t_message *msg);
24 /*----------------------------*/
25 
27 
31  t_arrays *carrays,
32  t_message *msg);
33 /*----------------------------*/
34 
36 
40  double *t,
41  t_arrays *carrays,
42  t_timers *timers,
43  t_message *msg);
44 /*----------------------------*/
45 
EXPORT_DLL int computeInitialMassBalance(t_arrays *carrays, t_message *msg)
This function computes the initial mass balance.
Definition: calculate.cpp:143
EXPORT_DLL int computeSimulation(t_parameters spar, t_mesh *mesh, t_arrays *carrays, t_timers *timers, t_message *msg)
This function computes the time integration of the equations.
Definition: calculate.cpp:4
EXPORT_DLL void generateTimeStep(double *t, t_arrays *carrays, t_timers *timers, t_message *msg)
This function updates the variables in the next the time step.
Definition: calculate.cpp:162
#define EXPORT_DLL
Definition: define.h:80
t_message * msg
Definition: peka2d.cpp:41
t_mesh * mesh
Definition: peka2d.cpp:42
t_parameters spar
Definition: peka2d.cpp:40
Arrange all the domain parameters, run controls and data arrays required for computation.
Definition: structs.h:336
Geometrical mesh and flow data.
Definition: structs.h:82
Compilation and execution messages.
Definition: structs.h:41
Simulation execution paramenters.
Definition: structs.h:61
Timers for accounting computational time.
Definition: structs.h:564