/[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 4286 - (hide annotations)
Thu Mar 7 04:28:11 2013 UTC (6 years, 6 months ago) by caltinay
File MIME type: text/plain
File size: 1989 byte(s)
Assorted spelling fixes.

1 jgs 150
2 jfenwick 3981 /*****************************************************************************
3 ksteube 1811 *
4 jfenwick 4154 * Copyright (c) 2003-2013 by University of Queensland
5 jfenwick 3981 * http://www.uq.edu.au
6 ksteube 1811 *
7     * Primary Business: Queensland, Australia
8     * Licensed under the Open Software License version 3.0
9     * http://www.opensource.org/licenses/osl-3.0.php
10     *
11 jfenwick 3981 * Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12     * Development since 2012 by School of Earth Sciences
13     *
14     *****************************************************************************/
15 ksteube 1312
16 jfenwick 3981 /************************************************************************************/
17 jgs 82
18 jfenwick 3086 /* Dudley: Mesh */
19 jgs 82
20 caltinay 4286 /* mark the used nodes with offset: */
21 jgs 82
22 jfenwick 3981 /************************************************************************************/
23 jgs 82
24     #include "Mesh.h"
25    
26 jfenwick 3981 /************************************************************************************/
27 jgs 82
28 jfenwick 3224 void Dudley_Mesh_markNodes(index_t * mask, index_t offset, Dudley_Mesh * in, bool_t useLinear)
29     {
30     Dudley_ElementFile_markNodes(mask, offset, in->Nodes->numNodes, in->Elements, useLinear);
31     Dudley_ElementFile_markNodes(mask, offset, in->Nodes->numNodes, in->FaceElements, useLinear);
32     Dudley_ElementFile_markNodes(mask, offset, in->Nodes->numNodes, in->Points, useLinear);
33 jgs 82 }
34 bcumming 751
35 jfenwick 3224 void Dudley_Mesh_markDOFsConnectedToRange(index_t * mask, index_t offset, index_t marker,
36     index_t firstDOF, index_t lastDOF, Dudley_Mesh * in, bool_t useLinear)
37 ksteube 1312 {
38 jfenwick 3224 index_t *dofIndex;
39     if (useLinear)
40     {
41     dofIndex = in->Nodes->globalReducedDOFIndex;
42     }
43     else
44     {
45     dofIndex = in->Nodes->globalDegreesOfFreedom;
46     }
47     Dudley_ElementFile_markDOFsConnectedToRange(mask, offset, marker, firstDOF, lastDOF, dofIndex, in->Elements,
48     useLinear);
49     Dudley_ElementFile_markDOFsConnectedToRange(mask, offset, marker, firstDOF, lastDOF, dofIndex, in->FaceElements,
50     useLinear);
51     Dudley_ElementFile_markDOFsConnectedToRange(mask, offset, marker, firstDOF, lastDOF, dofIndex, in->Points,
52     useLinear);
53 ksteube 1312 }

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26