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.
Cannot simplify piecewise function with field access in condition
This fails: ```python from pystencils.session import * dh = ps.create_data_handling((20,20)) ρ = dh.add_array('rho') pw = sp.Piecewise((0, 1 < sp.Max(-0.5, ρ.center+0.5)), (1, True)) sp.simplify(pw) ``` with the following error: ``` ./pystencils/pystencils/field.py in __iter__(self) 760 """This is necessary to work with parts of sympy that test if an object is iterable (e.g. simplify). 761 The __getitem__ would make it iterable""" --> 762 raise TypeError("Field access is not iterable") 763 764 @property TypeError: Field access is not iterable ``` Here are two similar examples that do not produce such an error: ```python s = sp.Symbol("s") pw = sp.Piecewise((0, 1 < sp.Max(-0.5, s+0.5)), (1, True)) sp.simplify(pw) pw = sp.Piecewise((0, 1 < ρ.center+0.5), (1, True)) sp.simplify(pw) ```
issue