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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3224 - (hide annotations)
Wed Sep 29 05:19:37 2010 UTC (8 years, 11 months ago) by jfenwick
Original Path: branches/domexper/dudley/src/Mesh_markNodes.c
File MIME type: text/plain
File size: 1805 byte(s)
indent -linux -nce -i4 -bl -bli0 -l120

1 jgs 150
2 ksteube 1312 /*******************************************************
3 ksteube 1811 *
4 jfenwick 2881 * Copyright (c) 2003-2010 by University of Queensland
5 ksteube 1811 * 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 ksteube 1312
14 jgs 82 /**************************************************************/
15    
16 jfenwick 3086 /* Dudley: Mesh */
17 jgs 82
18     /* mark the used nodes with offeset: */
19    
20     /**************************************************************/
21    
22     #include "Mesh.h"
23    
24     /**************************************************************/
25    
26 jfenwick 3224 void Dudley_Mesh_markNodes(index_t * mask, index_t offset, Dudley_Mesh * in, bool_t useLinear)
27     {
28     Dudley_ElementFile_markNodes(mask, offset, in->Nodes->numNodes, in->Elements, useLinear);
29     Dudley_ElementFile_markNodes(mask, offset, in->Nodes->numNodes, in->FaceElements, useLinear);
30     Dudley_ElementFile_markNodes(mask, offset, in->Nodes->numNodes, in->Points, useLinear);
31 jgs 82 }
32 bcumming 751
33 jfenwick 3224 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 ksteube 1312 {
36 jfenwick 3224 index_t *dofIndex;
37     if (useLinear)
38     {
39     dofIndex = in->Nodes->globalReducedDOFIndex;
40     }
41     else
42     {
43     dofIndex = in->Nodes->globalDegreesOfFreedom;
44     }
45     Dudley_ElementFile_markDOFsConnectedToRange(mask, offset, marker, firstDOF, lastDOF, dofIndex, in->Elements,
46     useLinear);
47     Dudley_ElementFile_markDOFsConnectedToRange(mask, offset, marker, firstDOF, lastDOF, dofIndex, in->FaceElements,
48     useLinear);
49     Dudley_ElementFile_markDOFsConnectedToRange(mask, offset, marker, firstDOF, lastDOF, dofIndex, in->Points,
50     useLinear);
51 ksteube 1312 }

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26