[MOAB-dev] WriteNCDF and others

Tim Tautges tautges at mcs.anl.gov
Thu Jun 2 13:51:12 CDT 2011



On 06/02/2011 01:44 PM, Rajeev Jain wrote:
> Hi,
>
> There is a function call in all the writers:
> mdbImpl->get_entities_by_type_and_tag(0, MBENTITYSET, &mMaterialSetTag,
> NULL, 1, this_range);
>
> This is not recursive by default, shouldn't it be set to recursive?
>
> Ex.
> Consider a .h5m file with
> ES 67 containing ES40 and tag MATERIAL_SET =1
> ES40 has hexes
>
> When converting this .h5m file to a .exo file MATERIAL_SET =1 is lost.
>

Passing 0 for the first set means you're asking for the whole database, and every set is always in the database.  Are 
you sure you're passing 0 as the set?  Maybe that works differently now with the code Jason just put in?

- tim

> Rajeev

-- 
================================================================
"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