Admin message

Attention: i10git will shutdown soon!

This i10git GitLab server was migrated to gitos.rrze.fau.de due to hardware issues with the current host. This affects all production repositories, including waLBerla, lbmpy, pystencils and HyTeG.

Login: Gitos supports DFN-AAI and eduGAIN. If your institution does not support either, please use our GitHub mirrors.

Onboarding: All repositories belonging to groups were migrated. To regain access, first log in to gitos.rrze.fau.de once to activate your account. Then email cs10-admin@fau.de with your old i10git and your new gitos.rrze username (the @) as shown on your respective user profiles. We will reassign your accordingly. Note: Repositories from former courses (e.g. advpt) were not migrated.

Personal repositories in individual user namespaces were not migrated. Please export these yourself before the old server is shut down.

Expected shutdown by the end of 2026. Until then, the old i10git server will still be reachable with all repositories archived (read only). However, due to the ongoing hardware issues, it may remain unreliable and will receive no further maintenance.

The parent group is archived. This project and its data are read-only.
Lambdas
Implement a simple `codegen.Lambda` code object that encapsulates a single pystencils expression, is annotated with its free symbols as parameters, can be printed out as C++ code, and evaluated on-the-fly. ## Use Cases There are several cases where we need to be able to both print out as code and/or evaluate singular backend AST expressions that accompany a kernel produced by the code generator: - The `GpuThreadsRange` holds up to three expressions describing the size of the GPU launch grid required by a kernel. These have to be evaluated by the JIT compiler within pystencils, and must be printed out when integrating the kernel into a C++ framework (waLBerla, pystencils-sfg in general). - The code generator should in the future be able to communicate assumptions about parameter values to the runtime system using *kernel preconditions*. A kernel precondition is a single backend-AST expression that evaluates to a boolean, annotated with an error message. The runtime system - either the pystencils-internal JIT, or waLBerla, etc. - should evaluate preconditions to check if kernel arguments are valid. This shall be used for e.g. pointer alignment checks, relative field size and layout checks, ...
issue