FEI Package Browser (Single Doxygen Collection)
Version of the Day
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
test_utils
tester.cpp
Go to the documentation of this file.
1
/*--------------------------------------------------------------------*/
2
/* Copyright 2006 Sandia Corporation. */
3
/* Under the terms of Contract DE-AC04-94AL85000, there is a */
4
/* non-exclusive license for use of this work by or on behalf */
5
/* of the U.S. Government. Export of this program may require */
6
/* a license from the United States Government. */
7
/*--------------------------------------------------------------------*/
8
9
#include <
fei_macros.hpp
>
10
11
#include <
test_utils/tester.hpp
>
12
13
#undef fei_file
14
#define fei_file "tester.cpp"
15
#include <
fei_ErrMacros.hpp
>
16
17
tester::tester
(
MPI_Comm
comm)
18
: comm_(comm),
19
numProcs_(1),
20
localProc_(0),
21
path_()
22
{
23
#ifndef FEI_SER
24
MPI_Comm_rank(
comm_
, &
localProc_
);
25
MPI_Comm_size(
comm_
, &
numProcs_
);
26
#endif
27
}
28
29
tester::~tester
()
30
{
31
}
32
33
void
tester::setPath
(
const
std::string& path)
34
{
35
path_
= path;
36
}
37
tester::comm_
MPI_Comm comm_
Definition:
tester.hpp:37
tester::setPath
void setPath(const std::string &path)
Definition:
tester.cpp:33
tester::localProc_
int localProc_
Definition:
tester.hpp:38
tester.hpp
tester::~tester
virtual ~tester()
Definition:
tester.cpp:29
MPI_Comm
#define MPI_Comm
Definition:
fei_mpi.h:56
fei_ErrMacros.hpp
tester::numProcs_
int numProcs_
Definition:
tester.hpp:38
tester::path_
std::string path_
Definition:
tester.hpp:39
tester::tester
tester(MPI_Comm comm)
Definition:
tester.cpp:17
fei_macros.hpp
Generated on Fri Sep 1 2023 07:58:32 for FEI Package Browser (Single Doxygen Collection) by
1.8.5