Changeset 18596


Ignore:
Timestamp:
10/08/14 09:39:37 (10 years ago)
Author:
bdef
Message:

BUG: fixing of python hydrology

File:
1 edited

Legend:

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

    r18592 r18596  
    7979                if HydrologyDCInefficientAnalysisEnum() in analyses:
    8080                        if hasattr(md.hydrology,'hydrologydc'):
    81                                 md = checkfield(md,'fieldname','initialization.sediment_head','NaN',1,'size',[md.mesh.numberofvertices 1]);
     81                                md = checkfield(md,'fieldname','initialization.sediment_head','NaN',1,'size',[md.mesh.numberofvertices 1])
    8282                if HydrologyDCEfficientAnalysisEnum() in analyses:
    8383                        if hasattr(md.hydrology,'hydrologydc'):
    84                                 if md.hydrology.isefficientlayer==1,
    85                                         md = checkfield(md,'fieldname','initialization.epl_head','NaN',1,'size',[md.mesh.numberofvertices 1]);
    86                                         md = checkfield(md,'fieldname','initialization.epl_thickness','NaN',1,'size',[md.mesh.numberofvertices 1]);
     84                                if md.hydrology.isefficientlayer==1:
     85                                        md = checkfield(md,'fieldname','initialization.epl_head','NaN',1,'size',[md.mesh.numberofvertices 1])
     86                                        md = checkfield(md,'fieldname','initialization.epl_thickness','NaN',1,'size',[md.mesh.numberofvertices 1])
    8787                               
    8888
Note: See TracChangeset for help on using the changeset viewer.