Last change
on this file since 19753 was 19753, checked in by Eric.Larour, 9 years ago |
CHG: new modules in javascript, IssmConfig and InterpFromMeshToMesh2d, which uses the
bamg objects.
New classes to be able to finish off the model.js implementation. New paterson, solvers for javacsript.
|
File size:
521 bytes
|
Rev | Line | |
---|
[19753] | 1 | //SMBforcing Class definition
|
---|
| 2 | //
|
---|
| 3 | // Usage:
|
---|
| 4 | // SMB=SMBforcing();
|
---|
| 5 |
|
---|
| 6 | function SMBforcing(){
|
---|
| 7 | //methods
|
---|
| 8 | this.setdefaultparameters = function(){// {{{
|
---|
| 9 | } // }}}
|
---|
| 10 | this.disp = function(){ // {{{
|
---|
| 11 | console.log(sprintf(' surface forcings parameters:'));
|
---|
| 12 | fielddisplay(this,'mass_balance','surface mass balance [m/yr ice eq]');
|
---|
| 13 | fielddisplay(this,'requested_outputs','additional outputs requested');
|
---|
| 14 | } // }}}
|
---|
| 15 | //properties
|
---|
| 16 | this.mass_balance = NaN;
|
---|
| 17 | this.requested_outputs = [''];
|
---|
| 18 | this.setdefaultparameters();
|
---|
| 19 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.