Changeset 24537 for issm/trunk-jpl/src/m/classes/qmu/response_function.m
- Timestamp:
- 01/31/20 11:51:49 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/qmu/response_function.m
r13646 r24537 43 43 switch nargin 44 44 45 % create a default object 46 45 % create a default object 47 46 case 0 48 47 49 % copy the object or create the object from the input 50 48 % copy the object or create the object from the input 51 49 otherwise 52 50 if (nargin == 1) && isa(varargin{1},'response_function') … … 170 168 function [rdesc]=dakota_write(fidi,dresp,rdesc) 171 169 172 % collect only the responses of the appropriate class 173 170 % collect only the responses of the appropriate class 174 171 rf=struc_class(dresp,'response_function'); 175 172 176 % write responses 173 % write responses 174 [rdesc]=rlist_write(fidi,'response_functions','response_function',rf,rdesc); 175 end 177 176 178 [rdesc]=rlist_write(fidi,'response_functions','response_function',rf,rdesc); 179 end 177 function []=dakota_rlev_write(fidi,dresp,params) 180 178 181 function []=dakota_rlev_write(fidi,dresp,params) 179 % collect only the responses of the appropriate class 180 rf=struc_class(dresp,'response_function'); 182 181 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); 190 184 end 191 185 end
Note:
See TracChangeset
for help on using the changeset viewer.