$extrastylesheet
Dakota  Version 6.2
Public Member Functions | Protected Member Functions
SpawnApplicInterface Class Reference

Derived application interface class which spawns simulation codes using spawnvp. More...

Inheritance diagram for SpawnApplicInterface:
ProcessHandleApplicInterface ProcessApplicInterface ApplicationInterface Interface

List of all members.

Public Member Functions

 SpawnApplicInterface (const ProblemDescDB &problem_db)
 constructor
 ~SpawnApplicInterface ()
 destructor

Protected Member Functions

void wait_local_evaluations (PRPQueue &prp_queue)
 For asynchronous function evaluations, this method is used to detect completion of jobs and process their results. It provides the processing code that is specific to derived classes. This version waits for at least one completion.
void test_local_evaluations (PRPQueue &prp_queue)
 For asynchronous function evaluations, this method is used to detect completion of jobs and process their results. It provides the processing code that is specific to derived classes. This version is nonblocking and will return without any completions if none are immediately available.
pid_t create_analysis_process (bool block_flag, bool new_group)
 spawn a child process for an analysis component within an evaluation
size_t wait_local_analyses ()
 wait for asynchronous analyses on the local processor, completing at least one job
size_t test_local_analyses_send (int analysis_id)
 test for asynchronous analysis completions on the local processor and return results for any completions by sending messages

Detailed Description

Derived application interface class which spawns simulation codes using spawnvp.

SpawnApplicInterface is used on Windows systems and is a peer to ForkApplicInterface for Unix systems.


The documentation for this class was generated from the following files: