/[escript]/branches/trilinos_from_5897/dudley/src/Mesh_markNodes.cpp
ViewVC logotype

Contents of /branches/trilinos_from_5897/dudley/src/Mesh_markNodes.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6009 - (show annotations)
Wed Mar 2 04:13:26 2016 UTC (2 years, 11 months ago) by caltinay
File size: 2172 byte(s)
Much needed sync with trunk...

1
2 /*****************************************************************************
3 *
4 * Copyright (c) 2003-2016 by The University of Queensland
5 * http://www.uq.edu.au
6 *
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 * Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12 * Development 2012-2013 by School of Earth Sciences
13 * Development from 2014 by Centre for Geoscience Computing (GeoComp)
14 *
15 *****************************************************************************/
16
17 /****************************************************************************/
18
19 /* Dudley: Mesh */
20
21 /* mark the used nodes with offset: */
22
23 /****************************************************************************/
24
25 #include "Mesh.h"
26
27 namespace dudley {
28
29 void Dudley_Mesh_markNodes(index_t * mask, index_t offset, Dudley_Mesh * in, bool useLinear)
30 {
31 Dudley_ElementFile_markNodes(mask, offset, in->Nodes->numNodes, in->Elements, useLinear);
32 Dudley_ElementFile_markNodes(mask, offset, in->Nodes->numNodes, in->FaceElements, useLinear);
33 Dudley_ElementFile_markNodes(mask, offset, in->Nodes->numNodes, in->Points, useLinear);
34 }
35
36 void Dudley_Mesh_markDOFsConnectedToRange(index_t * mask, index_t offset, index_t marker,
37 index_t firstDOF, index_t lastDOF, Dudley_Mesh * in, bool useLinear)
38 {
39 index_t *dofIndex;
40 if (useLinear)
41 {
42 dofIndex = in->Nodes->globalReducedDOFIndex;
43 }
44 else
45 {
46 dofIndex = in->Nodes->globalDegreesOfFreedom;
47 }
48 Dudley_ElementFile_markDOFsConnectedToRange(mask, offset, marker, firstDOF, lastDOF, dofIndex, in->Elements,
49 useLinear);
50 Dudley_ElementFile_markDOFsConnectedToRange(mask, offset, marker, firstDOF, lastDOF, dofIndex, in->FaceElements,
51 useLinear);
52 Dudley_ElementFile_markDOFsConnectedToRange(mask, offset, marker, firstDOF, lastDOF, dofIndex, in->Points,
53 useLinear);
54 }
55
56 } // namespace dudley
57

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision
svn:mergeinfo /branches/4.0fordebian/dudley/src/Mesh_markNodes.cpp:5567-5588 /branches/lapack2681/finley/src/Mesh_markNodes.cpp:2682-2741 /branches/pasowrap/dudley/src/Mesh_markNodes.cpp:3661-3674 /branches/py3_attempt2/dudley/src/Mesh_markNodes.cpp:3871-3891 /branches/restext/finley/src/Mesh_markNodes.cpp:2610-2624 /branches/ripleygmg_from_3668/dudley/src/Mesh_markNodes.cpp:3669-3791 /branches/stage3.0/finley/src/Mesh_markNodes.cpp:2569-2590 /branches/symbolic_from_3470/dudley/src/Mesh_markNodes.cpp:3471-3974 /branches/symbolic_from_3470/ripley/test/python/dudley/src/Mesh_markNodes.cpp:3517-3974 /release/3.0/finley/src/Mesh_markNodes.cpp:2591-2601 /release/4.0/dudley/src/Mesh_markNodes.cpp:5380-5406 /trunk/dudley/src/Mesh_markNodes.cpp:4257-4344,5898-6007 /trunk/ripley/test/python/dudley/src/Mesh_markNodes.cpp:3480-3515

  ViewVC Help
Powered by ViewVC 1.1.26