Ignore:
Timestamp:
01/31/20 11:51:49 (5 years ago)
Author:
Mathieu Morlighem
Message:

CHG: minor estetics

File:
1 edited

Legend:

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

    r13646 r24537  
    4343            switch nargin
    4444
    45 %  create a default object
    46 
     45                                        %  create a default object
    4746                case 0
    4847
    49 %  copy the object or create the object from the input
    50 
     48                                                 %  copy the object or create the object from the input
    5149                otherwise
    5250                    if  (nargin == 1) && isa(varargin{1},'response_function')
     
    170168        function [rdesc]=dakota_write(fidi,dresp,rdesc)
    171169
    172 %  collect only the responses of the appropriate class
    173 
     170                          %  collect only the responses of the appropriate class
    174171            rf=struc_class(dresp,'response_function');
    175172
    176 %  write responses
     173                                %  write responses
     174                                [rdesc]=rlist_write(fidi,'response_functions','response_function',rf,rdesc);
     175                        end
    177176
    178             [rdesc]=rlist_write(fidi,'response_functions','response_function',rf,rdesc);
    179         end
     177                        function []=dakota_rlev_write(fidi,dresp,params)
    180178
    181         function []=dakota_rlev_write(fidi,dresp,params)
     179                                %  collect only the responses of the appropriate class
     180                                rf=struc_class(dresp,'response_function');
    182181
    183 %  collect only the responses of the appropriate class
    184 
    185             rf=struc_class(dresp,'response_function');
    186 
    187 %  write response levels
    188 
    189             rlev_write(fidi,rf,params);
     182                                %  write response levels
     183                                rlev_write(fidi,rf,params);
    190184        end
    191185    end
Note: See TracChangeset for help on using the changeset viewer.