Ignore:
Timestamp:
11/18/15 22:31:02 (9 years ago)
Author:
Eric.Larour
Message:

CHG: finished implementing all classes and modules needed to parameterize
test101 in javascript.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/classes/basalforcings.js

    r19753 r19759  
    1717
    1818        } // }}}
     19                this.initialize = function (md){ // {{{
     20
     21                        if (this.groundedice_melting_rate === NaN){
     22                                this.groundedice_melting_rate=NewArrayFill(md.mesh.numberofvertices,0);
     23                                console.log('      no basalforcings.groundedice_melting_rate specified: values set as zero');
     24                        }
     25
     26                        if (this.floatingice_melting_rate === NaN){
     27                                this.floatingice_melting_rate=NewArrayFill(md.mesh.numberofvertices,0);
     28                                console.log('      no basalforcings.floatingice_melting_rate specified: values set as zero');
     29                        }
     30
     31                } // }}}
    1932        //properties
    2033        //{{{
Note: See TracChangeset for help on using the changeset viewer.