/[escript]/branches/doubleplusgood/dudley/src/Mesh_tagmaps.cpp
ViewVC logotype

Contents of /branches/doubleplusgood/dudley/src/Mesh_tagmaps.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3224 - (show annotations)
Wed Sep 29 05:19:37 2010 UTC (8 years, 6 months ago) by jfenwick
Original Path: branches/domexper/dudley/src/Mesh_tagmaps.c
File MIME type: text/plain
File size: 1104 byte(s)
indent -linux -nce -i4 -bl -bli0 -l120

1
2 /*******************************************************
3 *
4 * Copyright (c) 2003-2010 by University of Queensland
5 * Earth Systems Science Computational Center (ESSCC)
6 * http://www.uq.edu.au/esscc
7 *
8 * Primary Business: Queensland, Australia
9 * Licensed under the Open Software License version 3.0
10 * http://www.opensource.org/licenses/osl-3.0.php
11 *
12 *******************************************************/
13
14 /**************************************************************/
15
16 /* Dudley: Mesh tagmaps: provides access to the mesh tagmap */
17
18 /**************************************************************/
19
20 #include "Mesh.h"
21
22 /**************************************************************/
23
24 void Dudley_Mesh_addTagMap(Dudley_Mesh * mesh_p, const char *name, index_t tag_key)
25 {
26 Dudley_TagMap_insert(&(mesh_p->TagMap), name, tag_key);
27 }
28
29 index_t Dudley_Mesh_getTag(Dudley_Mesh * mesh_p, const char *name)
30 {
31 return Dudley_TagMap_getTag(mesh_p->TagMap, name);
32 }
33
34 bool_t Dudley_Mesh_isValidTagName(Dudley_Mesh * mesh_p, const char *name)
35 {
36 return Dudley_TagMap_isValidTagName(mesh_p->TagMap, name);
37 }

  ViewVC Help
Powered by ViewVC 1.1.26