SPINS Science Files
SPINS comes with a variety of Science files which help with simulation data analysis. Below is a list of currently available functions with a brief description of their purpose and the assumptions behind their implementation. These Science files are in spins/src/Science.
bottom_slope.cpp
Returns the vector of the bottom slope at each x-grid point. This is used for calculating the stresses along the bottom boundary (cf. bottom_stress_x.cpp and bottom_stress_y.cpp).
Assumes the bottom is at the 0-index for .
bottom_stress_x.cpp
Returns the x-component of stress along the bottom boundary.
If the case is unmapped: where is the dynamic viscosity.
If the case is mapped: where and where is the bottom slope.