Energy-Pathways-Group / GLOceanKit

Tools for physical oceanography in Matlab and Objective-C
21 stars 11 forks source link

initWithRandomAmplitudes should avoid density bounds violations #102

Open JeffreyEarly opened 3 months ago

JeffreyEarly commented 3 months ago

Currently the amplitudes are truly random, which means that you can violate the adiabatic constraint. This can be done by brute force, or by math.