[MOAB-dev] Should get_parent_meshsets and friends return MB_SUCCESS when passing in the root set?

Tim Tautges tautges at mcs.anl.gov
Thu Mar 17 20:03:22 CDT 2011


I suggest we return error for consistency.

- tim

On 03/17/2011 05:52 PM, James Porter wrote:
> Currently, functions like get_parent_meshsets simply return MB_SUCCESS
> when the root set it passed in. Should we return an error in these
> cases? We have to return an error for iMesh, but to fix this, I can
> either check in iMesh or check in MOAB. If there's no reason MOAB needs
> to be able to call these functions on the root set, I'll just put the
> checks in there for consistency.
>
> - 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