Ignore:
Timestamp:
10/20/13 20:31:07 (11 years ago)
Author:
Mathieu Morlighem
Message:

NEW: merging thermal_core with enthalpy_core (removing EnthalpySolution), and replacing InputToResult by OutputRequest

File:
1 edited

Legend:

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

    r15131 r16470  
    1515                self.io_gather           = 0
    1616                self.lowmem              = 0
    17                 self.results_as_patches  = 0
    1817                self.output_frequency    = 0
    1918                self.waitonlock          = 0
     
    2827                string="%s\n%s"%(string,fielddisplay(self,"io_gather","I/O gathering strategy for result outputs (default 1)"))
    2928                string="%s\n%s"%(string,fielddisplay(self,"lowmem","is the memory limited ? (0 or 1)"))
    30                 string="%s\n%s"%(string,fielddisplay(self,"results_as_patches","provide results as patches for each element (0 or 1)"))
    3129                string="%s\n%s"%(string,fielddisplay(self,"output_frequency","frequency at which results are saved in all solutions with multiple time_steps"))
    3230                string="%s\n%s"%(string,fielddisplay(self,"waitonlock","maximum number of minutes to wait for batch results, or return 0"))
     
    4442                self.output_frequency=1
    4543
    46                 #do not use patches by default (difficult to plot)
    47                 self.results_as_patches=0
    48 
    4944                #this option can be activated to load automatically the results
    5045                #onto the model after a parallel run by waiting for the lock file
     
    5853                md = checkfield(md,'settings.io_gather','numel',[1],'values',[0,1])
    5954                md = checkfield(md,'settings.lowmem','numel',[1],'values',[0,1])
    60                 md = checkfield(md,'settings.results_as_patches','numel',[1],'values',[0,1])
    6155                md = checkfield(md,'settings.output_frequency','numel',[1],'>=',1)
    6256                md = checkfield(md,'settings.waitonlock','numel',[1])
     
    6761                WriteData(fid,'object',self,'fieldname','io_gather','format','Boolean')
    6862                WriteData(fid,'object',self,'fieldname','lowmem','format','Boolean')
    69                 WriteData(fid,'object',self,'fieldname','results_as_patches','format','Boolean')
    7063                WriteData(fid,'object',self,'fieldname','output_frequency','format','Integer')
    7164                if self.waitonlock>0:
Note: See TracChangeset for help on using the changeset viewer.