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

trunk/esys2/finley/src/finleyC/Mesh_markNodes.c revision 82 by jgs, Tue Oct 26 06:53:54 2004 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    
2  /*   Finley: Mesh */  /*******************************************************
3    *
4    * Copyright (c) 2003-2010 by University of Queensland
5    * Earth Systems Science Computational Center (ESSCC)
6    * http://www.uq.edu.au/esscc
7    *
8    * Primary Business: Queensland, Australia
9    * Licensed under the Open Software License version 3.0
10    * http://www.opensource.org/licenses/osl-3.0.php
11    *
12    *******************************************************/
13    
 /*   mark the used nodes with offeset: */  
14    
15  /**************************************************************/  /**************************************************************/
16    
17  /*   Copyrights by ACcESS Australia 2003/04 */  /*   Dudley: Mesh */
18  /*   Author: gross@access.edu.au */  
19  /*   Version: $Id$ */  /*   mark the used nodes with offeset: */
20    
21  /**************************************************************/  /**************************************************************/
22    
# Line 16  Line 24 
24    
25  /**************************************************************/  /**************************************************************/
26    
27  void Finley_Mesh_markNodes(int* mask,int offset,Finley_Mesh* in,int 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  }  }
 /*  
 * $Log$  
 * Revision 1.1  2004/10/26 06:53:57  jgs  
 * Initial revision  
 *  
 * Revision 1.1.1.1  2004/06/24 04:00:40  johng  
 * Initial version of eys using boost-python.  
 *  
 *  
 */  
32    
33    void Dudley_Mesh_markDOFsConnectedToRange(index_t* mask, index_t offset, index_t marker,
34                                              index_t firstDOF,index_t lastDOF,Dudley_Mesh* in, bool_t useLinear)
35    {
36       index_t *dofIndex;
37       if (useLinear) {
38           dofIndex=in->Nodes->globalReducedDOFIndex;
39       } else {
40           dofIndex=in->Nodes->globalDegreesOfFreedom;
41       }
42       Dudley_ElementFile_markDOFsConnectedToRange(mask,offset,marker,firstDOF,lastDOF,dofIndex,in->Elements,useLinear);
43       Dudley_ElementFile_markDOFsConnectedToRange(mask,offset,marker,firstDOF,lastDOF,dofIndex,in->FaceElements,useLinear);
44       Dudley_ElementFile_markDOFsConnectedToRange(mask,offset,marker,firstDOF,lastDOF,dofIndex,in->Points,useLinear);
45    }

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

  ViewVC Help
Powered by ViewVC 1.1.26