Ignore:
Timestamp:
01/30/16 19:12:44 (9 years ago)
Author:
Eric.Larour
Message:

CHG: parallelized computation of G_elastic in the Sealevelrise UpdateParameters analysis phase.

File:
1 edited

Legend:

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

    r20028 r20033  
    1515                elastic         = 0;
    1616                eustatic         = 0;
     17                degacc         = 0;
    1718        end
    1819        methods
     
    3839                self.elastic=1;
    3940                self.eustatic=1;
     41
     42                %numerical discretization accuracy
     43                self.degacc=.01;
    4044               
    4145                end % }}}
     
    4953                        md = checkfield(md,'fieldname','slr.abstol','size',[1 1]);
    5054                        md = checkfield(md,'fieldname','slr.maxiter','size',[1 1],'>=',1);
     55                        md = checkfield(md,'fieldname','slr.degacc','size',[1 1],'>=',1e-10);
    5156
    5257                        %check that love numbers are provided at the same level of accuracy:
     
    6873                        fielddisplay(self,'elastic','elastic earth graviational potential perturbation');
    6974                        fielddisplay(self,'eustatic','eustatic sea level rise');
     75                        fielddisplay(self,'degacc','accuracy (default .01 deg) for numerical discretization of the Green''s functions');
    7076
    7177                end % }}}
     
    8086                        WriteData(fid,'object',self,'class','sealevelrise','fieldname','elastic','format','Boolean');
    8187                        WriteData(fid,'object',self,'class','sealevelrise','fieldname','eustatic','format','Boolean');
     88                        WriteData(fid,'object',self,'class','sealevelrise','fieldname','degacc','format','Double');
    8289                end % }}}
    8390                function savemodeljs(self,fid,modelname) % {{{
     
    9198                        writejsdouble(fid,[modelname '.slr.rigid'],self.rigid);
    9299                        writejsdouble(fid,[modelname '.slr.eustatic'],self.eustatic);
     100                        writejsdouble(fid,[modelname '.slr.degacc'],self.degacc);
    93101
    94102                end % }}}
Note: See TracChangeset for help on using the changeset viewer.