Changeset 4391
- Timestamp:
- 07/01/10 11:30:53 (15 years ago)
- Location:
- issm/trunk/src/m
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk/src/m/classes/@bamggeom/bamggeom.m ¶
r3311 r4391 1 1 function bg = bamggeom(varargin) 2 % ICEFRONT- constructor for bamggeom object2 %BAMGGEOM - constructor for bamggeom object 3 3 % 4 4 % Usage: -
TabularUnified issm/trunk/src/m/classes/@bamgmesh/bamgmesh.m ¶
r3332 r4391 1 1 function bm = bamgmesh(varargin) 2 % ICEFRONT- constructor for bamgmesh object2 %BAMGMESH - constructor for bamgmesh object 3 3 % 4 4 % Usage: -
TabularUnified issm/trunk/src/m/classes/@bamgmesh/subsasgn.m ¶
r3277 r4391 1 function icefront = subsasgn(icefront,index,val)1 function bamgmesh = subsasgn(bamgmesh,index,val) 2 2 %SUBSASGN - handles indexed assignments to objects 3 3 % … … 6 6 % 7 7 % Usage: 8 % icefront = subsasgn(icefront,index,val)8 % bamgmesh = subsasgn(bamgmesh,index,val) 9 9 % 10 10 % See also SUBSREF 11 11 12 icefront=builtin('subsasgn',icefront,index,val);12 bamgmesh=builtin('subsasgn',bamgmesh,index,val); -
TabularUnified issm/trunk/src/m/classes/@bamgmesh/subsref.m ¶
r3277 r4391 1 function icefront = subsref(icefront,index)1 function bamgmesh = subsref(bamgmesh,index) 2 2 %SUBSREF - handles indexed references to objects 3 3 % 4 4 % the first argument is the object and the second one a structure array 5 5 % Usage: 6 % icefront = subsref(icefront,index)6 % bamgmesh = subsref(bamgmesh,index) 7 7 % 8 8 % See also SUBSASGN 9 9 10 icefront=builtin('subsref',icefront,index);10 bamgmesh=builtin('subsref',bamgmesh,index); -
TabularUnified issm/trunk/src/m/utils/Nightly/testsgetfields.m ¶
r4377 r4391 26 26 vel=zeros(md.numberofgrids,1); 27 27 vel(md.results.DiagnosticSolution.Vel.index)=md.results.DiagnosticSolution.Vel.value; 28 j=zeros(md.numberofgrids,1); 29 j(md.results.DiagnosticSolution.J.index)=md.results.DiagnosticSolution.J.value; 28 j=md.results.DiagnosticSolution.J; 30 29 parameter=zeros(md.numberofgrids,1); 31 parameter(md.results.DiagnosticSolution.parameter.index)=md.results.DiagnosticSolution.parameter.value; 30 if strcmpi(md.control_type,'rheology_B'), 31 parameter(md.results.DiagnosticSolution.RheologyB.index)=md.results.DiagnosticSolution.RheologyB.value; 32 elseif strcmpi(md.control_type,'drag_coefficient'), 33 parameter(md.results.DiagnosticSolution.DragCoefficient.index)=md.results.DiagnosticSolution.DragCoefficient.value; 34 else 35 error('not implemented yet'); 36 end 32 37 field_values={vel,j,parameter}; 33 38 elseif qmu,
Note:
See TracChangeset
for help on using the changeset viewer.