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

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.
 

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

◆ BroadcastArg()

stk_classic::BroadcastArg::BroadcastArg ( stk_classic::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.

◆ ~BroadcastArg()

stk_classic::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: