/[escript]/branches/arrayview_from_1695_trunk/finley/src/NodeFile.h
ViewVC logotype

Diff of /branches/arrayview_from_1695_trunk/finley/src/NodeFile.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1780 by jfenwick, Mon Aug 11 03:33:40 2008 UTC revision 1781 by jfenwick, Thu Sep 11 05:03:14 2008 UTC
# Line 31  struct Finley_NodeFile { Line 31  struct Finley_NodeFile {
31    dim_t numDim;                        /* spatial dimension */    dim_t numDim;                        /* spatial dimension */
32    index_t *Id;                         /* Id[i] is the id number of node i. It need to be unique. */    index_t *Id;                         /* Id[i] is the id number of node i. It need to be unique. */
33    index_t *Tag;                        /* Tag[i] is the tag of node i. */    index_t *Tag;                        /* Tag[i] is the tag of node i. */
34      index_t *tagsInUse;                  /* array of tags which are actually used */
35      dim_t     numTagsInUse;               /* number of tags used */
36    
37    index_t* globalDegreesOfFreedom;      /* globalDegreesOfFreedom[i] is the global degree of freedom assigned to node i */    index_t* globalDegreesOfFreedom;      /* globalDegreesOfFreedom[i] is the global degree of freedom assigned to node i */
38                                         /* this index is used to consider periodic boundary conditions by assigning */                                         /* this index is used to consider periodic boundary conditions by assigning */
# Line 113  void Finley_NodeFile_setIdRange(index_t* Line 115  void Finley_NodeFile_setIdRange(index_t*
115  void Finley_NodeFile_setDOFGlobalRange(index_t*,index_t*,Finley_NodeFile*);  void Finley_NodeFile_setDOFGlobalRange(index_t*,index_t*,Finley_NodeFile*);
116  void Finley_NodeFile_setDOFRange(index_t*,index_t*,Finley_NodeFile*);  void Finley_NodeFile_setDOFRange(index_t*,index_t*,Finley_NodeFile*);
117    
118    
119  void Finley_NodeFile_setGlobalDOFRange(index_t*,index_t*,Finley_NodeFile*);  void Finley_NodeFile_setGlobalDOFRange(index_t*,index_t*,Finley_NodeFile*);
120  void Finley_NodeFile_setGlobalIdRange(index_t*,index_t*,Finley_NodeFile*);  void Finley_NodeFile_setGlobalIdRange(index_t*,index_t*,Finley_NodeFile*);
121  index_t Finley_NodeFile_maxGlobalDegreeOfFreedomIndex(Finley_NodeFile*);  index_t Finley_NodeFile_maxGlobalDegreeOfFreedomIndex(Finley_NodeFile*);
# Line 120  index_t Finley_NodeFile_maxGlobalReduced Line 123  index_t Finley_NodeFile_maxGlobalReduced
123    
124  void Finley_NodeFile_setReducedDOFRange(index_t*,index_t*,Finley_NodeFile*);  void Finley_NodeFile_setReducedDOFRange(index_t*,index_t*,Finley_NodeFile*);
125  dim_t Finley_NodeFile_createDenseDOFLabeling(Finley_NodeFile*);  dim_t Finley_NodeFile_createDenseDOFLabeling(Finley_NodeFile*);
126  dim_t Finley_NodeFile_createDenseNodeLabeling(Finley_NodeFile* in);  dim_t Finley_NodeFile_createDenseNodeLabeling(Finley_NodeFile* in, index_t* node_distribution, const index_t* dof_distribution);
127  dim_t Finley_NodeFile_createDenseReducedNodeLabeling(Finley_NodeFile* in, index_t* reducedNodeMask);  dim_t Finley_NodeFile_createDenseReducedNodeLabeling(Finley_NodeFile* in, index_t* reducedNodeMask);
128  dim_t Finley_NodeFile_createDenseReducedDOFLabeling(Finley_NodeFile* in, index_t* reducedNodeMask);  dim_t Finley_NodeFile_createDenseReducedDOFLabeling(Finley_NodeFile* in, index_t* reducedNodeMask);
129  void Finley_NodeFile_assignMPIRankToDOFs(Finley_NodeFile* in,Paso_MPI_rank* mpiRankOfDOF, index_t *distribution);  void Finley_NodeFile_assignMPIRankToDOFs(Finley_NodeFile* in,Paso_MPI_rank* mpiRankOfDOF, index_t *distribution);
# Line 131  void Finley_NodeFile_copyTable(dim_t,Fin Line 134  void Finley_NodeFile_copyTable(dim_t,Fin
134  void Finley_NodeFile_scatter(index_t*,Finley_NodeFile*,Finley_NodeFile*);  void Finley_NodeFile_scatter(index_t*,Finley_NodeFile*,Finley_NodeFile*);
135  void Finley_NodeFile_scatterEntries(dim_t, index_t*, index_t, index_t, index_t*, index_t*, index_t*, index_t*, index_t*, index_t*, dim_t numDim, double*, double*);  void Finley_NodeFile_scatterEntries(dim_t, index_t*, index_t, index_t, index_t*, index_t*, index_t*, index_t*, index_t*, index_t*, dim_t numDim, double*, double*);
136  void Finley_NodeFile_copyTable(dim_t,Finley_NodeFile*,dim_t,dim_t,Finley_NodeFile*);  void Finley_NodeFile_copyTable(dim_t,Finley_NodeFile*,dim_t,dim_t,Finley_NodeFile*);
137    void Finley_NodeFile_setGlobalReducedDegreeOfFreedomRange(index_t* min_id,index_t* max_id,Finley_NodeFile* in);
138    void Finley_NodeFile_setGlobalNodeIDIndexRange(index_t* min_id,index_t* max_id,Finley_NodeFile* in);
139    void Finley_NodeFile_setGlobalReducedNodeIDIndexRange(index_t* min_id,index_t* max_id,Finley_NodeFile* in);
140    
141  /* ===================== */  /* ===================== */
142  void Finley_NodeFile_setCoordinates(Finley_NodeFile*,escriptDataC*);  void Finley_NodeFile_setCoordinates(Finley_NodeFile*,escriptDataC*);
143  void Finley_NodeFile_setTags(Finley_NodeFile*,const int,escriptDataC*);  void Finley_NodeFile_setTags(Finley_NodeFile*,const int,escriptDataC*);
144    void Finley_NodeFile_setTagsInUse(Finley_NodeFile* in);
145    
146  #endif  #endif
147    

Legend:
Removed from v.1780  
changed lines
  Added in v.1781

  ViewVC Help
Powered by ViewVC 1.1.26