/[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

temp/finley/src/Mesh_markNodes.c revision 1387 by trankine, Fri Jan 11 07:45:26 2008 UTC branches/domexper/dudley/src/Mesh_markNodes.c revision 3126 by jfenwick, Wed Sep 1 00:37:53 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->Points,useLinear);
           Finley_ElementFile_markNodes(mask,offset,in->Points,useLinear);  
31  }  }
32    
33  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,
34                                            index_t firstDOF,index_t lastDOF,Finley_Mesh* in, bool_t useLinear)                                            index_t firstDOF,index_t lastDOF,Dudley_Mesh* in, bool_t useLinear)
35  {  {
36     index_t *dofIndex;     index_t *dofIndex;
37     if (useLinear) {     if (useLinear) {
# Line 41  void Finley_Mesh_markDOFsConnectedToRang Line 39  void Finley_Mesh_markDOFsConnectedToRang
39     } else {     } else {
40         dofIndex=in->Nodes->globalDegreesOfFreedom;         dofIndex=in->Nodes->globalDegreesOfFreedom;
41     }     }
42     Finley_ElementFile_markDOFsConnectedToRange(mask,offset,marker,firstDOF,lastDOF,dofIndex,in->Elements,useLinear);     Dudley_ElementFile_markDOFsConnectedToRange(mask,offset,marker,firstDOF,lastDOF,dofIndex,in->Elements,useLinear);
43     Finley_ElementFile_markDOFsConnectedToRange(mask,offset,marker,firstDOF,lastDOF,dofIndex,in->FaceElements,useLinear);     Dudley_ElementFile_markDOFsConnectedToRange(mask,offset,marker,firstDOF,lastDOF,dofIndex,in->FaceElements,useLinear);
44     Finley_ElementFile_markDOFsConnectedToRange(mask,offset,marker,firstDOF,lastDOF,dofIndex,in->ContactElements,useLinear);     Dudley_ElementFile_markDOFsConnectedToRange(mask,offset,marker,firstDOF,lastDOF,dofIndex,in->Points,useLinear);
    Finley_ElementFile_markDOFsConnectedToRange(mask,offset,marker,firstDOF,lastDOF,dofIndex,in->Points,useLinear);  
45  }  }

Legend:
Removed from v.1387  
changed lines
  Added in v.3126

  ViewVC Help
Powered by ViewVC 1.1.26