/[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 4257 - (show annotations)
Wed Feb 27 03:42:40 2013 UTC (6 years, 1 month ago) by jfenwick
Original Path: branches/doubleplusgood/dudley/src/Mesh_tagmaps.c
File MIME type: text/plain
File size: 1289 byte(s)
Some simple experiments for c++ Finley

1
2 /*****************************************************************************
3 *
4 * Copyright (c) 2003-2013 by University of Queensland
5 * http://www.uq.edu.au
6 *
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 * Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12 * Development since 2012 by School of Earth Sciences
13 *
14 *****************************************************************************/
15
16 /************************************************************************************/
17
18 /* Dudley: Mesh tagmaps: provides access to the mesh tagmap */
19
20 /************************************************************************************/
21
22 #include "Mesh.h"
23
24 /************************************************************************************/
25
26 void Dudley_Mesh_addTagMap(Dudley_Mesh * mesh_p, const char *name, index_t tag_key)
27 {
28 Dudley_TagMap_insert(&(mesh_p->TagMap), name, tag_key);
29 }
30
31 index_t Dudley_Mesh_getTag(Dudley_Mesh * mesh_p, const char *name)
32 {
33 return Dudley_TagMap_getTag(mesh_p->TagMap, name);
34 }
35
36 bool_t Dudley_Mesh_isValidTagName(Dudley_Mesh * mesh_p, const char *name)
37 {
38 return Dudley_TagMap_isValidTagName(mesh_p->TagMap, name);
39 }

  ViewVC Help
Powered by ViewVC 1.1.26