Changeset 2161
- Timestamp:
- 09/09/09 15:38:39 (16 years ago)
- Location:
- issm/trunk/src/m/solutions
- Files:
-
- 2 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/solutions/dakota/dakota_in_data.m
r2142 r2161 2 2 % define the data to write the dakota .in and .m files. 3 3 % 4 % []=dakota_in_data(dmeth,variables,responses,dparams,filei, package,varargin)4 % []=dakota_in_data(dmeth,variables,responses,dparams,filei,varargin) 5 5 % 6 6 % where the required input is: … … 10 10 % dparams (structure array, method-independent parameters) 11 11 % filei (character, name of .in and .m files) 12 % package (character, analysis package)13 12 % 14 13 % params may be empty, in which case defaults will be used. … … 47 46 % to foreign countries or providing access to foreign persons." 48 47 % 49 function []=dakota_in_data(dmeth,variables,responses,dparams,filei, package,varargin)48 function []=dakota_in_data(dmeth,variables,responses,dparams,filei,varargin) 50 49 51 50 if ~nargin -
issm/trunk/src/m/solutions/dakota/preqmu.m
r2142 r2161 22 22 displaystring(md.debug,'\n%s\n','preprocessing dakota inputs'); 23 23 24 %recover some fields25 package=options.package;26 27 24 %first create temporary directory in which we will work 28 25 if exist(options.qmudir,'dir') … … 47 44 48 45 %create m and in files for dakota 49 dakota_in_data(md.qmu_method(options.imethod),variables,md.responses,md.qmu_params(options.iparams),options.qmufile,package,md); 50 46 dakota_in_data(md.qmu_method(options.imethod),variables,md.responses,md.qmu_params(options.iparams),options.qmufile,md); 51 47 52 48 %in library mode, we only need the dakota in file
Note:
See TracChangeset
for help on using the changeset viewer.