FEI Package Browser (Single Doxygen Collection)
Version of the Day
Loading...
Searching...
No Matches
base
fei_EqnComm.hpp
Go to the documentation of this file.
1
/*--------------------------------------------------------------------*/
2
/* Copyright 2007 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
#ifndef _fei_EqnComm_hpp_
10
#define _fei_EqnComm_hpp_
11
12
#include <
fei_macros.hpp
>
13
#include <
fei_fwd.hpp
>
14
#include <
fei_mpi.h
>
15
16
namespace
fei
{
17
class
EqnComm
{
18
public
:
20
EqnComm
(
MPI_Comm
comm,
int
numLocalEqns);
21
EqnComm
(
MPI_Comm
comm,
int
numLocalEqns,
const
std::vector<int>& globalOffsets);
22
24
virtual
~EqnComm
();
25
26
const
std::vector<int>&
getGlobalOffsets
()
const
;
27
28
int
getOwnerProc
(
int
eqn)
const
;
29
30
private
:
31
MPI_Comm
comm_
;
32
std::vector<int>
globalOffsets_
;
33
};
//class EqnComm
34
}
//namespace fei
35
#endif
36
fei::EqnComm
Definition:
fei_EqnComm.hpp:17
fei::EqnComm::getGlobalOffsets
const std::vector< int > & getGlobalOffsets() const
Definition:
fei_EqnComm.cpp:61
fei::EqnComm::globalOffsets_
std::vector< int > globalOffsets_
Definition:
fei_EqnComm.hpp:32
fei::EqnComm::comm_
MPI_Comm comm_
Definition:
fei_EqnComm.hpp:31
fei::EqnComm::~EqnComm
virtual ~EqnComm()
Definition:
fei_EqnComm.cpp:56
fei::EqnComm::getOwnerProc
int getOwnerProc(int eqn) const
Definition:
fei_EqnComm.cpp:67
fei_fwd.hpp
fei_macros.hpp
fei_mpi.h
MPI_Comm
#define MPI_Comm
Definition:
fei_mpi.h:56
fei
Definition:
fei_ArrayUtils.hpp:16
Generated by
1.9.6