/[escript]/trunk/dudley/src/ElementFile_setNodeRange.cpp
ViewVC logotype

Contents of /trunk/dudley/src/ElementFile_setNodeRange.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4346 - (show annotations)
Tue Apr 2 04:46:45 2013 UTC (6 years, 4 months ago) by jfenwick
File size: 1768 byte(s)
Bringing the changes from doubleplusgood branch.
Can't merge directly because svn doesn't transfer changes to renamed files (mutter grumble).
1
2 /*****************************************************************************
3 *
4 * Copyright (c) 2003-2013 by 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 since 2012 by School of Earth Sciences
13 *
14 *****************************************************************************/
15
16 /************************************************************************************/
17 /* */
18 /* Dudley: ElementFile */
19 /* */
20 /* returns the maximum and minimum node reference number of nodes describing the elements:; */
21 /* */
22 /* */
23 /************************************************************************************/
24
25 #include "ElementFile.h"
26 #include "Util.h"
27
28 /************************************************************************************/
29
30 void Dudley_ElementFile_setNodeRange(index_t * min_id, index_t * max_id, Dudley_ElementFile * in)
31 {
32 if (in != NULL)
33 {
34 *min_id = Dudley_Util_getMinInt(in->numNodes, in->numElements, in->Nodes);
35 *max_id = Dudley_Util_getMaxInt(in->numNodes, in->numElements, in->Nodes);
36 }
37 else
38 {
39 *min_id = INDEX_T_MAX;
40 *max_id = -INDEX_T_MAX;
41 }
42 }

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26