/[escript]/trunk/dudley/src/Mesh_markNodes.c
ViewVC logotype

Diff of /trunk/dudley/src/Mesh_markNodes.c

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

revision 3080 by jfenwick, Tue Aug 3 04:28:03 2010 UTC revision 3086 by jfenwick, Thu Aug 5 05:07:58 2010 UTC
# Line 14  Line 14 
14    
15  /**************************************************************/  /**************************************************************/
16    
17  /*   Finley: Mesh */  /*   Dudley: Mesh */
18    
19  /*   mark the used nodes with offeset: */  /*   mark the used nodes with offeset: */
20    
# Line 24  Line 24 
24    
25  /**************************************************************/  /**************************************************************/
26    
27  void Finley_Mesh_markNodes(index_t* mask,index_t offset,Finley_Mesh* in,bool_t useLinear) {  void Dudley_Mesh_markNodes(index_t* mask,index_t offset,Dudley_Mesh* in,bool_t useLinear) {
28            Finley_ElementFile_markNodes(mask,offset,in->Nodes->numNodes,in->Elements,useLinear);            Dudley_ElementFile_markNodes(mask,offset,in->Nodes->numNodes,in->Elements,useLinear);
29            Finley_ElementFile_markNodes(mask,offset,in->Nodes->numNodes,in->FaceElements,useLinear);            Dudley_ElementFile_markNodes(mask,offset,in->Nodes->numNodes,in->FaceElements,useLinear);
30            Finley_ElementFile_markNodes(mask,offset,in->Nodes->numNodes,in->ContactElements,useLinear);            Dudley_ElementFile_markNodes(mask,offset,in->Nodes->numNodes,in->ContactElements,useLinear);
31            Finley_ElementFile_markNodes(mask,offset,in->Nodes->numNodes,in->Points,useLinear);            Dudley_ElementFile_markNodes(mask,offset,in->Nodes->numNodes,in->Points,useLinear);
32  }  }
33    
34  void Finley_Mesh_markDOFsConnectedToRange(index_t* mask, index_t offset, index_t marker,  void Dudley_Mesh_markDOFsConnectedToRange(index_t* mask, index_t offset, index_t marker,
35                                            index_t firstDOF,index_t lastDOF,Finley_Mesh* in, bool_t useLinear)                                            index_t firstDOF,index_t lastDOF,Dudley_Mesh* in, bool_t useLinear)
36  {  {
37     index_t *dofIndex;     index_t *dofIndex;
38     if (useLinear) {     if (useLinear) {
# Line 40  void Finley_Mesh_markDOFsConnectedToRang Line 40  void Finley_Mesh_markDOFsConnectedToRang
40     } else {     } else {
41         dofIndex=in->Nodes->globalDegreesOfFreedom;         dofIndex=in->Nodes->globalDegreesOfFreedom;
42     }     }
43     Finley_ElementFile_markDOFsConnectedToRange(mask,offset,marker,firstDOF,lastDOF,dofIndex,in->Elements,useLinear);     Dudley_ElementFile_markDOFsConnectedToRange(mask,offset,marker,firstDOF,lastDOF,dofIndex,in->Elements,useLinear);
44     Finley_ElementFile_markDOFsConnectedToRange(mask,offset,marker,firstDOF,lastDOF,dofIndex,in->FaceElements,useLinear);     Dudley_ElementFile_markDOFsConnectedToRange(mask,offset,marker,firstDOF,lastDOF,dofIndex,in->FaceElements,useLinear);
45     Finley_ElementFile_markDOFsConnectedToRange(mask,offset,marker,firstDOF,lastDOF,dofIndex,in->ContactElements,useLinear);     Dudley_ElementFile_markDOFsConnectedToRange(mask,offset,marker,firstDOF,lastDOF,dofIndex,in->ContactElements,useLinear);
46     Finley_ElementFile_markDOFsConnectedToRange(mask,offset,marker,firstDOF,lastDOF,dofIndex,in->Points,useLinear);     Dudley_ElementFile_markDOFsConnectedToRange(mask,offset,marker,firstDOF,lastDOF,dofIndex,in->Points,useLinear);
47  }  }

Legend:
Removed from v.3080  
changed lines
  Added in v.3086

  ViewVC Help
Powered by ViewVC 1.1.26