Sierra Toolkit Version of the Day
stk::BroadcastArg Struct Reference

Class BroadcastArg creates a copy of argc and argv after broadcasting them from processor 0. More...

#include <BroadcastArg.hpp>

List of all members.

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.

Detailed Description

Class BroadcastArg creates a copy of argc and argv after broadcasting them from processor 0.

Definition at line 21 of file BroadcastArg.hpp.


Constructor & Destructor Documentation

stk::BroadcastArg::BroadcastArg ( stk::ParallelMachine  parallel_machine,
int  argc,
char **  argv 
)

Creates a new BroadcastArg instance.

Parameters:
parallel_machinea ParallelMachine value that species the parallel machine from performing the broadcast.
argcan int value of argc from main
argva char pointer pointer of argv from main

Definition at line 15 of file BroadcastArg.cpp.

stk::BroadcastArg::~BroadcastArg ( )

Destroys a BroadcastArg instance.

Definition at line 82 of file BroadcastArg.cpp.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines