/[escript]/trunk/esys2/finley/src/finleyC/Mesh_glueFaces.c
ViewVC logotype

Diff of /trunk/esys2/finley/src/finleyC/Mesh_glueFaces.c

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

revision 152 by jgs, Thu Sep 15 03:44:45 2005 UTC revision 153 by jgs, Tue Oct 25 01:51:20 2005 UTC
# Line 40  void Finley_Mesh_glueFaces(Finley_Mesh* Line 40  void Finley_Mesh_glueFaces(Finley_Mesh*
40     if (self->FaceElements==NULL) return;     if (self->FaceElements==NULL) return;
41    
42     if (self->FaceElements->ReferenceElement->Type->numNodesOnFace<=0) {     if (self->FaceElements->ReferenceElement->Type->numNodesOnFace<=0) {
43       sprintf(error_msg,"__FILE__:glueing faces cannot be applied to face elements pf type %s",self->FaceElements->ReferenceElement->Type->Name);       sprintf(error_msg,"Finley_Mesh_glueFaces:glueing faces cannot be applied to face elements of type %s",self->FaceElements->ReferenceElement->Type->Name);
44       Finley_setError(TYPE_ERROR,error_msg);       Finley_setError(TYPE_ERROR,error_msg);
45       return;       return;
46     }     }
# Line 116  void Finley_Mesh_glueFaces(Finley_Mesh* Line 116  void Finley_Mesh_glueFaces(Finley_Mesh*
116                            
117              /* assign new node ids to elements */              /* assign new node ids to elements */
118              Finley_Mesh_relableElementNodes(new_node_label,0,self);              Finley_Mesh_relableElementNodes(new_node_label,0,self);
119    
120                Finley_Mesh_prepare(self);
121           } else {           } else {
122              Finley_NodeFile_dealloc(newNodeFile);              Finley_NodeFile_dealloc(newNodeFile);
123              Finley_ElementFile_dealloc(newFaceElementsFile);              Finley_ElementFile_dealloc(newFaceElementsFile);
# Line 130  void Finley_Mesh_glueFaces(Finley_Mesh* Line 132  void Finley_Mesh_glueFaces(Finley_Mesh*
132     TMPMEMFREE(new_node_mask);     TMPMEMFREE(new_node_mask);
133     TMPMEMFREE(matching_nodes_in_elem1);     TMPMEMFREE(matching_nodes_in_elem1);
134  }  }
   
 /*  
 * $Log$  
 * Revision 1.6  2005/09/15 03:44:22  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:19  gross  
 * the solver from finley are put into the standalone package paso now  
 *  
 * Revision 1.5  2005/07/08 04:07:52  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:51  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.152  
changed lines
  Added in v.153

  ViewVC Help
Powered by ViewVC 1.1.26