#define EXPORT_DLL
Definition: define.h:80
Arrange all the domain parameters, run controls and data arrays required for computation.
Definition: structs.h:336
EXPORT_DLL void c_reduce_dt(t_arrays *arrays)
This function multiplies the time step by a factor of 0.8 if the there is a change to get negative wa...
Definition: water.cpp:753
EXPORT_DLL void c_update_contributions(int nTasks, t_arrays *arrays)
This function computes the right-hand side of the equations to update each physical variable.
Definition: water.cpp:652
EXPORT_DLL void c_add_active_walls(t_arrays *arrays, int id)
This function adds wall identified by index id to the active walls set.
Definition: water.cpp:1113
EXPORT_DLL void c_get_dtmin(int nTasks, t_arrays *arrays)
This function finds the minimum time step out of the vector localDt. If the whole domain is dry,...
Definition: water.cpp:622
EXPORT_DLL void c_update_wetdry_cells(int nTasks, t_arrays *arrays)
This function corrects the wet/dry fronts found in function c_check_wetdry.
Definition: water.cpp:928
EXPORT_DLL void c_initialize_delta(int nTasks, t_arrays *arrays)
This function initializes the variation of conserved variables in the arrays structure to 0....
Definition: water.cpp:31
EXPORT_DLL void c_set_new_dt(t_arrays *arrays)
This function sets the new time step according to the dumping and final times. If the precomputed tim...
Definition: water.cpp:762
EXPORT_DLL void c_wall_rotated_calculus(int nTasks, t_arrays *arrays)
This function computes the variation of conserved variables (dh, dhu, dhv) using the ARoe method at a...
Definition: water.cpp:53
EXPORT_DLL void c_update_cells(int nTasks, t_arrays *arrays)
This function updates the water depth and water discharges (in wet cells).
Definition: water.cpp:802
EXPORT_DLL void c_compute_cell_mass(int nTasks, t_arrays *arrays)
This function recounts and stores the total mass of all active cells.
Definition: water.cpp:5
EXPORT_DLL void c_check_wetdry(int nTasks, t_arrays *arrays)
This function checks the presence of wet/dry fronts and writes flags to correct them later.
Definition: water.cpp:871
EXPORT_DLL void c_checkpos_h(int nTasks, t_arrays *arrays, int *check)
This function checks the positivity of the water depth. If there is a cell where the depth is negativ...
Definition: water.cpp:717
EXPORT_DLL void c_reconstruct_active_elements(int nTasks, t_arrays *arrays)
This function computes the mass error of the current state with respect to the previous one (in %).
Definition: water.cpp:1034
EXPORT_DLL void c_add_active_cells(t_arrays *arrays, int id)
This function adds the newly wetted cells to the active cells set.
Definition: water.cpp:1098
EXPORT_DLL void c_compute_mass_error(t_arrays *arrays)
This function computes the mass error of the current state with respect to the previous one (in %).
Definition: water.cpp:1016