21 #define fei_file "test_EqnCommMgr.cpp"
51 int firstLocalEqn = localProc*numLocalEqns;
56 if (p == localProc)
continue;
58 for(
int i=0; i<numLocalEqns; i++) {
59 if (p != 2) eqnCommMgr->
addLocalEqn(firstLocalEqn+i, p);
68 if (p == localProc)
continue;
70 for(
int i=0; i<numLocalEqns; i++) {
71 int eqn = p*numLocalEqns + i;
81 if (p == localProc)
continue;
83 for(
int i=0; i<numLocalEqns; i++) {
84 int eqn = p*numLocalEqns + i;
95 if (localEqns != localEqnsCopy) {
128 if (eqnsPerProc != eqnsPerProcCopy) {
std::vector< int > & localEqnNumbers()
std::vector< int > & eqnsPerProcPtr()
void addEqn(int eqnNumber, int proc)
virtual ~test_EqnCommMgr()
void addLocalEqn(int eqnNumber, int srcProc)
int exchangeIndices(std::ostream *dbgOut=NULL)
void addRemoteIndices(int eqnNumber, int destProc, int *indices, int num)
test_EqnCommMgr(MPI_Comm comm)
int localProc(MPI_Comm comm)
void setNumRHSs(int numRHSs)
void addSolnValues(int *eqnNumbers, double *values, int num)
int numProcs(MPI_Comm comm)