/[escript]/trunk/finley/src/ElementFile_prepare.c
ViewVC logotype

Contents of /trunk/finley/src/ElementFile_prepare.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 964 - (show annotations)
Tue Feb 13 05:10:26 2007 UTC (12 years, 7 months ago) by gross
File MIME type: text/plain
File size: 2129 byte(s)
The set/getRefVal functions of Data objects have been removed (mainly to avoid later problems with MPI).
Moreover, a faster access to the reference id of samples has been introduced. I don't think that anybody will
profit form this at this stage but it will allow a faster dump of data objects.


1 /*
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
15 /* Finley: Mesh: prepares the mesh for further calculations */
16
17 /**************************************************************/
18
19 /* Author: gross@access.edu.au */
20 /* Vesrion: $Id$ */
21
22 /**************************************************************/
23
24 #include "ElementFile.h"
25
26 /**************************************************************/
27
28 void Finley_ElementFile_prepare(Finley_ElementFile** in,dim_t numNodes, index_t *degreeOfFreedom) {
29
30 /* rearrange elements: */
31 Finley_ElementFile_optimizeDistribution(in);
32
33 /* improve coloring */
34 Finley_ElementFile_improveColoring(*in,numNodes,degreeOfFreedom);
35 }

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26