Changeset 20261


Ignore:
Timestamp:
02/27/16 19:11:03 (9 years ago)
Author:
Eric.Larour
Message:

CHG (JS): fixed huge memory issue when declaring the slr.js fields.

File:
1 edited

Legend:

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

    r20181 r20261  
    5454                        return ['Sealevel'];
    5555                }//}}}
     56        this.classname= function(){// {{{
     57                return "slr";
     58        }// }}}
    5659                this.disp= function(){// {{{
    5760                       
     
    113116        //properties
    114117        //{{{
    115         deltathickness = NaN;
    116         sealevel       = NaN;
    117         maxiter        = 0;
    118         reltol         = 0;
    119         abstol         = 0;
    120         love_h         = 0; //provided by PREM model
    121         love_k         = 0; //ideam
    122         rigid          = 0;
    123         elastic        = 0;
    124         eustatic       = 0;
    125         degacc         = 0;
    126         requested_outputs = [];
    127         transitions    = [];
     118        this.deltathickness = NaN;
     119        this.sealevel       = NaN;
     120        this.maxiter        = 0;
     121        this.reltol         = 0;
     122        this.abstol         = 0;
     123        this.love_h         = 0; //provided by PREM model
     124        this.love_k         = 0; //ideam
     125        this.rigid          = 0;
     126        this.elastic        = 0;
     127        this.eustatic       = 0;
     128        this.degacc         = 0;
     129        this.requested_outputs = [];
     130        this.transitions    = [];
     131        this.setdefaultparameters();
    128132        //}}}
    129133}
Note: See TracChangeset for help on using the changeset viewer.