/[escript]/trunk/finley/src/NodeFile_setIdRange.c
ViewVC logotype

Diff of /trunk/finley/src/NodeFile_setIdRange.c

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

revision 1749 by gross, Fri Aug 29 05:06:45 2008 UTC revision 1750 by gross, Wed Sep 3 23:09:29 2008 UTC
# Line 104  void Finley_NodeFile_setReducedDOFRange( Line 104  void Finley_NodeFile_setReducedDOFRange(
104    
105    
106  index_t Finley_NodeFile_maxGlobalDegreeOfFreedomIndex(Finley_NodeFile* in) {  index_t Finley_NodeFile_maxGlobalDegreeOfFreedomIndex(Finley_NodeFile* in) {
107    index_t *min_id,*max_id;    index_t min_id,max_id;
108    Finley_NodeFile_setGlobalDOFRange(min_id,max_id,in);    Finley_NodeFile_setGlobalDOFRange(&min_id,&max_id,in);
109    return *max_id;    return max_id;
110  }  }
111    
112  index_t Finley_NodeFile_maxGlobalReducedDegreeOfFreedomIndex(Finley_NodeFile* in) {  index_t Finley_NodeFile_maxGlobalReducedDegreeOfFreedomIndex(Finley_NodeFile* in) {
113    index_t *min_id,*max_id;    index_t min_id,max_id;
114    Finley_NodeFile_setGlobalReducedDegreeOfFreedomRange(min_id,max_id,in);    Finley_NodeFile_setGlobalReducedDegreeOfFreedomRange(&min_id,&max_id,in);
115    return *max_id;    return max_id;
116  }  }
117    
118  void Finley_NodeFile_setGlobalReducedDegreeOfFreedomRange(index_t* min_id,index_t* max_id,Finley_NodeFile* in) {  void Finley_NodeFile_setGlobalReducedDegreeOfFreedomRange(index_t* min_id,index_t* max_id,Finley_NodeFile* in) {
# Line 141  void Finley_NodeFile_setGlobalReducedDeg Line 141  void Finley_NodeFile_setGlobalReducedDeg
141  }  }
142    
143  index_t Finley_NodeFile_maxGlobalNodeIDIndex(Finley_NodeFile* in) {  index_t Finley_NodeFile_maxGlobalNodeIDIndex(Finley_NodeFile* in) {
144    index_t *min_id,*max_id;    index_t min_id,max_id;
145    Finley_NodeFile_setGlobalNodeIDIndexRange(min_id,max_id,in);    Finley_NodeFile_setGlobalNodeIDIndexRange(&min_id,&max_id,in);
146    return *max_id;    return max_id;
147  }  }
148    
149  void Finley_NodeFile_setGlobalNodeIDIndexRange(index_t* min_id,index_t* max_id,Finley_NodeFile* in) {  void Finley_NodeFile_setGlobalNodeIDIndexRange(index_t* min_id,index_t* max_id,Finley_NodeFile* in) {
# Line 172  void Finley_NodeFile_setGlobalNodeIDInde Line 172  void Finley_NodeFile_setGlobalNodeIDInde
172  }  }
173    
174  index_t Finley_NodeFile_maxGlobalReducedNodeIDIndex(Finley_NodeFile* in) {  index_t Finley_NodeFile_maxGlobalReducedNodeIDIndex(Finley_NodeFile* in) {
175    index_t *min_id,*max_id;    index_t min_id,max_id;
176    Finley_NodeFile_setGlobalReducedNodeIDIndexRange(min_id,max_id,in);    Finley_NodeFile_setGlobalReducedNodeIDIndexRange(&min_id,&max_id,in);
177    return *max_id;    return max_id;
178  }  }
179    
180  void Finley_NodeFile_setGlobalReducedNodeIDIndexRange(index_t* min_id,index_t* max_id,Finley_NodeFile* in) {  void Finley_NodeFile_setGlobalReducedNodeIDIndexRange(index_t* min_id,index_t* max_id,Finley_NodeFile* in) {

Legend:
Removed from v.1749  
changed lines
  Added in v.1750

  ViewVC Help
Powered by ViewVC 1.1.26