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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4154 - (hide annotations)
Tue Jan 22 09:30:23 2013 UTC (6 years, 3 months ago) by jfenwick
Original Path: trunk/dudley/src/Mesh_tagmaps.c
File MIME type: text/plain
File size: 1289 byte(s)
Round 1 of copyright fixes
1 gross 1044
2 jfenwick 3981 /*****************************************************************************
3 ksteube 1811 *
4 jfenwick 4154 * Copyright (c) 2003-2013 by University of Queensland
5 jfenwick 3981 * http://www.uq.edu.au
6 ksteube 1811 *
7     * Primary Business: Queensland, Australia
8     * Licensed under the Open Software License version 3.0
9     * http://www.opensource.org/licenses/osl-3.0.php
10     *
11 jfenwick 3981 * Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12     * Development since 2012 by School of Earth Sciences
13     *
14     *****************************************************************************/
15 gross 1044
16 jfenwick 3981 /************************************************************************************/
17 gross 1044
18 jfenwick 3086 /* Dudley: Mesh tagmaps: provides access to the mesh tagmap */
19 gross 1044
20 jfenwick 3981 /************************************************************************************/
21 gross 1044
22     #include "Mesh.h"
23    
24 jfenwick 3981 /************************************************************************************/
25 gross 1044
26 jfenwick 3224 void Dudley_Mesh_addTagMap(Dudley_Mesh * mesh_p, const char *name, index_t tag_key)
27 gross 1044 {
28 jfenwick 3224 Dudley_TagMap_insert(&(mesh_p->TagMap), name, tag_key);
29 gross 1044 }
30 jfenwick 3224
31     index_t Dudley_Mesh_getTag(Dudley_Mesh * mesh_p, const char *name)
32     {
33     return Dudley_TagMap_getTag(mesh_p->TagMap, name);
34 gross 1044 }
35 jfenwick 3224
36     bool_t Dudley_Mesh_isValidTagName(Dudley_Mesh * mesh_p, const char *name)
37     {
38     return Dudley_TagMap_isValidTagName(mesh_p->TagMap, name);
39 gross 1044 }

  ViewVC Help
Powered by ViewVC 1.1.26