CrvMigrCB.h
1 /******************************************************************************
2 
3  (c) 2004-2014 Scientific Computation Research Center,
4  Rensselaer Polytechnic Institute. All rights reserved.
5 
6  The LICENSE-SCOREC file included with this distribution describes the terms
7  of the SCOREC Non-Commercial License this program is distributed under.
8 
9 *******************************************************************************/
10 #ifndef MESHADAPT_CRVMIGRCB_H
11 #define MESHADAPT_CRVMIGRCB_H
12 
13 #include "pmZoltanCallbacks.h"
14 #include "pumi.h"
15 
16 #ifdef MA_PARALLEL
17 /*
18 
19 class curveMigrateCB: public zoltanCB
20 {
21 public :
22 
23  curveMigrateCB():zoltanCB(){}
24 
25  virtual void * getUserData(mEntity *ent, int dest_proc, int &size);
26  virtual void receiveUserData (mEntity *ent, int pid, int tag, void *buf);
27 
28  virtual void deleteUserData (void *buf) {free(buf);}
29  bool useWeights() const {return false;}
30  float getWeight (mEntity *) const {return 1.0;}
31 };
32 
33 */
34 
35 #endif
36 
37 #endif//MESHADAPT_CRVMIGRCB_H