- Apr 27, 2018
-
-
Martin Bauer authored
-
- Apr 18, 2018
-
-
Martin Bauer authored
- flags can be force when setting boundaries, this is helpful for: - setting up quantities (e.g. relaxation rate..) dependent on current flag configuration - bit operation fix when pickling: function has to have the same name as the python object
-
- Apr 13, 2018
-
-
Martin Bauer authored
- removed warnings - added flake8 as CI target
-
Martin Bauer authored
-
- Apr 12, 2018
-
-
Martin Bauer authored
-
- Apr 10, 2018
-
-
Martin Bauer authored
-
Fixed a bug in field.py
-
Martin Bauer authored
- test run again - notebooks not yet
-
Martin Bauer authored
-
Martin Bauer authored
- assignment collection - sympyextensions
-
Martin Bauer authored
- Previously sympy.Eq was used to represent assignments. However Eq represents equality not assignment. This means that sometimes sympy "simplified" an equation like a = a to True, -> replaced sp.Eq by pystencils.Assignment everywhere - renamed EquationCollection to AssignmentCollection
-
Martin Bauer authored
for fields without index dimensions the indices (0,) and () have been treated equivalently, but did not compare equal
-
- Mar 28, 2018
-
-
Martin Bauer authored
-
Martin Bauer authored
-
- Feb 10, 2018
-
-
Martin Bauer authored
-
- Feb 08, 2018
-
-
Martin Bauer authored
- step class for LB phasefield generic enough to work with 3-phase and N-phase models - cahn hilliard can either be solved by LBM or by finite differences - 3 phase model can be solved with rho phase or without
-
- Feb 06, 2018
-
-
Martin Bauer authored
- scaling interface width eta instead of surface tensions tau to correct interface profile & surface tensions
-
- Jan 31, 2018
-
-
Martin Bauer authored
-
- Jan 19, 2018
-
-
Concept: Generate code involving the (un)packing of fields (from)to linear (1D) arrays, i.e. (de)serialization of the field values for buffered communication. A linear index is generated for the buffer, by inferring the strides and variables of the loops over fields in the AST. In the CPU, this information is obtained through the makeLoopOverDomain function, in pystencils/transformations/transformations.py. On CUDA, the strides of the fields (excluding buffers) are combined with the indexing variables to infer the indexing of the buffer. What is supported: - code generation for both CPU and GPU - (un)packing of fields with all the memory layouts supported by pystencils - (un)packing slices of fields (from)into the buffer - (un)packing subsets of cell values from the fields (from)into the buffer Limitations: - assumes that only one buffer and one field are being operated within each kernel, however multiple equations involving the...
-
- Jan 11, 2018
-
-
Martin Bauer authored
because boundary handling does its own flag management
-
Martin Bauer authored
-
Martin Bauer authored
-
Martin Bauer authored
-
Martin Bauer authored
- single function to create kernel for specified target - data type creation from string - reuse numpy functionality - bugfixes in dot display
-
- Dec 11, 2017
-
-
Martin Bauer authored
-
- Oct 11, 2017
-
-
Jan Hönig authored
Added LLVM: CodePrinter and a compiler Updated data_types Added tests Added jupyter notebooks Fixed bugs Restructured transformation functions
-
- Oct 10, 2017
-
-
Martin Bauer authored
-
Martin Bauer authored
- renaming because of clashes with types.py from other packages
-
- Sep 16, 2017
-
-
Martin Bauer authored
-
- Aug 11, 2017
-
-
Martin Bauer authored
-
- Jul 26, 2017
-
-
Martin Bauer authored
-
- Jul 01, 2017
-
-
Martin Bauer authored
-
Martin Bauer authored
-
Martin Bauer authored
-
- Apr 21, 2017
-
-
Martin Bauer authored
-
- Apr 11, 2017
-
-
Martin Bauer authored
previously the value was taken from the cell next to the boundary cell (i.e. the inner cell)
-
- Mar 24, 2017
-
-
Martin Bauer authored
-
Martin Bauer authored
- abstraction layer for selecting CUDA block and grid sizes - line based (was implemented before) - block based (new, more flexible) - new conditional (if/else) ast node, which is necessary for indexing schemes (guarding if)
-
- Mar 14, 2017
-
-
Martin Bauer authored
- this extension is necessary for more generic boundary treatment - cells can now be structs, i.e. contain different data types - instead of having numeric index dimensions, one can use the index per cell to adress struct elements
-
- Mar 13, 2017
-
-
Martin Bauer authored
- use data type class consistently instead of strings (in TypedSymbol, Field and jit module) - new datatype class is based on numpy types with additional specifier information (const and restrict) - translation between data type class and other modules (numpy, ctypes)
-