/[escript]/branches/domexper/dudley/src/Mesh_markNodes.c
ViewVC logotype

Diff of /branches/domexper/dudley/src/Mesh_markNodes.c

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

temp_trunk_copy/finley/src/Mesh_markNodes.c revision 1384 by phornby, Fri Jan 11 02:29:38 2008 UTC branches/domexper/dudley/src/Mesh_markNodes.c revision 3086 by jfenwick, Thu Aug 5 05:07:58 2010 UTC
# Line 1  Line 1 
1    
 /* $Id$ */  
   
2  /*******************************************************  /*******************************************************
3   *  *
4   *           Copyright 2003-2007 by ACceSS MNRF  * Copyright (c) 2003-2010 by University of Queensland
5   *       Copyright 2007 by University of Queensland  * Earth Systems Science Computational Center (ESSCC)
6   *  * http://www.uq.edu.au/esscc
7   *                http://esscc.uq.edu.au  *
8   *        Primary Business: Queensland, Australia  * Primary Business: Queensland, Australia
9   *  Licensed under the Open Software License version 3.0  * Licensed under the Open Software License version 3.0
10   *     http://www.opensource.org/licenses/osl-3.0.php  * http://www.opensource.org/licenses/osl-3.0.php
11   *  *
12   *******************************************************/  *******************************************************/
13    
14    
15  /**************************************************************/  /**************************************************************/
16    
17  /*   Finley: Mesh */  /*   Dudley: Mesh */
18    
19  /*   mark the used nodes with offeset: */  /*   mark the used nodes with offeset: */
20    
# Line 25  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->Elements,useLinear);            Dudley_ElementFile_markNodes(mask,offset,in->Nodes->numNodes,in->Elements,useLinear);
29            Finley_ElementFile_markNodes(mask,offset,in->FaceElements,useLinear);            Dudley_ElementFile_markNodes(mask,offset,in->Nodes->numNodes,in->FaceElements,useLinear);
30            Finley_ElementFile_markNodes(mask,offset,in->ContactElements,useLinear);            Dudley_ElementFile_markNodes(mask,offset,in->Nodes->numNodes,in->ContactElements,useLinear);
31            Finley_ElementFile_markNodes(mask,offset,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 41  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.1384  
changed lines
  Added in v.3086

  ViewVC Help
Powered by ViewVC 1.1.26