[MOAB-dev] Retrieving all tags on a mesh

Tim Tautges tautges at mcs.anl.gov
Tue Sep 27 15:45:22 CDT 2011



On 09/27/2011 03:12 PM, James Porter wrote:
> On Mon, 2011-09-26 at 17:27 -0500, Hong-Jun Kim wrote:
>> If you can use Moab interface, I think you can use "Core::tag_get_tags" function.
>> In current iMesh interface, I think we need to modify the code for your purpose.
>
> In that case, I think it would be worthwhile to add this to
> iMesh_extensions. How do people feel about iMesh_getAllIfaceTags as the
> name? (iMesh_getAllTags would be preferred, but it's in use).
>

I'm fine with that.

> If this ever went into the official spec, I'd probably suggest that the
> names be like so:
>
>    iMesh_getAllTags: get all tags on any ent/set in the mesh
>    iMesh_getAllEntTags: get all tags on a given ent
>    iMesh_getAllEntSeTtags: get all tags on a given set
>

case is messed up in last one, but otherwise I'm ok with those names.

- tim

> - Jim
>
>>
>> ----- Original Message -----
>>> From: "James Porter"<jvporter at wisc.edu>
>>> To: moab-dev at mcs.anl.gov
>>> Sent: Monday, September 26, 2011 5:13:59 PM
>>> Subject: [MOAB-dev] Retrieving all tags on a mesh
>>> Is there a way to retrieve handles for *every* tag on a mesh?
>>> iMesh_getAllTags works for all tags on a specific entity (or set), but
>>> I'd like a list of all the tags on any entity/set, preferably without
>>> iterating over all of the elements in the mesh.
>>>
>>> - Jim
>
>
>

-- 
================================================================
"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: (608) 263-8485      1500 Engineering Dr.
            fax: (608) 263-4499      Madison, WI 53706



More information about the moab-dev mailing list