/[escript]/trunk/dudley/src/IndexList.cpp
ViewVC logotype

Diff of /trunk/dudley/src/IndexList.cpp

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

trunk/esys2/finley/src/finleyC/IndexList.c revision 123 by jgs, Fri Jul 8 04:08:13 2005 UTC trunk/finley/src/IndexList.c revision 971 by ksteube, Wed Feb 14 04:40:49 2007 UTC
# Line 1  Line 1 
1  /* $Id$ */  /*
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    
# Line 6  Line 16 
16    
17  /**************************************************************/  /**************************************************************/
18    
19  /* Copyrights by ACcESS Australia 2003,2004 */  /*  Author: gross@access.edu.au */
20  /* Author: gross@access.edu.au */  /*  Version: $Id$ */
21    
22  /**************************************************************/  /**************************************************************/
23    
 #include "Finley.h"  
 #include "ElementFile.h"  
 #include "System.h"  
24  #include "IndexList.h"  #include "IndexList.h"
25    
26  /**************************************************************/  /**************************************************************/
# Line 103  dim_t Finley_IndexList_count(Finley_Inde Line 110  dim_t Finley_IndexList_count(Finley_Inde
110  void Finley_IndexList_toArray(Finley_IndexList* in, index_t* array) {  void Finley_IndexList_toArray(Finley_IndexList* in, index_t* array) {
111    dim_t i;    dim_t i;
112    if (in!=NULL) {    if (in!=NULL) {
113      for (i=0;i<in->n;i++) array[i]=in->index[i]+INDEX_OFFSET;      for (i=0;i<in->n;i++) array[i]=in->index[i];
114      Finley_IndexList_toArray(in->extension,&(array[in->n]));      Finley_IndexList_toArray(in->extension,&(array[in->n]));
115    }    }
116  }  }
# Line 119  void Finley_IndexList_free(Finley_IndexL Line 126  void Finley_IndexList_free(Finley_IndexL
126    
127  /*  /*
128   * $Log$   * $Log$
129     * Revision 1.6  2005/09/15 03:44:22  jgs
130     * Merge of development branch dev-02 back to main trunk on 2005-09-15
131     *
132     * Revision 1.5.2.1  2005/09/07 06:26:18  gross
133     * the solver from finley are put into the standalone package paso now
134     *
135   * Revision 1.5  2005/07/08 04:07:51  jgs   * Revision 1.5  2005/07/08 04:07:51  jgs
136   * Merge of development branch back to main trunk on 2005-07-08   * Merge of development branch back to main trunk on 2005-07-08
137   *   *

Legend:
Removed from v.123  
changed lines
  Added in v.971

  ViewVC Help
Powered by ViewVC 1.1.26