Ignore:
Timestamp:
04/18/13 10:20:16 (12 years ago)
Author:
Mathieu Morlighem
Message:

CHG: added units to all fields and homogenized python classes

File:
1 edited

Legend:

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

    r14141 r14640  
    1 #module imports
    21import numpy
    32import copy
     
    1514        """
    1615
    17         #properties
    18         def __init__(self):
    19                 # {{{ Properties
     16        def __init__(self): # {{{
    2017               
    2118                self.ismacayealpattyn     = 0
     
    3330
    3431                #}}}
    35         def __repr__(self):
    36                 # {{{ Display
     32        def __repr__(self): # {{{
    3733                string='   flow equation parameters:'
    3834
     
    4844                return string
    4945                #}}}
    50                
    51         def setdefaultparameters(self):
    52                 # {{{setdefaultparameters
     46        def setdefaultparameters(self): # {{{
    5347                return self
    5448        #}}}
    55 
    5649        def checkconsistency(self,md,solution,analyses):    # {{{
    5750
     
    8073                return md
    8174        # }}}
    82 
    8375        def marshall(self,fid):    # {{{
    8476                WriteData(fid,'object',self,'fieldname','ismacayealpattyn','format','Boolean')
     
    113105                WriteData(fid,'data',data,'enum',FlowequationElementEquationEnum(),'format','DoubleMat','mattype',2)
    114106        # }}}
    115 
Note: See TracChangeset for help on using the changeset viewer.