Sierra Toolkit
Version of the Day
|
Class BroadcastArg creates a copy of argc and argv after broadcasting them from processor 0. More...
#include <BroadcastArg.hpp>
Public Member Functions | |
BroadcastArg (ParallelMachine parallel_machine, int argc, char **argv) | |
~BroadcastArg () | |
Public Attributes | |
int | m_argc |
The broadcasted argc. | |
char ** | m_argv |
The broadcasted argv. | |
Class BroadcastArg creates a copy of argc and argv after broadcasting them from processor 0.
Definition at line 21 of file BroadcastArg.hpp.
stk_classic::BroadcastArg::BroadcastArg | ( | stk_classic::ParallelMachine | parallel_machine, |
int | argc, | ||
char ** | argv | ||
) |
Creates a new BroadcastArg instance.
parallel_machine | a ParallelMachine value that species the parallel machine from performing the broadcast. |
argc | an int value of argc from main |
argv | a char pointer pointer of argv from main |
Definition at line 15 of file BroadcastArg.cpp.
stk_classic::BroadcastArg::~BroadcastArg | ( | ) |
Destroys a BroadcastArg instance.
Definition at line 82 of file BroadcastArg.cpp.