42 |
|
virtual SymMatrix calcHessian(vector<double>& x) = 0; |
43 |
|
|
44 |
|
#ifdef IS_MPI |
45 |
< |
void setMPIINITFunctor(MPIINITFunctor* func); |
46 |
< |
int getLocalDim() {return localDim;} |
45 |
> |
//void setMPIINITFunctor(MPIINITFunctor* func); |
46 |
> |
//int getLocalDim() {return localDim;} |
47 |
|
|
48 |
< |
virtual void update(); //a hook function to load balancing |
48 |
> |
//virtual void update(); //a hook function to load balancing |
49 |
|
#endif |
50 |
|
|
51 |
|
protected: |
58 |
|
bool mpiInitFlag; |
59 |
|
int myRank; //rank of current node |
60 |
|
int numOfProc; // number of processors |
61 |
< |
MPIINITFunctor * mpiInitFunc; |
61 |
> |
//MPIINITFunctor * mpiInitFunc; |
62 |
|
|
63 |
|
int localDim; |
64 |
|
vector<int> procMappingArray; |