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

trunk/esys2/finley/src/finleyC/Mesh_markNodes.c revision 82 by jgs, Tue Oct 26 06:53:54 2004 UTC temp_trunk_copy/finley/src/Mesh_markNodes.c revision 1384 by phornby, Fri Jan 11 02:29:38 2008 UTC
# Line 1  Line 1 
 /**************************************************************/  
1    
2  /*   Finley: Mesh */  /* $Id$ */
3    
4  /*   mark the used nodes with offeset: */  /*******************************************************
5     *
6     *           Copyright 2003-2007 by ACceSS MNRF
7     *       Copyright 2007 by University of Queensland
8     *
9     *                http://esscc.uq.edu.au
10     *        Primary Business: Queensland, Australia
11     *  Licensed under the Open Software License version 3.0
12     *     http://www.opensource.org/licenses/osl-3.0.php
13     *
14     *******************************************************/
15    
16  /**************************************************************/  /**************************************************************/
17    
18  /*   Copyrights by ACcESS Australia 2003/04 */  /*   Finley: Mesh */
19  /*   Author: gross@access.edu.au */  
20  /*   Version: $Id$ */  /*   mark the used nodes with offeset: */
21    
22  /**************************************************************/  /**************************************************************/
23    
# Line 16  Line 25 
25    
26  /**************************************************************/  /**************************************************************/
27    
28  void Finley_Mesh_markNodes(int* mask,int offset,Finley_Mesh* in,int useLinear) {  void Finley_Mesh_markNodes(index_t* mask,index_t offset,Finley_Mesh* in,bool_t useLinear) {
29            Finley_ElementFile_markNodes(mask,offset,in->Elements,useLinear);            Finley_ElementFile_markNodes(mask,offset,in->Elements,useLinear);
30            Finley_ElementFile_markNodes(mask,offset,in->FaceElements,useLinear);            Finley_ElementFile_markNodes(mask,offset,in->FaceElements,useLinear);
31            Finley_ElementFile_markNodes(mask,offset,in->ContactElements,useLinear);            Finley_ElementFile_markNodes(mask,offset,in->ContactElements,useLinear);
32            Finley_ElementFile_markNodes(mask,offset,in->Points,useLinear);            Finley_ElementFile_markNodes(mask,offset,in->Points,useLinear);
33  }  }
 /*  
 * $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.  
 *  
 *  
 */  
34    
35    void Finley_Mesh_markDOFsConnectedToRange(index_t* mask, index_t offset, index_t marker,
36                                              index_t firstDOF,index_t lastDOF,Finley_Mesh* in, bool_t useLinear)
37    {
38       index_t *dofIndex;
39       if (useLinear) {
40           dofIndex=in->Nodes->globalReducedDOFIndex;
41       } else {
42           dofIndex=in->Nodes->globalDegreesOfFreedom;
43       }
44       Finley_ElementFile_markDOFsConnectedToRange(mask,offset,marker,firstDOF,lastDOF,dofIndex,in->Elements,useLinear);
45       Finley_ElementFile_markDOFsConnectedToRange(mask,offset,marker,firstDOF,lastDOF,dofIndex,in->FaceElements,useLinear);
46       Finley_ElementFile_markDOFsConnectedToRange(mask,offset,marker,firstDOF,lastDOF,dofIndex,in->ContactElements,useLinear);
47       Finley_ElementFile_markDOFsConnectedToRange(mask,offset,marker,firstDOF,lastDOF,dofIndex,in->Points,useLinear);
48    }

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

  ViewVC Help
Powered by ViewVC 1.1.26