Feature/add python bindings
- Apr 04, 2020
-
-
Andreas Dedner authored
-
Andreas Dedner authored
-
- Apr 03, 2020
-
-
Andreas Dedner authored
-
- Apr 02, 2020
-
-
Andreas Dedner authored
-
Andreas Dedner authored
-
-
corresponding libraries should be searched for also.
-
Andreas Dedner authored
-
Andreas Dedner authored
-
Andreas Dedner authored
add numpy, mpi4py to required packages remove some python 2 related code and fixed up some other issues pointed out by Timo deprecated old compatibility file - move Python 3 code to dune.common.utility
-
Python bindings, default is OFF. [feature][CI] enable Python bindings. make sure DUNE_ENABLE_PYTHPMBINDINGS is set to true in dune-py
-
Andreas Dedner authored
-
Andreas Dedner authored
-
Andreas Dedner authored
FieldVector/Matrix classes with low dimension add all flags to pybind11 modules
-
Andreas Dedner authored
move bin files and cmake modules from dune-python add sphinx support from dune-python
-
- Mar 27, 2020
-
-
Andreas Dedner authored
-
Andreas Dedner authored
-
Andreas Dedner authored
-
Andreas Dedner authored
-
Andreas Dedner authored
-
Andreas Dedner authored
-
Andreas Dedner authored
-
Andreas Dedner authored
-
Andreas Dedner authored
-
Andreas Dedner authored
-
Andreas Dedner authored
-
Andreas Dedner authored
-
- Mar 24, 2020
-
-
Andreas Dedner authored
-
Andreas Dedner authored
-
- Mar 23, 2020
-
-
Robert K authored
-
Andreas Dedner authored
-
Andreas Dedner authored
-
Andreas Dedner authored
-
Andreas Dedner authored
-
Andreas Dedner authored
-
Andreas Dedner authored
-
Andreas Dedner authored
-
Andreas Dedner authored
-
- Mar 22, 2020
-
-
Andreas Dedner authored
-
- Mar 20, 2020
-
-
Andreas Dedner authored
-
Andreas Dedner authored
-
Andreas Dedner authored
-
Andreas Dedner authored
-
Andreas Dedner authored
-
- Mar 19, 2020
-
-
Andreas Dedner authored
move remove issue with circular dependency in dune-py
-
Andreas Dedner authored
move remove issue with circular dependency in dune-py
-
Robert K authored
-
- Mar 18, 2020
-
-
Andreas Dedner authored
-
- Mar 17, 2020
-
-
Andreas Dedner authored
Merge branch 'bugfix/fixwarnings' of ssh://gitlab.dune-project.org:22022/staging/dune-python into bugfix/fixwarnings
-
Andreas Dedner authored
Merge branch 'bugfix/fixwarnings' of ssh://gitlab.dune-project.org:22022/staging/dune-python into bugfix/fixwarnings
-
Andreas Dedner authored
-
Andreas Dedner authored
-
Andreas Dedner authored
-
Andreas Dedner authored
-
- Mar 13, 2020
-
-
Andreas Dedner authored
-
- Mar 12, 2020
-
-
Andreas Dedner authored
-
- Mar 09, 2020
-
-
Andreas Dedner authored
-
Andreas Dedner authored
change dune.module to 2.8-git bug fix
-
Andreas Dedner authored
(up until now the evaluator was passed in) improve test a bit - also see if a reference to a FV and an existing GF can be used improve the implementation of the gridFunction Also remove some deprecated functionality remove some codes that not needed anymore dune-function.py -> dune-function.notworking (needs to be adapted to new dune-functions interface) also made some tests work with newer API some bug fixes with correct C++ type export for grid functions from C++ lambda improve handling of grid functions minor fixes some more minor improvements (make it easy to use io.StringIO also with algorithm) export a template argument [bugfix][numydatahandle] fix forward declaration of MCMGMapper. improve usage of grid function where user can provide a lambda of the form [x=arg0,y=arg1](e,x) {...}; instead of auto f(x,y) { return [x,y](e,x) {...}; } improve determining the dimension of the return value of grid functions and make sure that fieldvectors of the right side are registered
-
Andreas Dedner authored
(up until now the evaluator was passed in) improve test a bit - also see if a reference to a FV and an existing GF can be used improve the implementation of the gridFunction Also remove some deprecated functionality remove some codes that not needed anymore dune-function.py -> dune-function.notworking (needs to be adapted to new dune-functions interface) also made some tests work with newer API some bug fixes with correct C++ type export for grid functions from C++ lambda improve handling of grid functions minor fixes some more minor improvements (make it easy to use io.StringIO also with algorithm) export a template argument [bugfix][numydatahandle] fix forward declaration of MCMGMapper. improve usage of grid function where user can provide a lambda of the form [x=arg0,y=arg1](e,x) {...}; instead of auto f(x,y) { return [x,y](e,x) {...}; } improve determining the dimension of the return value of grid functions and make sure that fieldvectors of the right side are registered
-
Andreas Dedner authored
(up until now the evaluator was passed in) improve test a bit - also see if a reference to a FV and an existing GF can be used improve the implementation of the gridFunction Also remove some deprecated functionality remove some codes that not needed anymore dune-function.py -> dune-function.notworking (needs to be adapted to new dune-functions interface) also made some tests work with newer API some bug fixes with correct C++ type export for grid functions from C++ lambda improve handling of grid functions minor fixes some more minor improvements (make it easy to use io.StringIO also with algorithm) export a template argument [bugfix][numydatahandle] fix forward declaration of MCMGMapper. improve usage of grid function where user can provide a lambda of the form [x=arg0,y=arg1](e,x) {...}; instead of auto f(x,y) { return [x,y](e,x) {...}; } improve determining the dimension of the return value of grid functions and make sure that fieldvectors of the right side are registered
-
Andreas Dedner authored
(up until now the evaluator was passed in) improve test a bit - also see if a reference to a FV and an existing GF can be used improve the implementation of the gridFunction Also remove some deprecated functionality remove some codes that not needed anymore dune-function.py -> dune-function.notworking (needs to be adapted to new dune-functions interface) also made some tests work with newer API some bug fixes with correct C++ type export for grid functions from C++ lambda improve handling of grid functions minor fixes some more minor improvements (make it easy to use io.StringIO also with algorithm) export a template argument [bugfix][numydatahandle] fix forward declaration of MCMGMapper. improve usage of grid function where user can provide a lambda of the form [x=arg0,y=arg1](e,x) {...}; instead of auto f(x,y) { return [x,y](e,x) {...}; } improve determining the dimension of the return value of grid functions and make sure that fieldvectors of the right side are registered
-
Andreas Dedner authored
-
- Feb 16, 2020
-
-
Andreas Dedner authored
This makes it possible to import "statefull" C++ objects to Python. At the moment only the constructor is available on the Python side so the object can only be used as argument for another C++ function/method. Exporting methods will be made available as well in a future version.
-
- Dec 16, 2019
-
-
Andreas Dedner authored
Argument in `baseClasses` and can be a list. The classes will be exported within the module without any methods so that downcasting works
-
- Dec 15, 2019
-
-
Robert K authored
-
- Nov 23, 2019
-
-
Andreas Dedner authored
-
Andreas Dedner authored
-
Andreas Dedner authored
-
- Oct 01, 2019
-
-
Andreas Dedner authored
Merge branch 'feature/dune-python-add_cache_lock' into 'master' ref:staging/dune-python Moved source branch from [!122] See merge request [staging/dune-python!131] [!122]: gitlab.dune-project.org/NoneNone/merge_requests/122 [staging/dune-python!131]: gitlab.dune-project.org/staging/dune-python/merge_requests/131
-
- Sep 24, 2019
-
-
Andreas Dedner authored
point out how to use the load function with a header file which is part of the calling module
-
- Sep 20, 2019
-
-
Andreas Dedner authored
-
Andreas Dedner authored
simultaniously
-
Nils-Arne Dreier authored
-
Andreas Dedner authored
-
- Sep 15, 2019
-
-
Andreas Dedner authored
Can be used directly in a scipt by calling for example dune.generator.setFlags("-g") or dune.generator.unsetFlags() to get the flag used during configure and dune.generator.setNoDependencyCheck() and dune.generator.setDependencyCheck() before/after a module is compile, e.g., calling dune.grid.yaspGrid(...) added some simpler methods to use for recompilation/setting CXXFlags and add some logger output added an option to add additional flags to the default cxxflags (function dune.generator.addToFlags) remoove trailing whitespaces from CXXFlags minor fix
-
Andreas Dedner authored
Can be used directly in a scipt by calling for example dune.generator.setFlags("-g") or dune.generator.unsetFlags() to get the flag used during configure and dune.generator.setNoDependencyCheck() and dune.generator.setDependencyCheck() before/after a module is compile, e.g., calling dune.grid.yaspGrid(...) added some simpler methods to use for recompilation/setting CXXFlags and add some logger output added an option to add additional flags to the default cxxflags (function dune.generator.addToFlags) remoove trailing whitespaces from CXXFlags minor fix
-
- May 14, 2019
-
-
Andreas Dedner authored
Also: - sort and make the header files unique in the generated cc files - this fixs avoid long header lists - added better subfigure treatment to plot command - fixed a few warning
-
Andreas Dedner authored
Also: - sort and make the header files unique in the generated cc files - this fixs avoid long header lists - added better subfigure treatment to plot command - fixed a few warning
-
- Mar 11, 2019
-
-
Andreas Dedner authored
parts [mainIncludeList, additionalIncludeList] both are added to the generated code but only the first is added to the _include property of the generated python class. Usage: one can put the code for exporting the python class into the second list so that other objects don't pick those up in their dependency list
-
- Feb 26, 2019
-
-
Andreas Dedner authored
-
- Feb 25, 2019
-
-
Andreas Dedner authored
-
Andreas Dedner authored
-
- Oct 02, 2018
-
-
Andreas Dedner authored
-
- Oct 01, 2018
-
-
Andreas Dedner authored
- only compile levelgridview on demand - so hierarchic grid only contains leafgridview - for a gridview only compile indexset and mapper on demand
-
- Sep 14, 2018
-
-
Andreas Dedner authored
--builddir parameter and correctly use environment variable
-
- Sep 09, 2018
-
-
Timo Koch authored
Silences gcc-8 warning when catching polymorphic types by value.
-
- Jul 27, 2018
-
-
Andreas Dedner authored
the 'DuneTyoe' is declared Also a minor bug fix concerning the order in which the cc source and CMakeLists entry to writen - avoids a problem when the str(...) method fails
-
- Jul 16, 2018
-
-
Andreas Dedner authored
-
- Jul 08, 2018
-
-
Andreas Dedner authored
dunecontrol
-
- Jul 05, 2018
-
-
Martin Nolte authored
In Python 3.6 we observe memory faults at program termination. These result from the static variables caching the Python object wrapping the type registry: Upon termination, the type registry seems to be destroyed even if references to it remain. Unfortunately, it is not clear whether this is a problem within Pybind11. Patching to the latest bugfix release did not help. For now, we implement the simplest way around the problem: Do not cache the type registry, but refetch the pointer each time the type registry is used. While this has a negative impact on performance, it should be negligible to subsequent CMake calls.
-
- Jul 03, 2018
-
-
Martin Nolte authored
-
Martin Nolte authored
-
- Jun 29, 2018
-
-
Andreas Dedner authored
and added the option to provide user defined preprocessore defines to the generated code
-
- Jun 09, 2018
-
-
Andreas Dedner authored
-
Andreas Dedner authored
small bug fix in setup-dunepy script
-
- Jun 07, 2018
-
-
Andreas Dedner authored
-