/[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 123 - (hide annotations)
Fri Jul 8 04:08:13 2005 UTC (14 years, 4 months ago) by jgs
Original Path: trunk/esys2/finley/src/finleyC/ElementFile_setNodeRange.c
File MIME type: text/plain
File size: 1870 byte(s)
Merge of development branch back to main trunk on 2005-07-08

1 jgs 82 /* $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 jgs 123 void Finley_ElementFile_setNodeRange(index_t* min_id,index_t* max_id,Finley_ElementFile* in) {
23 jgs 82 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 jgs 123 *min_id=INDEX_T_MAX;
28     *max_id=-INDEX_T_MAX;
29 jgs 82 }
30     }
31     /*
32     * $Log$
33 jgs 123 * Revision 1.2 2005/07/08 04:07:50 jgs
34     * Merge of development branch back to main trunk on 2005-07-08
35 jgs 82 *
36 jgs 123 * Revision 1.1.1.1.2.1 2005/06/29 02:34:50 gross
37     * some changes towards 64 integers in finley
38     *
39     * Revision 1.1.1.1 2004/10/26 06:53:57 jgs
40     * initial import of project esys2
41     *
42 jgs 82 * Revision 1.2 2004/07/02 04:21:13 gross
43     * Finley C code has been included
44     *
45     * Revision 1.1.1.1 2004/06/24 04:00:40 johng
46     * Initial version of eys using boost-python.
47     *
48     *
49     */

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26