Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
No results found
Show changes
Showing
with 4315 additions and 2257 deletions
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -5,10 +5,12 @@ API Reference ...@@ -5,10 +5,12 @@ API Reference
:maxdepth: 3 :maxdepth: 3
kernel_compile_and_call.rst kernel_compile_and_call.rst
enums.rst
simplifications.rst simplifications.rst
datahandling.rst datahandling.rst
configuration.rst configuration.rst
field.rst field.rst
stencil.rst
finite_differences.rst finite_differences.rst
plot.rst plot.rst
ast.rst ast.rst
************
Enumerations
************
.. automodule:: pystencils.enums
:members:
...@@ -8,9 +8,14 @@ Creating kernels ...@@ -8,9 +8,14 @@ Creating kernels
.. autofunction:: pystencils.create_kernel .. autofunction:: pystencils.create_kernel
.. autofunction:: pystencils.create_indexed_kernel .. autoclass:: pystencils.CreateKernelConfig
:members:
.. autofunction:: pystencils.create_staggered_kernel .. autofunction:: pystencils.kernelcreation.create_domain_kernel
.. autofunction:: pystencils.kernelcreation.create_indexed_kernel
.. autofunction:: pystencils.kernelcreation.create_staggered_kernel
Code printing Code printing
...@@ -22,11 +27,11 @@ Code printing ...@@ -22,11 +27,11 @@ Code printing
GPU Indexing GPU Indexing
------------- -------------
.. autoclass:: pystencils.gpucuda.AbstractIndexing .. autoclass:: pystencils.gpu.AbstractIndexing
:members: :members:
.. autoclass:: pystencils.gpucuda.BlockIndexing .. autoclass:: pystencils.gpu.BlockIndexing
:members: :members:
.. autoclass:: pystencils.gpucuda.LineIndexing .. autoclass:: pystencils.gpu.LineIndexing
:members: :members:
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
Plotting and Animation Plotting and Animation
********************** **********************
.. automodule:: pystencils.plot2d .. automodule:: pystencils.plot
:members: :members:
...@@ -10,13 +10,27 @@ AssignmentCollection ...@@ -10,13 +10,27 @@ AssignmentCollection
:members: :members:
SimplificationStrategy
======================
.. autoclass:: pystencils.simp.SimplificationStrategy
:members:
Simplifications Simplifications
=============== ===============
.. automodule:: pystencils.simp .. automodule:: pystencils.simp.simplifications
:members: :members:
Subexpression insertion
=======================
The subexpression insertions have the goal to insert subexpressions which will not reduce the number of FLOPs.
For example a constant value kept as subexpression will lead to a new variable in the code which will occupy
a register slot. On the other side a single variable could just be inserted in all assignments.
.. automodule:: pystencils.simp.subexpression_insertion
:members:
......