/[escript]/trunk/finley/src/Mesh_joinFaces.cpp
ViewVC logotype

Diff of /trunk/finley/src/Mesh_joinFaces.cpp

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

revision 4491 by caltinay, Fri May 31 07:09:03 2013 UTC revision 4492 by caltinay, Tue Jul 2 01:44:11 2013 UTC
# Line 32  void Finley_Mesh_joinFaces(Finley_Mesh* Line 32  void Finley_Mesh_joinFaces(Finley_Mesh*
32     index_t e0,e1,*elem1=NULL,*elem0=NULL,*elem_mask=NULL,*matching_nodes_in_elem1=NULL;     index_t e0,e1,*elem1=NULL,*elem0=NULL,*elem_mask=NULL,*matching_nodes_in_elem1=NULL;
33     ElementFile *newFaceElementsFile=NULL,*newContactElementsFile=NULL;     ElementFile *newFaceElementsFile=NULL,*newContactElementsFile=NULL;
34     dim_t e,i,numPairs, NN, NN_Contact,c, new_numFaceElements;     dim_t e,i,numPairs, NN, NN_Contact,c, new_numFaceElements;
35     Finley_ReferenceElement*  faceRefElement=NULL, *contactRefElement=NULL;     ReferenceElement*  faceRefElement=NULL, *contactRefElement=NULL;
36    
37     if (self->MPIInfo->size>1) {     if (self->MPIInfo->size>1) {
38       Finley_setError(TYPE_ERROR,"Finley_Mesh_joinFaces: MPI is not supported yet.");       Finley_setError(TYPE_ERROR,"Finley_Mesh_joinFaces: MPI is not supported yet.");
# Line 43  void Finley_Mesh_joinFaces(Finley_Mesh* Line 43  void Finley_Mesh_joinFaces(Finley_Mesh*
43       return;       return;
44     }     }
45     if (self->FaceElements==NULL) return;     if (self->FaceElements==NULL) return;
46     faceRefElement= Finley_ReferenceElementSet_borrowReferenceElement(self->FaceElements->referenceElementSet, FALSE);     faceRefElement= ReferenceElementSet_borrowReferenceElement(self->FaceElements->referenceElementSet, FALSE);
47     contactRefElement= Finley_ReferenceElementSet_borrowReferenceElement(self->ContactElements->referenceElementSet, FALSE);     contactRefElement= ReferenceElementSet_borrowReferenceElement(self->ContactElements->referenceElementSet, FALSE);
48        
49    
50     NN=self->FaceElements->numNodes;     NN=self->FaceElements->numNodes;

Legend:
Removed from v.4491  
changed lines
  Added in v.4492

  ViewVC Help
Powered by ViewVC 1.1.26