/[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 471 - (show annotations)
Fri Jan 27 01:33:02 2006 UTC (13 years, 7 months ago) by jgs
File MIME type: text/plain
File size: 2932 byte(s)
reorganise finley src tree to remove inc dir and src/finley directory

1 /*
2 ******************************************************************************
3 * *
4 * COPYRIGHT ACcESS 2003,2004,2005 - All Rights Reserved *
5 * *
6 * This software is the property of ACcESS. No part of this code *
7 * may be copied in any form or by any means without the expressed written *
8 * consent of ACcESS. Copying, use or modification of this software *
9 * by any unauthorised person is illegal unless that person has a software *
10 * license agreement with ACcESS. *
11 * *
12 ******************************************************************************
13 */
14
15 /**************************************************************/
16 /* */
17 /* Finley: ElementFile */
18 /* */
19 /* returns the maximum and minimum node reference number of nodes describing the elements:; */
20 /* */
21 /* */
22 /**************************************************************/
23
24 /* Author: gross@access.edu.au */
25 /* Version: $Id$ */
26
27 /**************************************************************/
28
29 #include "ElementFile.h"
30 #include "Util.h"
31
32 /**************************************************************/
33
34 void Finley_ElementFile_setNodeRange(index_t* min_id,index_t* max_id,Finley_ElementFile* in) {
35 if (in!=NULL) {
36 *min_id=Finley_Util_getMinInt(in->ReferenceElement->Type->numNodes,in->numElements,in->Nodes);
37 *max_id=Finley_Util_getMaxInt(in->ReferenceElement->Type->numNodes,in->numElements,in->Nodes);
38 } else {
39 *min_id=INDEX_T_MAX;
40 *max_id=-INDEX_T_MAX;
41 }
42 }
43 /*
44 * $Log$
45 * Revision 1.3 2005/09/15 03:44:22 jgs
46 * Merge of development branch dev-02 back to main trunk on 2005-09-15
47 *
48 * Revision 1.2.2.1 2005/09/07 06:26:18 gross
49 * the solver from finley are put into the standalone package paso now
50 *
51 * Revision 1.2 2005/07/08 04:07:50 jgs
52 * Merge of development branch back to main trunk on 2005-07-08
53 *
54 * Revision 1.1.1.1.2.1 2005/06/29 02:34:50 gross
55 * some changes towards 64 integers in finley
56 *
57 * Revision 1.1.1.1 2004/10/26 06:53:57 jgs
58 * initial import of project esys2
59 *
60 * Revision 1.2 2004/07/02 04:21:13 gross
61 * Finley C code has been included
62 *
63 * Revision 1.1.1.1 2004/06/24 04:00:40 johng
64 * Initial version of eys using boost-python.
65 *
66 *
67 */

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26