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

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

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

revision 123 by jgs, Fri Jul 8 04:08:13 2005 UTC revision 150 by jgs, Thu Sep 15 03:44:45 2005 UTC
# Line 1  Line 1 
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: Mesh */  /*   Finley: Mesh */
18    
19  /**************************************************************/  /**************************************************************/
20    
21  /*   Copyrights by ACcESS Australia 2003,04 */  /*  Author: gross@access.edu.au */
22  /*   Author: gross@access.edu.au */  /*  Version: $Id$ */
 /*   Version: $Id$ */  
23    
24  /**************************************************************/  /**************************************************************/
25    
 #include "Finley.h"  
26  #include "Mesh.h"  #include "Mesh.h"
27    
28  /**************************************************************/  /**************************************************************/
# Line 52  Finley_Mesh* Finley_Mesh_alloc(char* nam Line 64  Finley_Mesh* Finley_Mesh_alloc(char* nam
64    /*   allocate node table: */    /*   allocate node table: */
65        
66    out->Nodes=Finley_NodeFile_alloc(numDim);    out->Nodes=Finley_NodeFile_alloc(numDim);
67    if (Finley_ErrorCode!=NO_ERROR) {    if (! Finley_noError()) {
68        Finley_Mesh_dealloc(out);        Finley_Mesh_dealloc(out);
69        return NULL;        return NULL;
70    }    }
# Line 91  void Finley_Mesh_dealloc(Finley_Mesh* in Line 103  void Finley_Mesh_dealloc(Finley_Mesh* in
103         Finley_ElementFile_dealloc(in->FaceElements);         Finley_ElementFile_dealloc(in->FaceElements);
104         Finley_ElementFile_dealloc(in->ContactElements);         Finley_ElementFile_dealloc(in->ContactElements);
105         Finley_ElementFile_dealloc(in->Points);         Finley_ElementFile_dealloc(in->Points);
106         Finley_SystemMatrixPattern_dealloc(in->FullFullPattern);         Paso_SystemMatrixPattern_dealloc(in->FullFullPattern);
107         Finley_SystemMatrixPattern_dealloc(in->FullReducedPattern);         Paso_SystemMatrixPattern_dealloc(in->FullReducedPattern);
108         Finley_SystemMatrixPattern_dealloc(in->ReducedFullPattern);         Paso_SystemMatrixPattern_dealloc(in->ReducedFullPattern);
109         Finley_SystemMatrixPattern_dealloc(in->ReducedReducedPattern);         Paso_SystemMatrixPattern_dealloc(in->ReducedReducedPattern);
110         MEMFREE(in);               MEMFREE(in);      
111       }       }
112    }    }
# Line 131  dim_t Finley_Mesh_getReducedNumDegreesOf Line 143  dim_t Finley_Mesh_getReducedNumDegreesOf
143  }  }
144  /*  /*
145  * $Log$  * $Log$
146    * Revision 1.6  2005/09/15 03:44:22  jgs
147    * Merge of development branch dev-02 back to main trunk on 2005-09-15
148    *
149    * Revision 1.5.2.1  2005/09/07 06:26:19  gross
150    * the solver from finley are put into the standalone package paso now
151    *
152  * Revision 1.5  2005/07/08 04:07:51  jgs  * Revision 1.5  2005/07/08 04:07:51  jgs
153  * Merge of development branch back to main trunk on 2005-07-08  * Merge of development branch back to main trunk on 2005-07-08
154  *  *

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

  ViewVC Help
Powered by ViewVC 1.1.26