#include <glib.h>
#include <utils/utils.h>
#include "plumeinput.h"
#include "plumevars.h"
Go to the source code of this file.
Functions | |
int | plumemass (Plume_enviro *env, Plume_grid *grid, Plume_mass_bal *mb) |
int plumemass | ( | Plume_enviro * | env, | |
Plume_grid * | grid, | |||
Plume_mass_bal * | mb | |||
) |
Calculate the mass of sediment entering the plume.
Calculate the mass of sediment that enters the plume and compare it to the amount of sediment that the plume deposits. If the two masses do not agree, then scale the deposit by an amount to make them agree. The multi-grain size plume is treated as a superposition of single grain size plume. We balance the mass for each of these plumes individually.
Definition at line 44 of file plumemass.c.
References Plume_grid::ccnc, Plume_river::Cs, Plume_river::d0, dTOs, Plume_grid::dx, Plume_grid::dy, eh_new0, jj, Plume_grid::lx, Plume_grid::ly, Plume_enviro::n_grains, Plume_enviro::ocean, Plume_river::Q, Plume_mass_bal::Qsr, Plume_mass_bal::Qsw, Plume_enviro::river, rnd, Plume_enviro::sed, Plume_mass_bal::Tsd, Plume_mass_bal::Tsr, and Plume_grid::ualb.
Referenced by plume().