Peka2D_v5  v5.0
Functions
calculate.h File Reference
#include <time.h>
#include <stdlib.h>
#include <math.h>
#include <stdint.h>
#include <omp.h>
#include "define.h"
#include "structs.h"
#include "loadData.h"
#include "writeInOut.h"
#include "water.h"
#include "utilities.h"
Include dependency graph for calculate.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

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. More...
 
EXPORT_DLL int computeInitialMassBalance (t_arrays *carrays, t_message *msg)
 This function computes the initial mass balance. More...
 
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. More...
 

Function Documentation

◆ computeInitialMassBalance()

EXPORT_DLL int computeInitialMassBalance ( t_arrays carrays,
t_message msg 
)

This function computes the initial mass balance.

◆ computeSimulation()

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.

◆ generateTimeStep()

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.