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

Diff of /trunk/finley/src/finleyC/ElementFile_setNodeRange.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 82 by jgs, Tue Oct 26 06:53:54 2004 UTC revision 150 by jgs, Thu Sep 15 03:44:45 2005 UTC
# Line 1  Line 1 
1  /* $Id$ */  /*
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                                                                      */  /*   Finley: ElementFile                                                                      */
# Line 8  Line 21 
21  /*                                                                                            */  /*                                                                                            */
22  /**************************************************************/  /**************************************************************/
23    
24  /*   Copyrights by ACcESS Australia 2003 */  /*  Author: gross@access.edu.au */
25  /*   Author: gross@access.edu.au */  /*  Version: $Id$ */
 /*   Version: $Id$ */  
26    
27  /**************************************************************/  /**************************************************************/
28    
# Line 19  Line 31 
31    
32  /**************************************************************/  /**************************************************************/
33    
34  void Finley_ElementFile_setNodeRange(maybelong* min_id,maybelong* max_id,Finley_ElementFile* in) {  void Finley_ElementFile_setNodeRange(index_t* min_id,index_t* max_id,Finley_ElementFile* in) {
35     if (in!=NULL) {     if (in!=NULL) {
36        *min_id=Finley_Util_getMinInt(in->ReferenceElement->Type->numNodes,in->numElements,in->Nodes);        *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);        *max_id=Finley_Util_getMaxInt(in->ReferenceElement->Type->numNodes,in->numElements,in->Nodes);
38     } else {     } else {
39         *min_id=MAYBELONG_MAX;         *min_id=INDEX_T_MAX;
40         *max_id=-MAYBELONG_MAX;         *max_id=-INDEX_T_MAX;
41     }     }
42  }  }
43  /*  /*
44  * $Log$  * $Log$
45  * Revision 1.1  2004/10/26 06:53:57  jgs  * Revision 1.3  2005/09/15 03:44:22  jgs
46  * Initial revision  * 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  * Revision 1.2  2004/07/02 04:21:13  gross
61  * Finley C code has been included  * Finley C code has been included

Legend:
Removed from v.82  
changed lines
  Added in v.150

  ViewVC Help
Powered by ViewVC 1.1.26