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

Annotation of /trunk/finley/src/Mesh_markNodes.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1312 - (hide annotations)
Mon Sep 24 06:18:44 2007 UTC (12 years ago) by ksteube
File MIME type: text/plain
File size: 1971 byte(s)
The MPI branch is hereby closed. All future work should be in trunk.

Previously in revision 1295 I merged the latest changes to trunk into trunk-mpi-branch.
In this revision I copied all files from trunk-mpi-branch over the corresponding
trunk files. I did not use 'svn merge', it was a copy.

1 jgs 150
2 ksteube 1312 /* $Id$ */
3    
4     /*******************************************************
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 jgs 82 /**************************************************************/
17    
18     /* Finley: Mesh */
19    
20     /* mark the used nodes with offeset: */
21    
22     /**************************************************************/
23    
24     #include "Mesh.h"
25    
26     /**************************************************************/
27    
28 jgs 123 void Finley_Mesh_markNodes(index_t* mask,index_t offset,Finley_Mesh* in,bool_t useLinear) {
29 jgs 82 Finley_ElementFile_markNodes(mask,offset,in->Elements,useLinear);
30     Finley_ElementFile_markNodes(mask,offset,in->FaceElements,useLinear);
31     Finley_ElementFile_markNodes(mask,offset,in->ContactElements,useLinear);
32     Finley_ElementFile_markNodes(mask,offset,in->Points,useLinear);
33     }
34 bcumming 751
35 ksteube 1312 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     }

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.26