00001 
00002 
00003 
00004 
00005 
00006 
00007 #ifndef _UIUC_CHARM_REFINE_IMPL_H
00008 #define _UIUC_CHARM_REFINE_IMPL_H
00009 
00010 #ifdef __cplusplus
00011 extern "C" {
00012 #endif
00013 
00018 void REFINE2D_Init(void);
00019 
00042 void REFINE2D_NewMesh(int nEl,int nGhost,const int *conn,const int *gid);
00043 
00055 void REFINE2D_Split(int nNode,double *coord,int nEl,double *desiredArea);
00056 
00060 int REFINE2D_Get_Split_Length(void);
00061 
00105 void REFINE2D_Get_Split(int splitNo,const int *conn,
00106     int *tri,int *A,int *B,int *C,double *frac,int *flags);
00107 
00111 void REFINE2D_Check(int nEle,const int *conn,int nNodes);
00112 
00113 #ifdef __cplusplus
00114 };
00115 #endif
00116 
00117 #endif
00118 
00119