Ignore:
Timestamp:
05/31/22 06:20:44 (3 years ago)
Author:
Mathieu Morlighem
Message:

CHG: moving MLHO to MOLHO

File:
1 edited

Legend:

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

    r26305 r27031  
    2222                fielddisplay(this,'isSSA','is the Shelfy-Stream Approximation (SSA) used ?');
    2323                fielddisplay(this,'isL1L2','is the L1L2 approximation used ?');
    24                 fielddisplay(this,'isMLHO','is the Mono-Layer Higher-Order approximation used?');
     24                fielddisplay(this,'isMOLHO','is the MOno-Layer Higher-Order (MOLHO) approximation used?');
    2525                fielddisplay(this,'isHO','is the Higher-Order (HO) approximation used ?');
    2626                fielddisplay(this,'isFS','are the Full-FS (FS) equations used ?');
     
    4141
    4242        }// }}}
    43     this.extrude = function(md) {//{{{
    44         this.element_equation=project3d(md,'vector',this.element_equation,'type','element');
    45         this.vertex_equation=project3d(md,'vector',this.vertex_equation,'type','node');
    46         this.borderSSA=project3d(md,'vector',this.borderSSA,'type','node');
    47         this.borderHO=project3d(md,'vector',this.borderHO,'type','node');
    48         this.borderFS=project3d(md,'vector',this.borderFS,'type','node');
    49         return this;
     43        this.extrude = function(md) {//{{{
     44                this.element_equation=project3d(md,'vector',this.element_equation,'type','element');
     45                this.vertex_equation=project3d(md,'vector',this.vertex_equation,'type','node');
     46                this.borderSSA=project3d(md,'vector',this.borderSSA,'type','node');
     47                this.borderHO=project3d(md,'vector',this.borderHO,'type','node');
     48                this.borderFS=project3d(md,'vector',this.borderFS,'type','node');
     49                return this;
    5050    }//}}}
    5151                this.checkconsistency = function(md,solution,analyses) {//{{{
     
    5959                        checkfield(md,'fieldname','flowequation.isSSA','numel',[1],'values',[0, 1]);
    6060                        checkfield(md,'fieldname','flowequation.isL1L2','numel',[1],'values',[0, 1]);
    61                         checkfield(md,'fieldname','flowequation.isMLHO','numel',[1],'values',[0, 1]);
     61                        checkfield(md,'fieldname','flowequation.isMOLHO','numel',[1],'values',[0, 1]);
    6262                        checkfield(md,'fieldname','flowequation.isHO','numel',[1],'values',[0, 1]);
    6363                        checkfield(md,'fieldname','flowequation.isFS','numel',[1],'values',[0, 1]);
     
    9393                        else throw Error('Case not supported yet');
    9494                       
    95                         if (!(this.isSIA | this.isSSA | this.isL1L2 | this.isMLHO | this.isHO | this.isFS)){
     95                        if (!(this.isSIA | this.isSSA | this.isL1L2 | this.isMOLHO | this.isHO | this.isFS)){
    9696                                checkmessage(md,['no element types set for this model']);
    9797                        }
     
    108108                        WriteData(fid,prefix,'object',this,'fieldname','isSSA','format','Boolean');
    109109                        WriteData(fid,prefix,'object',this,'fieldname','isL1L2','format','Boolean');
    110                         WriteData(fid,prefix,'object',this,'fieldname','isMLHO','format','Boolean');
     110                        WriteData(fid,prefix,'object',this,'fieldname','isMOLHO','format','Boolean');
    111111                        WriteData(fid,prefix,'object',this,'fieldname','isHO','format','Boolean');
    112112                        WriteData(fid,prefix,'object',this,'fieldname','isFS','format','Boolean');
     
    138138        this.isSSA                          = 0;
    139139        this.isL1L2                         = 0;
    140         this.isMLHO                         = 0;
     140        this.isMOLHO                         = 0;
    141141        this.isHO                           = 0;
    142142        this.isFS                           = 0;
Note: See TracChangeset for help on using the changeset viewer.