Energy-Pathways-Group / GLOceanKit

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

Add ownership to operations? #109

Open JeffreyEarly opened 5 months ago

JeffreyEarly commented 5 months ago

This would allow us to dump all operations associated with a particular nonlinear flux when it has been removed.

Still need to solve the problem that u_g gets redefined, so what do we do?

JeffreyEarly commented 1 day ago

Seems like this should maybe be implement as part of the forcing modules. The nonlinear flux could 'own' the various forcing components. Quite possibility we want the NonlinearFlux to know how to compute the spatial and spectral forcing effects, as well as the inertial flux.