source: issm/oecreview/Archive/21337-21723/ISSM-21529-21530.diff@ 21726

Last change on this file since 21726 was 21726, checked in by Mathieu Morlighem, 8 years ago

CHG added Archive/21337-21723

File size: 30.4 KB
  • ../trunk-jpl/src/m/Makefile.am

     
    9494                                ${ISSM_DIR}/src/m/classes/flowequation.js \
    9595                                ${ISSM_DIR}/src/m/classes/friction.js \
    9696                                ${ISSM_DIR}/src/m/classes/geometry.js \
    97                                 ${ISSM_DIR}/src/m/classes/gia.js \
     97                                ${ISSM_DIR}/src/m/classes/giaivins.js \
    9898                                ${ISSM_DIR}/src/m/classes/esa.js \
    9999                                ${ISSM_DIR}/src/m/classes/groundingline.js \
    100100                                ${ISSM_DIR}/src/m/classes/hydrologyshreve.js \
  • ../trunk-jpl/src/m/solve/solve.py

     
    2727                 - 'SurfaceSlope'     or 'ssl'
    2828                 - 'Hydrology'        or 'hy'
    2929                 - 'DamageEvolution'  or 'da'
    30                  - 'Gia'              or 'gia'
     30                 - 'GiaIvins'              or 'giaivins'
    3131                 - 'Sealevelrise'     or 'slr'
    3232
    3333           extra options:
     
    6363                solutionstring = 'HydrologySolution';
    6464        elif solutionstring.lower() == 'da' or solutionstring.lower() == 'damageevolution':
    6565                solutionstring = 'DamageEvolutionSolution';
    66         elif solutionstring.lower() == 'gia' or solutionstring.lower() == 'gia':
    67                 solutionstring = 'GiaSolution';
     66        elif solutionstring.lower() == 'giaivins' or solutionstring.lower() == 'giaivins':
     67                solutionstring = 'GiaIvinsSolution';
    6868        elif solutionstring.lower() == 'slr' or solutionstring.lower() == 'sealevelrise':
    6969                solutionstring = 'SealevelriseSolution';
    7070        else:   
  • ../trunk-jpl/src/m/solve/solve.m

     
    1717%                - 'SurfaceSlope'       or 'ssl'
    1818%                - 'Hydrology'          or 'hy'
    1919%      - 'DamageEvolution'    or 'da'
    20 %                - 'Gia'                or 'gia'
     20%                - 'GiaIvins'           or 'giaivins'
    2121%                - 'Esa'                or 'esa'
    2222%                - 'Sealevelrise'       or 'slr'
    2323%
     
    6161        solutionstring = 'HydrologySolution';
    6262elseif strcmpi(solutionstring,'da') || strcmpi(solutionstring,'DamageEvolution')
    6363        solutionstring = 'DamageEvolutionSolution';
    64 elseif strcmpi(solutionstring,'gia') || strcmpi(solutionstring,'Gia')
    65         solutionstring = 'GiaSolution';
     64elseif strcmpi(solutionstring,'giaivins') || strcmpi(solutionstring,'GiaIvins')
     65        solutionstring = 'GiaIvinsSolution';
    6666elseif strcmpi(solutionstring,'esa') || strcmpi(solutionstring,'Esa')
    6767        solutionstring = 'EsaSolution';
    6868elseif strcmpi(solutionstring,'slr') || strcmpi(solutionstring,'Sealevelrise')
  • ../trunk-jpl/src/m/solve/solve.js

     
    1717//               - 'SurfaceSlope'       or 'ssl'
    1818//               - 'Hydrology'          or 'hy'
    1919//      - 'DamageEvolution'   or 'da'
    20 //               - 'Gia'                or 'gia'
     20//               - 'GiaIvins'                or 'giaivins'
    2121//               - 'Sealevelrise'       or 'slr'
    2222//
    2323//  extra options:
     
    5858                solutionstring = 'HydrologySolution';
    5959        }else if((solutionstring.toLowerCase() === 'da') || (solutionstring.toLowerCase() === 'damageevolution')){
    6060                solutionstring = 'DamageEvolutionSolution';
    61         }else if((solutionstring.toLowerCase() === 'gia') || (solutionstring.toLowerCase() === 'gia')){
    62                 solutionstring = 'GiaSolution';
     61        }else if((solutionstring.toLowerCase() === 'giaivins') || (solutionstring.toLowerCase() === 'giaivins')){
     62                solutionstring = 'GiaIvinsSolution';
    6363        }else if((solutionstring.toLowerCase() === 'slr') || (solutionstring.toLowerCase() === 'sealevelrise')){
    6464                solutionstring = 'SealevelriseSolution';
    6565        }else{
  • ../trunk-jpl/src/m/consistency/ismodelselfconsistent.js

     
    7474        }else if(solutiontype ==='BedSlopeSolution'){
    7575                analyses=['L2ProjectionBaseAnalysis'];
    7676               
    77         }else if(solutiontype ==='GiaSolution'){
    78                 analyses=['GiaAnalysis'];
     77        }else if(solutiontype ==='GiaIvinsSolution'){
     78                analyses=['GiaIvinsAnalysis'];
    7979               
    8080        }else if(solutiontype ==='TransientSolution'){
    8181                analyses=['StressbalanceAnalysis','StressbalanceVerticalAnalysis','StressbalanceSIAAnalysis','L2ProjectionBaseAnalysis','ThermalAnalysis','MeltingAnalysis','EnthalpyAnalysis','MasstransportAnalysis','HydrologySommersAnalysis'];
  • ../trunk-jpl/src/m/consistency/ismodelselfconsistent.m

     
    6363                analyses={'L2ProjectionBaseAnalysis'};
    6464        elseif strcmp(solutiontype,'BedSlopeSolution')
    6565                analyses={'L2ProjectionBaseAnalysis'};
    66         elseif strcmp(solutiontype,'GiaSolution')
    67                 analyses={'GiaAnalysis'};
     66        elseif strcmp(solutiontype,'GiaIvinsSolution')
     67                analyses={'GiaIvinsAnalysis'};
    6868        elseif strcmp(solutiontype,'EsaSolution')
    6969                analyses={'EsaAnalysis'};
    7070        elseif strcmp(solutiontype,'TransientSolution')
  • ../trunk-jpl/src/m/consistency/ismodelselfconsistent.py

     
    3030        elif solutiontype == 'BedSlopeSolution':
    3131                analyses=['L2ProjectionBaseAnalysis']
    3232
    33         elif solutiontype == 'GiaSolution':
    34                 analyses=['GiaAnalysis']
     33        elif solutiontype == 'GiaIvinsSolution':
     34                analyses=['GiaIvinsAnalysis']
    3535
    3636        elif solutiontype == 'TransientSolution':
    3737                analyses=['StressbalanceAnalysis','StressbalanceVerticalAnalysis','StressbalanceSIAAnalysis','L2ProjectionBaseAnalysis','ThermalAnalysis','MeltingAnalysis','EnthalpyAnalysis','MasstransportAnalysis']
  • ../trunk-jpl/src/m/classes/geometry.py

     
    4444        #}}}
    4545        def checkconsistency(self,md,solution,analyses):    # {{{
    4646
    47                 if (solution=='TransientSolution' and md.transient.isgia) or (solution=='GiaSolution'):
     47                if (solution=='TransientSolution' and md.transient.isgiaivins) or (solution=='GiaIvinsSolution'):
    4848                        md = checkfield(md,'fieldname','geometry.thickness','NaN',1,'Inf',1,'>=',0,'timeseries',1)
    4949                else:
    5050                        md = checkfield(md,'fieldname','geometry.surface'  ,'NaN',1,'Inf',1,'size',[md.mesh.numberofvertices])
  • ../trunk-jpl/src/m/classes/model.m

     
    3939                transient        = 0;
    4040                levelset                          = 0;
    4141                calving          = 0;
    42                 gia              = 0;
     42                giaivins              = 0;
    4343                esa              = 0;
    4444
    4545                autodiff         = 0;
     
    224224                        if ~isnan(md.initialization.epl_thickness),md.initialization.epl_thickness=project2d(md,md.initialization.epl_thickness,1);end;
    225225                        if ~isnan(md.initialization.waterfraction),md.initialization.waterfraction=project2d(md,md.initialization.waterfraction,1);end;
    226226                        if ~isnan(md.initialization.watercolumn),md.initialization.watercolumn=project2d(md,md.initialization.watercolumn,1);end;
    227                         %gia
    228                         if ~isnan(md.gia.mantle_viscosity), md.gia.mantle_viscosity=project2d(md,md.gia.mantle_viscosity,1); end
    229                         if ~isnan(md.gia.lithosphere_thickness), md.gia.lithosphere_thickness=project2d(md,md.gia.lithosphere_thickness,1); end
     227                        %giaivins
     228                        if ~isnan(md.giaivins.mantle_viscosity), md.giaivins.mantle_viscosity=project2d(md,md.giaivins.mantle_viscosity,1); end
     229                        if ~isnan(md.giaivins.lithosphere_thickness), md.giaivins.lithosphere_thickness=project2d(md,md.giaivins.lithosphere_thickness,1); end
    230230
    231231                        %elementstype
    232232                        if ~isnan(md.flowequation.element_equation)
     
    11111111                        md.transient        = transient();
    11121112                        md.levelset                       = levelset();
    11131113                        md.calving          = calving();
    1114                         md.gia              = gia();
     1114                        md.giaivins              = giaivins();
    11151115                        md.esa              = esa();
    11161116                        md.autodiff         = autodiff();
    11171117                        md.inversion        = inversion();
     
    12831283                        disp(sprintf('%19s: %-22s -- %s','transient'       ,['[1x1 ' class(self.transient) ']'],'parameters for transient solution'));
    12841284                        disp(sprintf('%19s: %-22s -- %s','levelset'         ,['[1x1 ' class(self.levelset) ']'],'parameters for moving boundaries (level-set method)'));
    12851285                        disp(sprintf('%19s: %-22s -- %s','calving'         ,['[1x1 ' class(self.calving) ']'],'parameters for calving'));
    1286                         disp(sprintf('%19s: %-22s -- %s','gia'             ,['[1x1 ' class(self.gia) ']'],'parameters for gia solution'));
     1286                        disp(sprintf('%19s: %-22s -- %s','giaivins'             ,['[1x1 ' class(self.giaivins) ']'],'parameters for giaivins solution'));
    12871287                        disp(sprintf('%19s: %-22s -- %s','esa'             ,['[1x1 ' class(self.esa) ']'],'parameters for elastic adjustment solution'));
    12881288                        disp(sprintf('%19s: %-22s -- %s','autodiff'        ,['[1x1 ' class(self.autodiff) ']'],'automatic differentiation parameters'));
    12891289                        disp(sprintf('%19s: %-22s -- %s','inversion'       ,['[1x1 ' class(self.inversion) ']'],'parameters for inverse methods'));
  • ../trunk-jpl/src/m/classes/model.js

     
    3636                        console.log(sprintf("//19s: //-22s -- //s","trans"       ,"[1x1 " + typeof(this.trans) + "]","parameters for trans solution"));
    3737                        console.log(sprintf("//19s: //-22s -- //s","levelset"        ,"[1x1 " + typeof(this.levelset) + "]","parameters for moving boundaries (level-set method)"));
    3838                        console.log(sprintf("//19s: //-22s -- //s","calving"         ,"[1x1 " + typeof(this.calving) + "]","parameters for calving"));
    39                         console.log(sprintf("//19s: //-22s -- //s","gia"             ,"[1x1 " + typeof(this.gia) + "]","parameters for gia solution"));
     39                        console.log(sprintf("//19s: //-22s -- //s","giaivins"             ,"[1x1 " + typeof(this.giaivins) + "]","parameters for giaivins solution"));
    4040                        console.log(sprintf("//19s: //-22s -- //s","autodiff"        ,"[1x1 " + typeof(this.autodiff) + "]","automatic differentiation parameters"));
    4141                        console.log(sprintf("//19s: //-22s -- //s","inversion"       ,"[1x1 " + typeof(this.inversion) + "]","parameters for inverse methods"));
    4242                        console.log(sprintf("//19s: //-22s -- //s","qmu"             ,"[1x1 " + typeof(this.qmu) + "]","dakota properties"));
     
    7777                        this.trans            = new trans();
    7878                        this.levelset             = new levelset();
    7979                        this.calving          = new calving();
    80                         this.gia              = new gia();
     80                        this.giaivins              = new giaivins();
    8181                        this.autodiff         = new autodiff();
    8282                        this.inversion        = new inversion();
    8383                        this.qmu              = new qmu();
     
    471471            if (!isNaN(md.initialization.epl_thickness))
    472472                md.initialization.epl_thickness=project2d(md,md.initialization.epl_thickness,1);
    473473
    474             // gia
    475             if (!isNaN(md.gia.mantle_viscosity))
    476                 md.gia.mantle_viscosity=project2d(md,md.gia.mantle_viscosity,1);
    477             if (!isNaN(md.gia.lithosphere_thickness))
    478                 md.gia.lithosphere_thickness=project2d(md,md.gia.lithosphere_thickness,1);
     474            // giaivins
     475            if (!isNaN(md.giaivins.mantle_viscosity))
     476                md.giaivins.mantle_viscosity=project2d(md,md.giaivins.mantle_viscosity,1);
     477            if (!isNaN(md.giaivins.lithosphere_thickness))
     478                md.giaivins.lithosphere_thickness=project2d(md,md.giaivins.lithosphere_thickness,1);
    479479
    480480            // elementstype
    481481            if (!isNaN(md.flowequation.element_equation)) {
     
    606606                this.trans            = 0;
    607607                this.levelset         = 0;
    608608                this.calving          = 0;
    609                 this.gia              = 0;
     609                this.giaivins              = 0;
    610610
    611611                this.autodiff         = 0;
    612612                this.inversion        = 0;
  • ../trunk-jpl/src/m/classes/geometry.js

     
    2828                } //}}}
    2929                this.checkconsistency = function(md,solution,analyses) { //{{{
    3030
    31                         if ((solution=='TransientSolution' & md.trans.isgia) | (solution=='GiaSolution')){
     31                        if ((solution=='TransientSolution' & md.trans.isgiaivins) | (solution=='GiaIvinsSolution')){
    3232                                checkfield(md,'fieldname','geometry.thickness','timeseries',1,'NaN',1,'Inf',1,'>=',0);
    3333                        }
    3434                        else{
  • ../trunk-jpl/src/m/classes/matenhancedice.m

     
    2222                rheology_n   = NaN;
    2323                rheology_law = '';
    2424
    25                 %gia:
     25                %giaivins:
    2626                lithosphere_shear_modulus  = 0.;
    2727                lithosphere_density        = 0.;
    2828                mantle_shear_modulus       = 0.;
  • ../trunk-jpl/src/m/classes/matice.m

     
    2121                rheology_n   = NaN;
    2222                rheology_law = '';
    2323
    24                 %gia:
     24                %giaivins:
    2525                lithosphere_shear_modulus  = 0.;
    2626                lithosphere_density        = 0.;
    2727                mantle_shear_modulus       = 0.;
  • ../trunk-jpl/src/m/classes/matestar.m

     
    2222                rheology_Es   = NaN;
    2323                rheology_law = '';
    2424
    25                 %gia:
     25                %giaivins:
    2626                lithosphere_shear_modulus  = 0.;
    2727                lithosphere_density        = 0.;
    2828                mantle_shear_modulus       = 0.;
  • ../trunk-jpl/src/m/classes/matice.py

     
    2828                self.rheology_n                = float('NaN')
    2929                self.rheology_law              = ''
    3030
    31                 #gia:
     31                #giaivins:
    3232                self.lithosphere_shear_modulus  = 0.
    3333                self.lithosphere_density        = 0.
    3434                self.mantle_shear_modulus       = 0.
  • ../trunk-jpl/src/m/classes/matdamageice.py

     
    2828                self.rheology_n                = float('NaN')
    2929                self.rheology_law              = ''
    3030
    31                 #gia:
     31                #giaivins:
    3232                self.lithosphere_shear_modulus  = 0.
    3333                self.lithosphere_density        = 0.
    3434                self.mantle_shear_modulus       = 0.
  • ../trunk-jpl/src/m/classes/matdamageice.m

     
    2121                rheology_n   = NaN;
    2222                rheology_law = '';
    2323
    24                 %gia:
     24                %giaivins:
    2525                lithosphere_shear_modulus  = 0.;
    2626                lithosphere_density        = 0.;
    2727                mantle_shear_modulus       = 0.;
  • ../trunk-jpl/src/m/classes/transient.py

     
    1616                self.isstressbalance   = False
    1717                self.isthermal         = False
    1818                self.isgroundingline   = False
    19                 self.isgia             = False
     19                self.isgiaivins             = False
    2020                self.isesa             = False
    2121                self.isdamageevolution = False
    2222                self.ismovingfront     = False
     
    3636                string="%s\n%s"%(string,fielddisplay(self,'isstressbalance','indicates if a stressbalance solution is used in the transient'))
    3737                string="%s\n%s"%(string,fielddisplay(self,'isthermal','indicates if a thermal solution is used in the transient'))
    3838                string="%s\n%s"%(string,fielddisplay(self,'isgroundingline','indicates if a groundingline migration is used in the transient'))
    39                 string="%s\n%s"%(string,fielddisplay(self,'isgia','indicates if a postglacial rebound is used in the transient'))
     39                string="%s\n%s"%(string,fielddisplay(self,'isgiaivins','indicates if a postglacial rebound is used in the transient'))
    4040                string="%s\n%s"%(string,fielddisplay(self,'isesa','indicates whether an elastic adjustment model is used in the transient'))
    4141                string="%s\n%s"%(string,fielddisplay(self,'isdamageevolution','indicates whether damage evolution is used in the transient'))
    4242                string="%s\n%s"%(string,fielddisplay(self,'ismovingfront','indicates whether a moving front capability is used in the transient'))
     
    6262                self.isstressbalance   = False
    6363                self.isthermal         = False
    6464                self.isgroundingline   = False
    65                 self.isgia             = False
     65                self.isgiaivins             = False
    6666                self.isesa             = False
    6767                self.isdamageevolution = False
    6868                self.ismovingfront     = False
     
    8282                self.isstressbalance = True
    8383                self.isthermal       = True
    8484                self.isgroundingline = False
    85                 self.isgia           = False
     85                self.isgiaivins           = False
    8686                self.isesa           = False
    8787                self.isdamageevolution = False
    8888                self.ismovingfront   = False
     
    105105                md = checkfield(md,'fieldname','transient.isstressbalance','numel',[1],'values',[0,1])
    106106                md = checkfield(md,'fieldname','transient.isthermal','numel',[1],'values',[0,1])
    107107                md = checkfield(md,'fieldname','transient.isgroundingline','numel',[1],'values',[0,1])
    108                 md = checkfield(md,'fieldname','transient.isgia','numel',[1],'values',[0,1])
     108                md = checkfield(md,'fieldname','transient.isgiaivins','numel',[1],'values',[0,1])
    109109                md = checkfield(md,'fieldname','transient.isesa','numel',[1],'values',[0,1])
    110110                md = checkfield(md,'fieldname','transient.isdamageevolution','numel',[1],'values',[0,1])
    111111                md = checkfield(md,'fieldname','transient.ishydrology','numel',[1],'values',[0,1])
     
    122122                WriteData(fid,prefix,'object',self,'fieldname','isstressbalance','format','Boolean')
    123123                WriteData(fid,prefix,'object',self,'fieldname','isthermal','format','Boolean')
    124124                WriteData(fid,prefix,'object',self,'fieldname','isgroundingline','format','Boolean')
    125                 WriteData(fid,prefix,'object',self,'fieldname','isgia','format','Boolean')
     125                WriteData(fid,prefix,'object',self,'fieldname','isgiaivins','format','Boolean')
    126126                WriteData(fid,prefix,'object',self,'fieldname','isesa','format','Boolean')
    127127                WriteData(fid,prefix,'object',self,'fieldname','isdamageevolution','format','Boolean')
    128128                WriteData(fid,prefix,'object',self,'fieldname','ishydrology','format','Boolean')
  • ../trunk-jpl/src/m/classes/matice.js

     
    156156                this.rheology_n   = NaN;
    157157                this.rheology_law = '';
    158158
    159                 //gia:
     159                //giaivins:
    160160                this.lithosphere_shear_modulus  = 0.;
    161161                this.lithosphere_density        = 0.;
    162162                this.mantle_shear_modulus       = 0.;
  • ../trunk-jpl/src/m/classes/geometry.m

     
    5252                end % }}}
    5353                function md = checkconsistency(self,md,solution,analyses) % {{{
    5454
    55                         if (strcmp(solution,'TransientSolution') & md.transient.isgia) | strcmp(solution,'GiaSolution'),
     55                        if (strcmp(solution,'TransientSolution') & md.transient.isgiaivins) | strcmp(solution,'GiaIvinsSolution'),
    5656                                md = checkfield(md,'fieldname','geometry.thickness','timeseries',1,'NaN',1,'Inf',1,'>=',0);
    5757                        else
    5858                                md = checkfield(md,'fieldname','geometry.surface'  ,'NaN',1,'Inf',1,'size',[md.mesh.numberofvertices 1]);
  • ../trunk-jpl/src/m/classes/slr.m

     
    140140                end % }}}
    141141                function marshall(self,prefix,md,fid) % {{{
    142142                        WriteData(fid,prefix,'object',self,'fieldname','deltathickness','format','DoubleMat','mattype',2);
     143                        %WriteData(fid,prefix,'object',self,'fieldname','deltathickness','format','DoubleMat','mattype',1,'timeserieslength',md.mesh.numberofelements+1);
    143144                        WriteData(fid,prefix,'object',self,'fieldname','sealevel','mattype',1,'format','DoubleMat','timeserieslength',md.mesh.numberofvertices+1,'yts',md.constants.yts);
    144145                        WriteData(fid,prefix,'object',self,'fieldname','reltol','format','Double');
    145146                        WriteData(fid,prefix,'object',self,'fieldname','abstol','format','Double');
  • ../trunk-jpl/src/m/classes/trans.js

     
    1313                this.isstressbalance = 1;
    1414                this.isthermal       = 1;
    1515                this.isgroundingline = 0;
    16                 this.isgia           = 0;
     16                this.isgiaivins           = 0;
    1717                this.isdamageevolution = 0;
    1818                this.ismovingfront   = 0;
    1919                this.ishydrology     = 0;
     
    3333                fielddisplay(this,'isstressbalance','indicates whether a stressbalance solution is used in the transient');
    3434                fielddisplay(this,'isthermal','indicates whether a thermal solution is used in the transient');
    3535                fielddisplay(this,'isgroundingline','indicates whether a groundingline migration is used in the transient');
    36                 fielddisplay(this,'isgia','indicates whether a postglacial rebound model is used in the transient');
     36                fielddisplay(this,'isgiaivins','indicates whether a postglacial rebound model is used in the transient');
    3737                fielddisplay(this,'isdamageevolution','indicates whether damage evolution is used in the transient');
    3838                fielddisplay(this,'ismovingfront','indicates whether a moving front capability is used in the transient');
    3939                fielddisplay(this,'ishydrology','indicates whether an hydrology model is used');
     
    5656                        checkfield(md,'fieldname','trans.isstressbalance','numel',[1],'values',[0 ,1]);
    5757                        checkfield(md,'fieldname','trans.isthermal','numel',[1],'values',[0 ,1]);
    5858                        checkfield(md,'fieldname','trans.isgroundingline','numel',[1],'values',[0, 1]);
    59                         checkfield(md,'fieldname','trans.isgia','numel',[1],'values',[0, 1]);
     59                        checkfield(md,'fieldname','trans.isgiaivins','numel',[1],'values',[0, 1]);
    6060                        checkfield(md,'fieldname','trans.isdamageevolution','numel',[1],'values',[0, 1]);
    6161                        checkfield(md,'fieldname','trans.ismovingfront','numel',[1],'values',[0, 1]);
    6262                        checkfield(md,'fieldname','trans.ishydrology','numel',[1],'values',[0 ,1]);
     
    7272                        WriteData(fid,prefix,'object',this,'fieldname','isstressbalance','format','Boolean');
    7373                        WriteData(fid,prefix,'object',this,'fieldname','isthermal','format','Boolean');
    7474                        WriteData(fid,prefix,'object',this,'fieldname','isgroundingline','format','Boolean');
    75                         WriteData(fid,prefix,'object',this,'fieldname','isgia','format','Boolean');
     75                        WriteData(fid,prefix,'object',this,'fieldname','isgiaivins','format','Boolean');
    7676                        WriteData(fid,prefix,'object',this,'fieldname','isdamageevolution','format','Boolean');
    7777                        WriteData(fid,prefix,'object',this,'fieldname','ishydrology','format','Boolean');
    7878                        WriteData(fid,prefix,'object',this,'fieldname','ismovingfront','format','Boolean');
     
    104104        this.isstressbalance   = 0;
    105105        this.isthermal         = 0;
    106106        this.isgroundingline   = 0;
    107         this.isgia             = 0;
     107        this.isgiaivins             = 0;
    108108        this.isdamageevolution = 0;
    109109        this.ismovingfront     = 0;
    110110        this.ishydrology       = 0;
  • ../trunk-jpl/src/m/classes/model.py

     
    4444from thermal import thermal
    4545from steadystate import steadystate
    4646from transient import transient
    47 from gia import gia
     47from giaivins import giaivins
    4848from autodiff import autodiff
    4949from inversion import inversion
    5050from outputdefinition import outputdefinition
     
    106106                self.transient        = transient()
    107107                self.levelset         = levelset()
    108108                self.calving          = calving()
    109                 self.gia              = gia()
     109                self.giaivins              = giaivins()
    110110
    111111                self.autodiff         = autodiff()
    112112                self.inversion        = inversion()
     
    149149                        'transient',\
    150150                        'levelset',\
    151151                        'calving',\
    152                                                 'gia',\
     152                                                'giaivins',\
    153153                        'autodiff',\
    154154                        'inversion',\
    155155                        'qmu',\
     
    639639
    640640                md.materials.extrude(md)
    641641                md.damage.extrude(md)
    642                 md.gia.extrude(md)
     642                md.giaivins.extrude(md)
    643643                md.mask.extrude(md)
    644644                md.qmu.extrude(md)
    645645                md.basalforcings.extrude(md)
     
    695695                if not np.isnan(md.initialization.epl_head).all(): md.initialization.epl_head=project2d(md,md.initialization.epl_head,1)
    696696                if not np.isnan(md.initialization.epl_thickness).all(): md.initialization.epl_thickness=project2d(md,md.initialization.epl_thickness,1)
    697697
    698                 #gia
    699                 if not np.isnan(md.gia.mantle_viscosity).all(): md.gia.mantle_viscosity=project2d(md,md.gia.mantle_viscosity,1)
    700                 if not np.isnan(md.gia.lithosphere_thickness).all(): md.gia.lithosphere_thickness=project2d(md,md.gia.lithosphere_thickness,1)
     698                #giaivins
     699                if not np.isnan(md.giaivins.mantle_viscosity).all(): md.giaivins.mantle_viscosity=project2d(md,md.giaivins.mantle_viscosity,1)
     700                if not np.isnan(md.giaivins.lithosphere_thickness).all(): md.giaivins.lithosphere_thickness=project2d(md,md.giaivins.lithosphere_thickness,1)
    701701
    702702                #elementstype
    703703                if not np.isnan(md.flowequation.element_equation).all():
  • ../trunk-jpl/src/m/classes/transient.m

     
    1010                isstressbalance   = 0;
    1111                isthermal         = 0;
    1212                isgroundingline   = 0;
    13                 isgia             = 0;
     13                isgiaivins             = 0;
    1414                isesa             = 0;
    1515                isdamageevolution = 0;
    1616                ismovingfront     = 0;
     
    3636                        self.isstressbalance = 0;
    3737                        self.isthermal       = 0;
    3838                        self.isgroundingline = 0;
    39                         self.isgia           = 0;
     39                        self.isgiaivins           = 0;
    4040                        self.isesa           = 0;
    4141                        self.isdamageevolution = 0;
    4242                        self.ismovingfront   =0;
     
    5555                        self.isstressbalance = 1;
    5656                        self.isthermal       = 1;
    5757                        self.isgroundingline = 0;
    58                         self.isgia           = 0;
     58                        self.isgiaivins           = 0;
    5959                        self.isesa           = 0;
    6060                        self.isdamageevolution = 0;
    6161                        self.ismovingfront   = 0;
     
    8383                        md = checkfield(md,'fieldname','transient.isstressbalance','numel',[1],'values',[0 1]);
    8484                        md = checkfield(md,'fieldname','transient.isthermal','numel',[1],'values',[0 1]);
    8585                        md = checkfield(md,'fieldname','transient.isgroundingline','numel',[1],'values',[0 1]);
    86                         md = checkfield(md,'fieldname','transient.isgia','numel',[1],'values',[0 1]);
     86                        md = checkfield(md,'fieldname','transient.isgiaivins','numel',[1],'values',[0 1]);
    8787                        md = checkfield(md,'fieldname','transient.isesa','numel',[1],'values',[0 1]);
    8888                        md = checkfield(md,'fieldname','transient.isdamageevolution','numel',[1],'values',[0 1]);
    8989                        md = checkfield(md,'fieldname','transient.ismovingfront','numel',[1],'values',[0 1]);
     
    101101                        fielddisplay(self,'isstressbalance','indicates whether a stressbalance solution is used in the transient');
    102102                        fielddisplay(self,'isthermal','indicates whether a thermal solution is used in the transient');
    103103                        fielddisplay(self,'isgroundingline','indicates whether a groundingline migration is used in the transient');
    104                         fielddisplay(self,'isgia','indicates whether a postglacial rebound model is used in the transient');
     104                        fielddisplay(self,'isgiaivins','indicates whether a postglacial rebound model is used in the transient');
    105105                        fielddisplay(self,'isesa','indicates whether an elastic adjustment model is used in the transient');
    106106                        fielddisplay(self,'isdamageevolution','indicates whether damage evolution is used in the transient');
    107107                        fielddisplay(self,'ismovingfront','indicates whether a moving front capability is used in the transient');
     
    117117                        WriteData(fid,prefix,'object',self,'fieldname','isstressbalance','format','Boolean');
    118118                        WriteData(fid,prefix,'object',self,'fieldname','isthermal','format','Boolean');
    119119                        WriteData(fid,prefix,'object',self,'fieldname','isgroundingline','format','Boolean');
    120                         WriteData(fid,prefix,'object',self,'fieldname','isgia','format','Boolean');
     120                        WriteData(fid,prefix,'object',self,'fieldname','isgiaivins','format','Boolean');
    121121                        WriteData(fid,prefix,'object',self,'fieldname','isesa','format','Boolean');
    122122                        WriteData(fid,prefix,'object',self,'fieldname','isdamageevolution','format','Boolean');
    123123                        WriteData(fid,prefix,'object',self,'fieldname','ishydrology','format','Boolean');
     
    141141                        writejsdouble(fid,[modelname '.trans.isstressbalance'],self.isstressbalance);
    142142                        writejsdouble(fid,[modelname '.trans.isthermal'],self.isthermal);
    143143                        writejsdouble(fid,[modelname '.trans.isgroundingline'],self.isgroundingline);
    144                         writejsdouble(fid,[modelname '.trans.isgia'],self.isgia);
     144                        writejsdouble(fid,[modelname '.trans.isgiaivins'],self.isgiaivins);
    145145                        writejsdouble(fid,[modelname '.trans.isesa'],self.isesa);
    146146                        writejsdouble(fid,[modelname '.trans.isdamageevolution'],self.isdamageevolution);
    147147                        writejsdouble(fid,[modelname '.trans.ismovingfront'],self.ismovingfront);
  • ../trunk-jpl/src/m/contrib/defleurian/netCDF/ClassTry.py

     
    6969                        'steadystate':'steadystate',\
    7070                        'transient':'transient',\
    7171                        'calving':'calving',\
    72                                                 'gia':'gia',\
     72                                  'giaivins':'giaivins',\
    7373                        'autodiff':'autodiff',\
    7474                        'inversion':'inversion',\
    7575                        'qmu':'qmu',\
Note: See TracBrowser for help on using the repository browser.