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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2748 - (hide annotations)
Tue Nov 17 07:32:59 2009 UTC (9 years, 9 months ago) by gross
File MIME type: text/plain
File size: 1574 byte(s)
Macro elements are implemented now. VTK writer for macro elements still needs testing.
1 jgs 150
2 ksteube 1312 /*******************************************************
3 ksteube 1811 *
4 jfenwick 2548 * Copyright (c) 2003-2009 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 ksteube 1811
15 jgs 82 /**************************************************************/
16     /* */
17     /* Finley: ElementFile */
18     /* */
19     /* returns the maximum and minimum node reference number of nodes describing the elements:; */
20     /* */
21     /* */
22     /**************************************************************/
23    
24     #include "ElementFile.h"
25     #include "Util.h"
26    
27     /**************************************************************/
28    
29 jgs 123 void Finley_ElementFile_setNodeRange(index_t* min_id,index_t* max_id,Finley_ElementFile* in) {
30 jgs 82 if (in!=NULL) {
31 gross 2748 *min_id=Finley_Util_getMinInt(in->numNodes, in->numElements,in->Nodes);
32     *max_id=Finley_Util_getMaxInt(in->numNodes, in->numElements,in->Nodes);
33 jgs 82 } else {
34 jgs 123 *min_id=INDEX_T_MAX;
35     *max_id=-INDEX_T_MAX;
36 jgs 82 }
37     }

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26