Hi - >Hello all, > > >In which module is domain defined? (I want the filename).. >
This gets into internal-to-the-implementation stuff that you shouldn't rely on (or, if you do, expect to have to revisit your code when it changes). record _domain - modules/internal/ChapelArray.chpl class BaseDom - modules//internal/ChapelDistribution.chpl class DefaultRectangularDom - modules//internal/DefaultRectangular.chpl Arrays, domains, and distributions are implemented with a record-wrapped class. The record manages the memory of the array and contains a pointer to the class instance. Many operations are implemented as overloaded methods on the class instance - in this case BaseDom is the root of the class hierarchy and DefaultRectangularDom is a common specific instance. (But it's easy to get other instances using dmapped, associative, sparse, etc). Cheers, -michael ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Chapel-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/chapel-developers
