/[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 1312 - (hide annotations)
Mon Sep 24 06:18:44 2007 UTC (12 years, 1 month ago) by ksteube
File MIME type: text/plain
File size: 1655 byte(s)
The MPI branch is hereby closed. All future work should be in trunk.

Previously in revision 1295 I merged the latest changes to trunk into trunk-mpi-branch.
In this revision I copied all files from trunk-mpi-branch over the corresponding
trunk files. I did not use 'svn merge', it was a copy.

1 jgs 150
2 ksteube 1312 /* $Id$ */
3    
4     /*******************************************************
5     *
6     * Copyright 2003-2007 by ACceSS MNRF
7     * Copyright 2007 by University of Queensland
8     *
9     * http://esscc.uq.edu.au
10     * Primary Business: Queensland, Australia
11     * Licensed under the Open Software License version 3.0
12     * http://www.opensource.org/licenses/osl-3.0.php
13     *
14     *******************************************************/
15    
16 jgs 82 /**************************************************************/
17     /* */
18     /* Finley: ElementFile */
19     /* */
20     /* returns the maximum and minimum node reference number of nodes describing the elements:; */
21     /* */
22     /* */
23     /**************************************************************/
24    
25     #include "ElementFile.h"
26     #include "Util.h"
27    
28     /**************************************************************/
29    
30 jgs 123 void Finley_ElementFile_setNodeRange(index_t* min_id,index_t* max_id,Finley_ElementFile* in) {
31 jgs 82 if (in!=NULL) {
32     *min_id=Finley_Util_getMinInt(in->ReferenceElement->Type->numNodes,in->numElements,in->Nodes);
33     *max_id=Finley_Util_getMaxInt(in->ReferenceElement->Type->numNodes,in->numElements,in->Nodes);
34     } else {
35 jgs 123 *min_id=INDEX_T_MAX;
36     *max_id=-INDEX_T_MAX;
37 jgs 82 }
38     }

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26