[MOAB-dev] mb_TAG_COUNT
Tim Tautges
tautges at mcs.anl.gov
Mon Jan 21 09:35:18 CST 2013
I've fixed the comment in Core.hpp. After some discussion, we un-deprecated the version of tag_get_handle that just
takes a string as input, for the very reasons you state.
- tim
On 01/07/2013 08:45 PM, Roman Putanowicz wrote:
> Dear All,
>
> In the documenation in Core.hpp I read about flag mb_TAG_COUNT.
> However except in Interface.hpp and Core.hpp comments, such symbol
> is nowhere defined.
>
> The source of the above question is this:
>
> I was going to upgrade my code to newest MOAB and found this
> function deprecated:
> Core::tag_get_handle (const char *tag_name, Tag &tag_handle)
>
> I haven't followed lately MOAB changes thus my question:
> How can I get tag handle without providing all tag details (that
> is data type and size)?
>
> I would imagine/expect that after I create a tag with all details
> regarding stored data (using appropriate tag_get_handle call)
> then I can get back tag handle using only tag name.
> How can I do that without using deprecated call to
> tag_get_handle (const char *tag_name, Tag &tag_handle) ?
>
> Are moab::Core users expected to store externally the mapping between
> tag names and tag handles ?
>
> I would be grateful for any hint or a reference if this issue was
> already discussed.
>
> Thank you in advance,
>
> Regards,
>
> Roman
>
--
================================================================
"You will keep in perfect peace him whose mind is
steadfast, because he trusts in you." Isaiah 26:3
Tim Tautges Argonne National Laboratory
(tautges at mcs.anl.gov) (telecommuting from UW-Madison)
phone (gvoice): (608) 354-1459 1500 Engineering Dr.
fax: (608) 263-4499 Madison, WI 53706
More information about the moab-dev
mailing list