Changeset 23653


Ignore:
Timestamp:
01/23/19 14:53:54 (6 years ago)
Author:
youngmc3
Message:

CHG: python class for frontalforcings

Location:
issm/trunk-jpl
Files:
1 added
7 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/classes/model.py

    r23432 r23653  
    111111                self.levelset         = levelset()
    112112                self.calving          = calving()
    113                 self.gia              = giaivins()
     113                self.frontalforcings  = frontalforcings()
     114                self.gia              = giaivins()
    114115                self.love             = fourierlove()
    115116                self.esa              = esa()
     
    117118                self.inversion        = inversion()
    118119                self.qmu              = qmu()
    119                 self.amr                                        = amr()
     120                self.amr              = amr()
    120121
    121122                self.results          = results()
     
    156157                        'levelset',
    157158                        'calving',
     159                        'frontalforcings',
    158160                        'love',
    159161                        'gia',
     
    200202                string="%s\n%s" % (string,"%19s: %-22s -- %s" % ("levelset","[%s,%s]" % ("1x1",obj.levelset.__class__.__name__),"parameters for moving boundaries (level-set method)"))
    201203                string="%s\n%s" % (string,"%19s: %-22s -- %s" % ("calving","[%s,%s]" % ("1x1",obj.calving.__class__.__name__),"parameters for calving"))
     204                string="%s\n%s" % (string,"%19s: %-22s -- %s" % ("frontalforcings","[%s,%s]" % ("1x1",obj.frontalforcings.__class__.__name__),"parameters for frontalforcings"))
    202205                string="%s\n%s" % (string,"%19s: %-22s -- %s" % ("gia","[%s,%s]" % ("1x1",obj.gia.__class__.__name__),"parameters for gia solution"))
    203206                string="%s\n%s" % (string,'%19s: %-22s -- %s' % ("love","[%s,%s]" % ("1x1",obj.love.__class__.__name__),"parameters for love solution"))
     
    661664                md.levelset.extrude(md)
    662665                md.calving.extrude(md)
     666                md.frontalforcings.extrude(md)
    663667
    664668                #connectivity
  • issm/trunk-jpl/test/NightlyRun/test540.py

    r22563 r23653  
    1919md.mask.ice_levelset = 1e4 * (md.mask.ice_levelset + 0.5)
    2020md.calving = calvingvonmises()
    21 md.calving.meltingrate = np.zeros((md.mesh.numberofvertices,))
     21md.frontalforcings.meltingrate = np.zeros((md.mesh.numberofvertices,))
    2222md.transient.ismovingfront = 1
    2323md.levelset.spclevelset = float('NaN') * np.ones((md.mesh.numberofvertices,))
  • issm/trunk-jpl/test/NightlyRun/test804.py

    r21585 r23653  
    2525
    2626md.calving.calvingrate=1000.*np.ones((md.mesh.numberofvertices))
    27 md.calving.meltingrate=np.zeros((md.mesh.numberofvertices))
     27md.frontalforcings.meltingrate=np.zeros((md.mesh.numberofvertices))
    2828
    2929md=solve(md,'Transient')
  • issm/trunk-jpl/test/NightlyRun/test805.py

    r23010 r23653  
    3232
    3333md.calving.calvingrate=1000.*np.ones((md.mesh.numberofvertices))
    34 md.calving.meltingrate=np.zeros((md.mesh.numberofvertices))
     34md.frontalforcings.meltingrate=np.zeros((md.mesh.numberofvertices))
    3535md.groundingline.melt_interpolation='SubelementMelt1'
    3636md.levelset.stabilization=2
  • issm/trunk-jpl/test/NightlyRun/test806.py

    r21585 r23653  
    3737md.calving=calvinglevermann()
    3838md.calving.coeff=4.89e13*np.ones((md.mesh.numberofvertices))
    39 md.calving.meltingrate=np.zeros((md.mesh.numberofvertices))
     39md.frontalforcings.meltingrate=np.zeros((md.mesh.numberofvertices))
    4040md.levelset.spclevelset=np.nan*np.ones((md.mesh.numberofvertices))
    4141
  • issm/trunk-jpl/test/NightlyRun/test807.py

    r21585 r23653  
    3636
    3737md.calving.calvingrate=np.zeros((md.mesh.numberofvertices))
    38 md.calving.meltingrate=10000*np.ones((md.mesh.numberofvertices))
     38md.forcings.meltingrate=10000*np.ones((md.mesh.numberofvertices))
    3939md.levelset.spclevelset=np.nan*np.ones((md.mesh.numberofvertices))
    4040
  • issm/trunk-jpl/test/NightlyRun/test808.py

    r23094 r23653  
    3737md.calving = calvingminthickness()
    3838md.calving.min_thickness = 400
    39 md.calving.meltingrate = np.zeros((md.mesh.numberofvertices,))
     39md.frontalforcings.meltingrate = np.zeros((md.mesh.numberofvertices,))
    4040md.levelset.spclevelset = float('NaN')* np.ones((md.mesh.numberofvertices,))
    4141md.levelset.reinit_frequency = 1
Note: See TracChangeset for help on using the changeset viewer.