Sierra Toolkit
Version of the Day
BroadcastArg.hpp
1
/*------------------------------------------------------------------------*/
2
/* Copyright 2010 Sandia Corporation. */
3
/* Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive */
4
/* license for use of this work by or on behalf of the U.S. Government. */
5
/* Export of this program may require a license from the */
6
/* United States Government. */
7
/*------------------------------------------------------------------------*/
8
9
#ifndef STK_UTIL_PARALLEL_BROADCASTARG_HPP
10
#define STK_UTIL_PARALLEL_BROADCASTARG_HPP
11
12
#include <stk_util/parallel/Parallel.hpp>
13
14
namespace
stk_classic
{
15
21
struct
BroadcastArg
22
{
34
BroadcastArg
(
ParallelMachine
parallel_machine,
int
argc,
char
**argv);
35
40
~BroadcastArg
();
41
42
int
m_argc
;
43
char
**
m_argv
;
44
45
private
:
46
BroadcastArg
(
const
BroadcastArg
&argv);
47
BroadcastArg
&operator=(
const
BroadcastArg
&argv);
48
};
49
50
}
// namespace stk_classic
51
52
#endif // STK_UTIL_PARALLEL_BROADCASTARG_HPP
stk_classic::BroadcastArg::BroadcastArg
BroadcastArg(ParallelMachine parallel_machine, int argc, char **argv)
Definition:
BroadcastArg.cpp:15
stk_classic::BroadcastArg::m_argc
int m_argc
The broadcasted argc.
Definition:
BroadcastArg.hpp:42
stk_classic::BroadcastArg
Class BroadcastArg creates a copy of argc and argv after broadcasting them from processor 0...
Definition:
BroadcastArg.hpp:21
stk_classic::BroadcastArg::m_argv
char ** m_argv
The broadcasted argv.
Definition:
BroadcastArg.hpp:43
stk_classic
Sierra Toolkit.
Definition:
AlgorithmRunner.cpp:16
stk_classic::ParallelMachine
MPI_Comm ParallelMachine
Definition:
Parallel.hpp:32
stk_classic::BroadcastArg::~BroadcastArg
~BroadcastArg()
Definition:
BroadcastArg.cpp:82
stk_util
stk_util
parallel
BroadcastArg.hpp
Generated by
1.8.14