1 |
|
2 |
/******************************************************* |
3 |
* |
4 |
* Copyright (c) 2003-2009 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 |
|
17 |
/* Finley: Mesh tagmaps: provides access to the mesh tagmap */ |
18 |
|
19 |
/**************************************************************/ |
20 |
|
21 |
#include "Mesh.h" |
22 |
|
23 |
/**************************************************************/ |
24 |
|
25 |
void Finley_Mesh_addTagMap(Finley_Mesh *mesh_p,const char* name, index_t tag_key) |
26 |
{ |
27 |
Finley_TagMap_insert(&(mesh_p->TagMap),name,tag_key); |
28 |
} |
29 |
index_t Finley_Mesh_getTag(Finley_Mesh *mesh_p,const char* name) { |
30 |
return Finley_TagMap_getTag(mesh_p->TagMap,name); |
31 |
} |
32 |
bool_t Finley_Mesh_isValidTagName(Finley_Mesh *mesh_p,const char* name) { |
33 |
return Finley_TagMap_isValidTagName(mesh_p->TagMap,name); |
34 |
} |