- Mar 17, 2017
-
-
Martin Nolte authored
This module simply imports everything from cPickle or pickle, depending on the Python version.
-
- Mar 10, 2017
-
-
Martin Nolte authored
-
- Feb 27, 2017
-
-
Martin Nolte authored
-
- Feb 23, 2017
-
-
Andreas Dedner authored
included for this function
-
- Feb 15, 2017
-
-
Andreas Dedner authored
-
- Feb 06, 2017
-
-
Martin Nolte authored
-
- Nov 09, 2016
-
-
Andreas Dedner authored
notebook execution). Also improve error handling in ConfigurationTest
-
- Oct 12, 2016
-
-
Martin Nolte authored
For Python 2.7, __package__ seems to be None, while __name__ is the fully qualified module name (e.g., dune.common.module). This is also sufficient to distinguish whether module.py was loaded from the dune package or not.
-
- Oct 11, 2016
-
-
Andreas Dedner authored
-
- Oct 10, 2016
-
-
Martin Nolte authored
-
- Oct 04, 2016
-
-
Martin Nolte authored
-
- Sep 30, 2016
-
-
Martin Nolte authored
Previously, there might have been several matches of identifier in config.h, though only one of them was a definition. This caused a false positive.
-
Andreas Dedner authored
-
Andreas Dedner authored
-
Andreas Dedner authored
-
Andreas Dedner authored
preprocessor tests
-
Andreas Dedner authored
of a HAVE_FOO in config.h can be tested for. A possible usage is shown in spgrid/_grid.py Other checks can be added in a similar manner
-
- Sep 29, 2016
-
-
Martin Nolte authored
-
- Sep 28, 2016
-
-
Martin Nolte authored
-
Martin Nolte authored
-
- Sep 27, 2016
-
-
Martin Nolte authored
-
Martin Nolte authored
-
- Sep 26, 2016
-
-
Martin Nolte authored
-
Martin Nolte authored
Regain the full potential of the old create mechanism: import dune.create as create grid = create.grid("OneD", ...) dune.create automatically gathers all creatable objects from all DUNE modules declaring their 'python-modules' in dune.module. Such a Python subpackage has to export a module _create.py containing a dictionary called 'registry'. This dictionary maps the type of creatable objects to another dictionary, which in turn maps a string to the actual creation function. In case of dune.grid, this is registry = {} registry["grid"] = { "Alberta": albertaGrid, # ... }
-
Martin Nolte authored
-
Martin Nolte authored
-
Martin Nolte authored
-
Martin Nolte authored
-