/[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 616 - (hide annotations)
Wed Mar 22 02:46:56 2006 UTC (13 years, 7 months ago) by elspeth
File MIME type: text/plain
File size: 2610 byte(s)
Copyright added to more source files.

1 jgs 150 /*
2 elspeth 616 ************************************************************
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 jgs 150 */
12    
13 jgs 82 /**************************************************************/
14     /* */
15     /* Finley: ElementFile */
16     /* */
17     /* returns the maximum and minimum node reference number of nodes describing the elements:; */
18     /* */
19     /* */
20     /**************************************************************/
21    
22 jgs 150 /* Author: gross@access.edu.au */
23     /* Version: $Id$ */
24 jgs 82
25     /**************************************************************/
26    
27     #include "ElementFile.h"
28     #include "Util.h"
29    
30     /**************************************************************/
31    
32 jgs 123 void Finley_ElementFile_setNodeRange(index_t* min_id,index_t* max_id,Finley_ElementFile* in) {
33 jgs 82 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 jgs 123 *min_id=INDEX_T_MAX;
38     *max_id=-INDEX_T_MAX;
39 jgs 82 }
40     }
41     /*
42     * $Log$
43 jgs 150 * 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 jgs 123 * Revision 1.2 2005/07/08 04:07:50 jgs
50     * Merge of development branch back to main trunk on 2005-07-08
51 jgs 82 *
52 jgs 123 * 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 jgs 82 * 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     */

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26