Ignore:
Timestamp:
09/28/12 17:21:21 (12 years ago)
Author:
Eric.Larour
Message:

CHG: added mass flux as a possible dependent variable.
In order not to conflict with the qmu Dakota capabilities for computation
of mass fluxes, I had to generalize the treatment of mass flux segments
in the ModelProcessorx, and throughout the m/classes code.

File:
1 edited

Legend:

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

    r13030 r13483  
    148148                        WriteData(fid,'object',obj,'fieldname','variabledescriptors','format','StringArray');
    149149                        WriteData(fid,'object',obj,'fieldname','responsedescriptors','format','StringArray');
    150                         WriteData(fid,'object',obj,'fieldname','mass_flux_segments','format','MatArray');
     150                        WriteData(fid,'data',obj.mass_flux_segments,'enum',MassFluxSegmentsEnum,'format','MatArray');
     151                        if ~isempty(mass_flux_segments),
     152                                flag=true;
     153                                WriteData(fid,'data',flag,'enum',MassFluxSegmentsPrsentEnum,'format','Boolean');
     154                        end
    151155                end % }}}
    152156        end
Note: See TracChangeset for help on using the changeset viewer.