/[escript]/branches/arrayview_from_1695_trunk/finley/src/Mesh_relableElementNodes.c
ViewVC logotype

Contents of /branches/arrayview_from_1695_trunk/finley/src/Mesh_relableElementNodes.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1696 - (show annotations)
Mon Aug 11 03:33:40 2008 UTC (10 years, 10 months ago) by jfenwick
File MIME type: text/plain
File size: 1339 byte(s)
Branching to perform experiments on removing DataArrayView

1
2 /* $Id: Mesh_relableElementNodes.c 1306 2007-09-18 05:51:09Z ksteube $ */
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 /**************************************************************/
17
18 /* Finley: Mesh */
19
20 /* */
21 /* assigns new node reference numbers to elements in element file in. */
22 /* if k is the old node, the new node is newNode[k-offset]. */
23
24 /**************************************************************/
25
26 #include "Mesh.h"
27
28 /**************************************************************/
29
30 void Finley_Mesh_relableElementNodes(index_t* newNode,index_t offset,Finley_Mesh* in) {
31 Finley_ElementFile_relableNodes(newNode,offset,in->Elements);
32 Finley_ElementFile_relableNodes(newNode,offset,in->FaceElements);
33 Finley_ElementFile_relableNodes(newNode,offset,in->ContactElements);
34 Finley_ElementFile_relableNodes(newNode,offset,in->Points);
35 }

  ViewVC Help
Powered by ViewVC 1.1.26