Open glwagner opened 9 months ago
Also how about changing the name of the struct from buoyancy
to BuoyancyForce
? That motivates the addition of the direction of the force (eg through gravity unit vector). Then the "formulation" refers to the scalar value of the buoyancy.
It's bothered me for a long time that the key property of
buoyancy
is calledmodel
:https://github.com/CliMA/Oceananigans.jl/blob/5dd96cf310e988fc5d3a2523c2dcc7197f18ff62/src/BuoyancyModels/buoyancy.jl#L3-L6
which leads to funny lines like
Can we change
model
toformulation
? Then we'd writeIt's slightly better. Open to other suggestions too. We just have to get rid of
model
.We can also change the module name to
Buoyancies
or something.cc @tomchor