Commit 6e2cc096 authored by Veit Lüschow's avatar Veit Lüschow

further changes

parent 229af452
......@@ -2,6 +2,7 @@ from .. import veros_method
from ..variables import allocate
from . import friction, isoneutral, streamfunction
from veros.core import utilities
@veros_method
def momentum(vs):
......
......@@ -233,12 +233,6 @@ class DWBC2Setup(VerosSetup):
vs.tscl_tr = 2e-5
vs.t_restoring = allocate(vs,('xt','yt','zt'))
vs.t_restoring_tr = allocate(vs,('xt','yt','zt'))
# vs.t_restoring_tr = 2e-5 * np.tile((ft+t_tmp)[np.newaxis,:,np.newaxis],[vs.nx+4,1,vs.nz])
# vs.t_restoring[-3:,:,:] = 1 / (1e1 * vs.dt_mom)
# vs.t_restoring[-5:-3,:,:] = 1 / (2e1 * vs.dt_mom)
vs.t_restoring_tr[:,:,-1] = vs.tscl_tr
vs.t_restoring_tr[:,:,-2] = vs.tscl_tr / 2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment