Sierra Toolkit
Version of the Day
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
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 {
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
51
52
#endif // STK_UTIL_PARALLEL_BROADCASTARG_HPP
stk::BroadcastArg::BroadcastArg
BroadcastArg(ParallelMachine parallel_machine, int argc, char **argv)
Definition:
BroadcastArg.cpp:15
stk::ParallelMachine
MPI_Comm ParallelMachine
Definition:
Parallel.hpp:32
stk::BroadcastArg::m_argv
char ** m_argv
The broadcasted argv.
Definition:
BroadcastArg.hpp:43
stk::BroadcastArg
Class BroadcastArg creates a copy of argc and argv after broadcasting them from processor 0...
Definition:
BroadcastArg.hpp:21
stk::BroadcastArg::m_argc
int m_argc
The broadcasted argc.
Definition:
BroadcastArg.hpp:42
stk::BroadcastArg::~BroadcastArg
~BroadcastArg()
Definition:
BroadcastArg.cpp:82
stk_util
stk_util
parallel
BroadcastArg.hpp
Generated by
1.8.5