SysCallAnalysisCode Class Reference

simulations using system calls. More...

Inheritance diagram for SysCallAnalysisCode:

AnalysisCode List of all members.

Public Member Functions

 SysCallAnalysisCode (const ProblemDescDB &problem_db)
 constructor
 ~SysCallAnalysisCode ()
 destructor
void spawn_evaluation (const bool block_flag)
 spawn a complete function evaluation
void spawn_input_filter (const bool block_flag)
 spawn the input filter portion of a function evaluation
void spawn_analysis (const int &analysis_id, const bool block_flag)
 spawn a single analysis as part of a function evaluation
void spawn_output_filter (const bool block_flag)
 spawn the output filter portion of a function evaluation

Detailed Description

simulations using system calls.

SysCallAnalysisCode creates separate simulation processes using the C system() command. It utilizes CommandShell to manage shell syntax and asynchronous invocations.


Member Function Documentation

void spawn_evaluation ( const bool  block_flag  ) 

spawn a complete function evaluation

Put the SysCallAnalysisCode to the shell. This function is used when all portions of the function evaluation (i.e., all analysis drivers) are executed on the local processor.

void spawn_input_filter ( const bool  block_flag  ) 

spawn the input filter portion of a function evaluation

Put the input filter to the shell. This function is used when multiple analysis drivers are spread between processors. No need to check for a Null input filter, as this is checked externally. Use of nonblocking shells is supported in this fn, although its use is currently prevented externally.

void spawn_analysis ( const int &  analysis_id,
const bool  block_flag 
)

spawn a single analysis as part of a function evaluation

Put a single analysis to the shell. This function is used when multiple analysis drivers are spread between processors. Use of nonblocking shells is supported in this fn, although its use is currently prevented externally.

void spawn_output_filter ( const bool  block_flag  ) 

spawn the output filter portion of a function evaluation

Put the output filter to the shell. This function is used when multiple analysis drivers are spread between processors. No need to check for a Null output filter, as this is checked externally. Use of nonblocking shells is supported in this fn, although its use is currently prevented externally.


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