The use of adjoint equations to solve a variational adjustment problem with advective constraints | Synapse