[MOAB-dev] Detecting file types

Jed Brown jed at 59A2.org
Thu Nov 26 05:36:20 CST 2009


On Wed, 25 Nov 2009 17:42:04 -0600, Steve Jackson <sjackson at cae.wisc.edu> wrote:
> Dagmc loads a file by calling MBInterface::load_file().  For several  
> reasons, dagmc wants to know what type of file is thus loaded, but  
> MBInterface does not provide an obvious way to find out.

Why specifically does it need to know?  This sort of problem is most
frequently a sign of putting logic in the wrong place, leading to
brittleness as you add/change implementations.

Jed


More information about the moab-dev mailing list