Mass balance in shallow water simulation

Mass balance relations are obtained for primitive and wave equation spectral models. The results prescribe a departure from conventional methods for boundary condition enforcement. Numerical results substantiate the theory.