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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 82 - (show annotations)
Tue Oct 26 06:53:54 2004 UTC (15 years ago) by jgs
Original Path: trunk/esys2/finley/src/finleyC/ElementFile_setNodeRange.c
File MIME type: text/plain
File size: 1655 byte(s)
Initial revision

1 /* $Id$ */
2 /**************************************************************/
3 /* */
4 /* Finley: ElementFile */
5 /* */
6 /* returns the maximum and minimum node reference number of nodes describing the elements:; */
7 /* */
8 /* */
9 /**************************************************************/
10
11 /* Copyrights by ACcESS Australia 2003 */
12 /* Author: gross@access.edu.au */
13 /* Version: $Id$ */
14
15 /**************************************************************/
16
17 #include "ElementFile.h"
18 #include "Util.h"
19
20 /**************************************************************/
21
22 void Finley_ElementFile_setNodeRange(maybelong* min_id,maybelong* max_id,Finley_ElementFile* in) {
23 if (in!=NULL) {
24 *min_id=Finley_Util_getMinInt(in->ReferenceElement->Type->numNodes,in->numElements,in->Nodes);
25 *max_id=Finley_Util_getMaxInt(in->ReferenceElement->Type->numNodes,in->numElements,in->Nodes);
26 } else {
27 *min_id=MAYBELONG_MAX;
28 *max_id=-MAYBELONG_MAX;
29 }
30 }
31 /*
32 * $Log$
33 * Revision 1.1 2004/10/26 06:53:57 jgs
34 * Initial revision
35 *
36 * Revision 1.2 2004/07/02 04:21:13 gross
37 * Finley C code has been included
38 *
39 * Revision 1.1.1.1 2004/06/24 04:00:40 johng
40 * Initial version of eys using boost-python.
41 *
42 *
43 */

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26