[MOAB-dev] Tag Heaers not installed?

Anthony Scopatz scopatz at gmail.com
Tue Aug 4 18:56:06 CDT 2015


Hello All,

The problem is that right now Tag is forward declared as either

typedef TagInfo* Tag; // or
typedef struct TagInfo* Tag;

However, the Core::tag_get_handle() member function takes a Tag& as one of
its output arguments.  To handle this - even in an opaque way - we need to
know the sizeof(TagInfo) so that we can malloc() enough space for it.

If there is another way to get the size of TagInfo or to get a pointer to a
new TagInfo instance through the public interface, please let us know!
Including this header file, though, also lets us have a more direct
interface to Tags themselves, which I argue is more pythonic.

Be Well
Anthony

On Tue, Aug 4, 2015 at 3:22 PM Vijay S. Mahadevan <vijay.m at gmail.com> wrote:

> Patrick,
>
> Almost all of the queries on a Tag can be directed through the
> Interface APIs. Is there something that you need from the Python layer
> that is not exposed through Interface ? What is the specific use case
> that requires access to TagInfo.hpp ?
>
> Vijay
>
> On Tue, Aug 4, 2015 at 2:53 PM, Timothy Tautges
> <timothy.tautges at cd-adapco.com> wrote:
> > Those details aren't meant to be visible across the API.
> >
> > On Aug 4, 2015 2:34 PM, "Patrick Shriwise" <shriwise at wisc.edu> wrote:
> >>
> >> Hi all,
> >>
> >> Anthony and I are down here at NCSA working on a python interface to
> some
> >> of MOAB's more basic functionality for use in yt. We're currently
> wrapping a
> >> bunch of the MOAB classes/functions but we're wondering why arent the
> >> TagInfo.hpp and related files aren't included in the install?
> >>
> >> Cheers,
> >>
> >> Patrick
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/moab-dev/attachments/20150804/f7ee4a4b/attachment.html>


More information about the moab-dev mailing list