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

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

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

revision 787 by bcumming, Wed Jul 26 01:46:45 2006 UTC revision 964 by gross, Tue Feb 13 05:10:26 2007 UTC
# Line 44  void  Finley_Mesh_resolveNodeIds(Finley_ Line 44  void  Finley_Mesh_resolveNodeIds(Finley_
44    max_id=-INDEX_T_MAX;    max_id=-INDEX_T_MAX;
45    Finley_NodeFile_setIdRange(&min_id2,&max_id2,in->Nodes);    Finley_NodeFile_setIdRange(&min_id2,&max_id2,in->Nodes);
46    if (min_id2==INDEX_T_MAX || max_id2==-INDEX_T_MAX) {    if (min_id2==INDEX_T_MAX || max_id2==-INDEX_T_MAX) {
47      Finley_setError(VALUE_ERROR,"__FILE__: Mesh has not been defined completely.");      Finley_setError(VALUE_ERROR,"Finley_Mesh_resolveNodeIds: Mesh has not been defined completely.");
48      goto clean;      goto clean;
49    }    }
50    
# Line 109  void  Finley_Mesh_resolveNodeIds(Finley_ Line 109  void  Finley_Mesh_resolveNodeIds(Finley_
109    for (k=0;k<len;k++) {    for (k=0;k<len;k++) {
110       /* if a node is refered by an element is there a node defined ?*/       /* if a node is refered by an element is there a node defined ?*/
111       if (maskElements[k]>=0 && maskNodes[k]<0) {       if (maskElements[k]>=0 && maskNodes[k]<0) {
112         sprintf(error_msg,"__FILE__:Node id %d is referenced by element but is not defined.",k+min_id);         sprintf(error_msg,"Finley_Mesh_resolveNodeIds:Node id %d is referenced by element but is not defined.",k+min_id);
113         Finley_setError(VALUE_ERROR,error_msg);         Finley_setError(VALUE_ERROR,error_msg);
114       }       }
115    }    }
# Line 151  void  Finley_Mesh_resolveNodeIds(Finley_ Line 151  void  Finley_Mesh_resolveNodeIds(Finley_
151           Finley_NodeFile_deallocTable(newNodeFile);           Finley_NodeFile_deallocTable(newNodeFile);
152           Finley_NodeFile_dealloc(newNodeFile);           Finley_NodeFile_dealloc(newNodeFile);
153  }  }
   
 /*  
 * $Log$  
 * Revision 1.6  2005/09/15 03:44:23  jgs  
 * Merge of development branch dev-02 back to main trunk on 2005-09-15  
 *  
 * Revision 1.5.2.1  2005/09/07 06:26:20  gross  
 * the solver from finley are put into the standalone package paso now  
 *  
 * Revision 1.5  2005/07/08 04:07:54  jgs  
 * Merge of development branch back to main trunk on 2005-07-08  
 *  
 * Revision 1.4  2004/12/15 07:08:33  jgs  
 * *** empty log message ***  
 * Revision 1.1.1.1.2.2  2005/06/29 02:34:53  gross  
 * some changes towards 64 integers in finley  
 *  
 * Revision 1.1.1.1.2.1  2004/11/24 01:37:14  gross  
 * some changes dealing with the integer overflow in memory allocation. Finley solves 4M unknowns now  
 *  
 *  
 *  
 */  
   

Legend:
Removed from v.787  
changed lines
  Added in v.964

  ViewVC Help
Powered by ViewVC 1.1.26