waLBerla merge requestshttps://i10git.cs.fau.de/walberla/walberla/-/merge_requests2023-12-13T09:56:16+01:00https://i10git.cs.fau.de/walberla/walberla/-/merge_requests/642Update additional_data_handler.py2023-12-13T09:56:16+01:00Markus HolzerUpdate additional_data_handler.pyCustom code nodes are now collected in lbmpy in a single file: https://i10git.cs.fau.de/pycodegen/lbmpy/-/blob/master/lbmpy/custom_code_nodes.py
This MR makes all lbmpy version compatible againCustom code nodes are now collected in lbmpy in a single file: https://i10git.cs.fau.de/pycodegen/lbmpy/-/blob/master/lbmpy/custom_code_nodes.py
This MR makes all lbmpy version compatible againMarkus HolzerMarkus Holzerhttps://i10git.cs.fau.de/walberla/walberla/-/merge_requests/576Generated LBM backend2023-05-22T13:04:26+02:00Markus HolzerGenerated LBM backendThis MR aims to add a new structure to waLBerla to fully enable the Code Generation for LBM. This should first live beside src/lbm under src/lbm_generated to enable code migration for existing codes.
In this first MR, the general structu...This MR aims to add a new structure to waLBerla to fully enable the Code Generation for LBM. This should first live beside src/lbm under src/lbm_generated to enable code migration for existing codes.
In this first MR, the general structure along with introductory tutorials should be provided.Markus HolzerMarkus Holzerhttps://i10git.cs.fau.de/walberla/walberla/-/merge_requests/571Update pystencils version in CI2022-11-16T13:09:07+01:00Markus HolzerUpdate pystencils version in CIMarkus HolzerMarkus Holzerhttps://i10git.cs.fau.de/walberla/walberla/-/merge_requests/547Adaption for CodeGen pipeline2022-05-24T16:15:21+02:00Markus HolzerAdaption for CodeGen pipelineAdapts the code generation backend to pystencils/lbmpy version 1.0
Solves !498
Solves !494
Fixes #167
Fixes #165
Fixes #166Adapts the code generation backend to pystencils/lbmpy version 1.0
Solves !498
Solves !494
Fixes #167
Fixes #165
Fixes #166Markus HolzerMarkus Holzerhttps://i10git.cs.fau.de/walberla/walberla/-/merge_requests/530Update generated lattice model2022-03-24T17:07:19+01:00Christoph SchwarzmeierUpdate generated lattice modelThis MR fixes a bug for generated sweeps that are only working on 2D cell intervals, and adds the function `StreamInCellInterval` to the template for generated lattice models.This MR fixes a bug for generated sweeps that are only working on 2D cell intervals, and adds the function `StreamInCellInterval` to the template for generated lattice models.Markus HolzerMarkus Holzerhttps://i10git.cs.fau.de/walberla/walberla/-/merge_requests/497Adapt to get_headers function from pystencil2021-11-16T14:39:44+01:00Markus HolzerAdapt to get_headers function from pystencilThe `get_headers` function from pystencils was defined to return a set. However, it returned a list. This was fixed with pystencils!272. Thus for later releases a small adaption needs to be made in waLBerla.The `get_headers` function from pystencils was defined to return a set. However, it returned a list. This was fixed with pystencils!272. Thus for later releases a small adaption needs to be made in waLBerla.Markus HolzerMarkus Holzerhttps://i10git.cs.fau.de/walberla/walberla/-/merge_requests/489Fix: Fluctuating LBM2021-10-28T20:56:31+02:00Markus HolzerFix: Fluctuating LBMIn the fluctuating LBM test, a custom relaxation rate setter function is used. The usage for such functions was updated in lbmpy!100.In the fluctuating LBM test, a custom relaxation rate setter function is used. The usage for such functions was updated in lbmpy!100.Markus HolzerMarkus Holzerhttps://i10git.cs.fau.de/walberla/walberla/-/merge_requests/481Update new lbmpy version2021-09-30T11:24:39+02:00Markus HolzerUpdate new lbmpy versionThis MR adapts the waLBerla Codegen backend for pystencils/lbmpy 0.4.0.This MR adapts the waLBerla Codegen backend for pystencils/lbmpy 0.4.0.Markus HolzerMarkus Holzerhttps://i10git.cs.fau.de/walberla/walberla/-/merge_requests/475Enable single precision for benchmark cases2021-08-18T22:07:52+02:00Markus HolzerEnable single precision for benchmark casesThis MR should ensure that correct single precision kernels are created for the Benchmarks cases Flow Around sphere and UniformGridGPU.
Fixes #154This MR should ensure that correct single precision kernels are created for the Benchmarks cases Flow Around sphere and UniformGridGPU.
Fixes #154Markus HolzerMarkus Holzerhttps://i10git.cs.fau.de/walberla/walberla/-/merge_requests/464Reduce Packinfo Generation2021-07-13T11:17:19+02:00Helen SchottenhammlReduce Packinfo GenerationUntil now, the pystencils coupling only allows for standard push communication, i.e. ghost cells of the receiver are overwritten by the interior cells of the sender.
This MR introduces the possibility to create also reduction communicati...Until now, the pystencils coupling only allows for standard push communication, i.e. ghost cells of the receiver are overwritten by the interior cells of the sender.
This MR introduces the possibility to create also reduction communication with binary operators from Python's operator package. In addition, pull-type communication is enabled.Helen SchottenhammlHelen Schottenhammlhttps://i10git.cs.fau.de/walberla/walberla/-/merge_requests/442FIX: SP/DP conversion warnings2021-04-12T10:09:32+02:00Markus HolzerFIX: SP/DP conversion warningsIn the lattice model generation, the function `get_symmetric_part` is applied after insert types. This function introduces `sp.Rational(1, 2)` which is not types then. Thus when generating the code for SP ugly conversion warnings appear....In the lattice model generation, the function `get_symmetric_part` is applied after insert types. This function introduces `sp.Rational(1, 2)` which is not types then. Thus when generating the code for SP ugly conversion warnings appear.
Fixes #144Markus HolzerMarkus Holzerhttps://i10git.cs.fau.de/walberla/walberla/-/merge_requests/390Generated outflow bc2021-03-29T18:39:58+02:00Markus HolzerGenerated outflow bcThe Outflow Boundary condition from https://i10git.cs.fau.de/pycodegen/lbmpy/-/merge_requests/45 contains additional data which needs a proper initialisation.
Additionally, it should be possible to provide UBB boundaries with a paraboli...The Outflow Boundary condition from https://i10git.cs.fau.de/pycodegen/lbmpy/-/merge_requests/45 contains additional data which needs a proper initialisation.
Additionally, it should be possible to provide UBB boundaries with a parabolic profile.Christoph SchwarzmeierChristoph Schwarzmeierhttps://i10git.cs.fau.de/walberla/walberla/-/merge_requests/258flattened shallow copy of field2021-01-18T10:09:21+01:00Michael Kuronmkuron@icp.uni-stuttgart.deflattened shallow copy of fieldAs discussed on Mattermost with @bauer a few days ago, the memory layout of `Field<Vector3<real_t>, 1>` is the same as that of `Field<real_t,3>` and it is thus possible to use them interchangeably by converting the metadata appropriately...As discussed on Mattermost with @bauer a few days ago, the memory layout of `Field<Vector3<real_t>, 1>` is the same as that of `Field<real_t,3>` and it is thus possible to use them interchangeably by converting the metadata appropriately.
One minor thing I don't like about my current implementation: things like `VectorTrait<std::string>` don't produce an error anymore. You can't use it because it doesn't have the setter and getter and its `OutputType` is `void`, but still it doesn't feel right. My attempts to conditionally disable `Field::flattenedShallowCopy` failed, so that changing `VectorTrait` was my workaround.https://i10git.cs.fau.de/walberla/walberla/-/merge_requests/358Resolve "Error message wrong/misleading"2020-10-30T21:21:29+01:00Dominik Thoennesdominik.thoennes@fau.deResolve "Error message wrong/misleading"Closes #123Closes #1235.1https://i10git.cs.fau.de/walberla/walberla/-/merge_requests/260add open merge requests from pystencils_walberla2020-07-06T13:28:09+02:00Dominik Thoennesdominik.thoennes@fau.deadd open merge requests from pystencils_walberlapystencils_walberla was moved into the main walberla repo but https://i10git.cs.fau.de/pycodegen/pystencils_walberla/-/merge_requests/5 was still open
this merges the missing merge requestspystencils_walberla was moved into the main walberla repo but https://i10git.cs.fau.de/pycodegen/pystencils_walberla/-/merge_requests/5 was still open
this merges the missing merge requestsDominik Thoennesdominik.thoennes@fau.deDominik Thoennesdominik.thoennes@fau.dehttps://i10git.cs.fau.de/walberla/walberla/-/merge_requests/298Resolve "Bug in mesa-pd kernel generation"2020-07-02T14:28:50+02:00Sebastian EiblResolve "Bug in mesa-pd kernel generation"Closes #122
274e09cd introduced a skip of the generation if the target file is not
present. While this might hint a wrong target directory it also prevents the
generation of new files. Since the provided mesa_pd.py script asks to
...Closes #122
274e09cd introduced a skip of the generation if the target file is not
present. While this might hint a wrong target directory it also prevents the
generation of new files. Since the provided mesa_pd.py script asks to
confirm the target directory anyway, this skip is removed.Christoph RettingerChristoph Rettingerhttps://i10git.cs.fau.de/walberla/walberla/-/merge_requests/294Allowed different field layouts in LBM codegen2020-06-22T13:10:44+02:00Christoph RettingerAllowed different field layouts in LBM codegenFixes https://i10git.cs.fau.de/walberla/walberla/-/issues/119Fixes https://i10git.cs.fau.de/walberla/walberla/-/issues/119Michael Kuronmkuron@icp.uni-stuttgart.deMichael Kuronmkuron@icp.uni-stuttgart.dehttps://i10git.cs.fau.de/walberla/walberla/-/merge_requests/261pystencils_walberla: use type-safe getData instead of uncheckedFastGetData2020-04-22T20:26:14+02:00Michael Kuronmkuron@icp.uni-stuttgart.depystencils_walberla: use type-safe getData instead of uncheckedFastGetDataFixes #110.
The performance impact in release mode is negligible and type-checking is generally quite useful. Thanks to !258, one can even use vector-valued fields in pystencils, which was unsupported before, but did not produce an erro...Fixes #110.
The performance impact in release mode is negligible and type-checking is generally quite useful. Thanks to !258, one can even use vector-valued fields in pystencils, which was unsupported before, but did not produce an error.
Replaces https://i10git.cs.fau.de/pycodegen/pystencils_walberla/-/merge_requests/8.https://i10git.cs.fau.de/walberla/walberla/-/merge_requests/262[API] merge integrators with/without shape2020-03-31T13:52:30+02:00Sebastian Eibl[API] merge integrators with/without shapeTo remove code duplication the distinction is now moved
into the generator. Default kernels are "with shape".To remove code duplication the distinction is now moved
into the generator. Default kernels are "with shape".