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.
Using real_t for toMatrix does not work with types that are not real_t
Within the file `hog/operator_generation/kernel_types.py` a generic field called mat is created and its `dtype` is set to `real_t`. This only works if everything is `real_t`, when you want to use other types, e.g. for mixed precision, compile errors occur, since `real_t` (usually float64) cannot be converted to a 'smaller' type. > cannot convert '`walberla::real_t*`' {aka '`double*`'} to '`const float*`' The question is, what is the desired behavior. I understand that the signature is given as `real_t` and maybe it is mathematically advised to even use float64, but this way it is not possible to experiment with different precisions. --- Code part of interest (kernel_types.py line 268 to 276) [link-to-code](https://i10git.cs.fau.de/hyteg/hog/-/blob/main/hog/operator_generation/kernel_types.py?ref_type=heads#L268): ```Python # NOTE: The type is 'hyteg_type().pystencils_type', i.e. `real_t` # (not `self._type_descriptor.pystencils_type`) # because this function is implemented manually in HyTeG with # this signature. Passing `np.float64` is not ideal (if `real_t != # double`) but it makes sure that casts are inserted if necessary # (though some might be superfluous). mat = create_generic_fields( ["mat"], dtype=hyteg_type(HOGPrecision.REAL_T).pystencils_type )[0] ```
issue