source: issm/trunk/src/m/boundaryconditions/SetMLHOBC.py@ 26744

Last change on this file since 26744 was 26744, checked in by Mathieu Morlighem, 3 years ago

merged trunk-jpl and trunk for revision 26742

File size: 585 bytes
RevLine 
[26584]1import numpy as np
[26555]2
3
4def SetMLHOBC(md):
5 """
6 SETMLHOBC - Create the boundary conditions for stressbalance for MLHO: VxBase, VyBase, VxShear, VyShear
7
8 Usage:
9 md = SetIceShelfBC(md, varargin)
10
11 Example:
12 md = SetIceShelfBC(md)
13
14 """
15
16 #node on Dirichlet (boundary and ~icefront)
17 md.stressbalance.spcvx_base = md.stressbalance.spcvx
18 md.stressbalance.spcvy_base = md.stressbalance.spcvy
[26584]19 md.stressbalance.spcvx_shear = np.nan * md.stressbalance.spcvx
20 md.stressbalance.spcvy_shear = np.nan * md.stressbalance.spcvy
21
22 return md
Note: See TracBrowser for help on using the repository browser.