AnalysisCode Class Reference

processes for managing simulations. More...

Inheritance diagram for AnalysisCode:

ForkAnalysisCode SysCallAnalysisCode List of all members.

Public Member Functions

void define_filenames (const int id)
 file and tagging options
void write_parameters_files (const Variables &vars, const ActiveSet &set, const int id)
 write_parameters_file()) in either standard or aprepro format
void read_results_files (Response &response, const int id)
 read the response object from one or more results files
const StringArrayprogram_names () const
 return programNames
const Stringinput_filter_name () const
 return iFilterName
const Stringoutput_filter_name () const
 return oFilterName
const Stringparameters_filename () const
 return paramsFileName
const Stringresults_filename () const
 return resultsFileName
const Stringresults_filename (const int id)
 return the results filename entry in fileNameMap corresponding to id
void suppress_output_flag (const bool flag)
 set suppressOutputFlag
bool suppress_output_flag () const
 return suppressOutputFlag
bool command_line_arguments () const
 return commandLineArgs
bool multiple_parameters_filenames () const
 return multipleParamsFiles

Protected Member Functions

 AnalysisCode (const ProblemDescDB &problem_db)
 constructor
virtual ~AnalysisCode ()
 destructor

Protected Attributes

bool suppressOutputFlag
 flag set by master processor to suppress output from slave processors
short outputLevel
 output verbosity level: {SILENT,QUIET,NORMAL,VERBOSE,DEBUG}_OUTPUT
bool fileTagFlag
 flags tagging of parameter/results files
bool fileSaveFlag
 flags retention of parameter/results files
bool commandLineArgs
 the analysis drivers and input/output filters
bool apreproFlag
 format for parameter files
bool multipleParamsFiles
 analysis drivers
String iFilterName
 the name of the input filter (input_filter user specification)
String oFilterName
 the name of the output filter (output_filter user specification)
StringArray programNames
 specification)
size_t numPrograms
 the number of analysis code programs (length of programNames)
String specifiedParamsFileName
 the name of the parameters file from user specification
String paramsFileName
 temp files)
String specifiedResultsFileName
 the name of the results file from user specification
String resultsFileName
 the results file name actually used (modified with tagging or temp files)
map< int, pair< String, String > > fileNameMap
 evaluations. Map key is the function evaluation identifier.

Private Member Functions

void write_parameters_file (const Variables &vars, const ActiveSet &set, const StringArray &an_comps, const String &params_fname)
 standard or aprepro format

Private Attributes

ParallelLibraryparallelLib
 reference to the ParallelLibrary object. Used in define_filenames().
String2DArray analysisComponents
 (from the analysis_components interface specification)

Detailed Description

processes for managing simulations.

The AnalysisCode class hierarchy provides simulation spawning services for ApplicationInterface derived classes and alleviates these classes of some of the specifics of simulation code management. The hierarchy does not employ the letter-envelope technique since the ApplicationInterface derived classes instantiate the appropriate derived AnalysisCode class directly.


The documentation for this class was generated from the following files:
Generated on Wed Nov 5 19:54:05 2008 for DAKOTA by  doxygen 1.5.1