1 |
/* |
2 |
************************************************************ |
3 |
* Copyright 2006 by ACcESS MNRF * |
4 |
* * |
5 |
* http://www.access.edu.au * |
6 |
* Primary Business: Queensland, Australia * |
7 |
* Licensed under the Open Software License version 3.0 * |
8 |
* http://www.opensource.org/licenses/osl-3.0.php * |
9 |
* * |
10 |
************************************************************ |
11 |
*/ |
12 |
|
13 |
/**************************************************************/ |
14 |
/* */ |
15 |
/* Finley: ElementFile */ |
16 |
/* */ |
17 |
/* returns the maximum and minimum node reference number of nodes describing the elements:; */ |
18 |
/* */ |
19 |
/* */ |
20 |
/**************************************************************/ |
21 |
|
22 |
/* Author: gross@access.edu.au */ |
23 |
/* Version: $Id$ */ |
24 |
|
25 |
/**************************************************************/ |
26 |
|
27 |
#include "ElementFile.h" |
28 |
#include "Util.h" |
29 |
|
30 |
/**************************************************************/ |
31 |
|
32 |
void Finley_ElementFile_setNodeRange(index_t* min_id,index_t* max_id,Finley_ElementFile* in) { |
33 |
if (in!=NULL) { |
34 |
*min_id=Finley_Util_getMinInt(in->ReferenceElement->Type->numNodes,in->numElements,in->Nodes); |
35 |
*max_id=Finley_Util_getMaxInt(in->ReferenceElement->Type->numNodes,in->numElements,in->Nodes); |
36 |
} else { |
37 |
*min_id=INDEX_T_MAX; |
38 |
*max_id=-INDEX_T_MAX; |
39 |
} |
40 |
} |
41 |
/* |
42 |
* $Log$ |
43 |
* Revision 1.3 2005/09/15 03:44:22 jgs |
44 |
* Merge of development branch dev-02 back to main trunk on 2005-09-15 |
45 |
* |
46 |
* Revision 1.2.2.1 2005/09/07 06:26:18 gross |
47 |
* the solver from finley are put into the standalone package paso now |
48 |
* |
49 |
* Revision 1.2 2005/07/08 04:07:50 jgs |
50 |
* Merge of development branch back to main trunk on 2005-07-08 |
51 |
* |
52 |
* Revision 1.1.1.1.2.1 2005/06/29 02:34:50 gross |
53 |
* some changes towards 64 integers in finley |
54 |
* |
55 |
* Revision 1.1.1.1 2004/10/26 06:53:57 jgs |
56 |
* initial import of project esys2 |
57 |
* |
58 |
* Revision 1.2 2004/07/02 04:21:13 gross |
59 |
* Finley C code has been included |
60 |
* |
61 |
* Revision 1.1.1.1 2004/06/24 04:00:40 johng |
62 |
* Initial version of eys using boost-python. |
63 |
* |
64 |
* |
65 |
*/ |