pystencils issueshttps://i10git.cs.fau.de/pycodegen/pystencils/-/issues2022-06-29T09:47:56+02:00https://i10git.cs.fau.de/pycodegen/pystencils/-/issues/52Add possiblity to create ".pvd"-files in vtk-writer2022-06-29T09:47:56+02:00Christoph SchwarzmeierAdd possiblity to create ".pvd"-files in vtk-writerCurrently, the files that are written in pystencil's vtk-writer are stored as _vtkImageData_ (`.vti`) only. It would be great if the vtk-writer was able to create a file in _ParaView Data format_ (`.pvd`) which contains the path to each ...Currently, the files that are written in pystencil's vtk-writer are stored as _vtkImageData_ (`.vti`) only. It would be great if the vtk-writer was able to create a file in _ParaView Data format_ (`.pvd`) which contains the path to each `.vti`-file and the (LBM) time step at which the file was written.
In ParaView, "time" would then actually represent the (LBM) time step instead of being equal to the index, i.e., number of the loaded ".vti"-file.Release 1.1Markus HolzerMarkus Holzerhttps://i10git.cs.fau.de/pycodegen/pystencils/-/issues/53Show Assembly Instructions2022-06-29T09:47:44+02:00Markus HolzerShow Assembly InstructionsLike `ps.show_code` but to get the assembly instructions. Like #28 but without KernCraft.Like `ps.show_code` but to get the assembly instructions. Like #28 but without KernCraft.Release 1.1Markus HolzerMarkus Holzerhttps://i10git.cs.fau.de/pycodegen/pystencils/-/issues/55Support Reductions2024-03-15T14:29:57+01:00Markus HolzerSupport Reductionspystencils supports sympy Sum like this:
`sum = sp.Sum(sp.abc.k, (sp.abc.k, 1, 100))` will be printed as:
```c++
{
for (int64_t ctr_0 = 0; ctr_0 < _size_x_0; ctr_0 += 1)
{
_data_x[_stride_x_0*ctr_0] = [&]() {
doubl...pystencils supports sympy Sum like this:
`sum = sp.Sum(sp.abc.k, (sp.abc.k, 1, 100))` will be printed as:
```c++
{
for (int64_t ctr_0 = 0; ctr_0 < _size_x_0; ctr_0 += 1)
{
_data_x[_stride_x_0*ctr_0] = [&]() {
double sum = (double) 0;
for ( int k = 1.0; k <= 100.0; k += 1 ) {
sum += k;
}
return sum;
}();
}
}
```
This is C++ code and additionally, at the moment, it bypasses the type system a bit. Thus this should be reimplemented.Release 1.1