Changeset 21809
- Timestamp:
- 07/18/17 16:53:01 (8 years ago)
- Location:
- issm/trunk-jpl/src/m/classes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/SMBforcing.m
r21668 r21809 68 68 69 69 WriteData(fid,prefix,'name','md.smb.model','data',1,'format','Integer'); 70 WriteData(fid,prefix,'object',self,'class','smb','fieldname','mass_balance','format','DoubleMat','mattype',1,'scale',1./yts,'timeserieslength',md.mesh.numberofvertices+1,'yts',md.constants.yts);71 %WriteData(fid,prefix,'object',self,'class','smb','fieldname','mass_balance','format','CompressedMat','mattype',1,'scale',1./yts,'timeserieslength',md.mesh.numberofvertices+1,'yts',md.constants.yts);70 %WriteData(fid,prefix,'object',self,'class','smb','fieldname','mass_balance','format','DoubleMat','mattype',1,'scale',1./yts,'timeserieslength',md.mesh.numberofvertices+1,'yts',md.constants.yts); 71 WriteData(fid,prefix,'object',self,'class','smb','fieldname','mass_balance','format','CompressedMat','mattype',1,'scale',1./yts,'timeserieslength',md.mesh.numberofvertices+1,'yts',md.constants.yts); 72 72 73 73 %process requested outputs -
issm/trunk-jpl/src/m/classes/misfit.m
r21738 r21809 19 19 %misfit 20 20 name = ''; 21 definitionstring = ''; %string that identifies this output definition uniquely, from 'Outputdefinition[1-10 ]'21 definitionstring = ''; %string that identifies this output definition uniquely, from 'Outputdefinition[1-100]' 22 22 model_string = ''; %string for field that is modeled 23 23 observation = NaN; %observed field that we compare the model against … … 31 31 32 32 methods 33 function self = extrude(self,md) % {{{ 34 if ~isnan(self.weights) 35 self.weights=project3d(md,'vector',self.weights,'type','node'); 36 end 37 if ~isnan(self.observation) 38 self.observation=project3d(md,'vector',self.observation,'type','node'); 39 end 40 end % }}} 33 41 function self = misfit(varargin) % {{{ 34 42 if nargin==0,
Note:
See TracChangeset
for help on using the changeset viewer.