Interplay of HFG with HyTeG
Hi,
working on issue #192 of HyTeG I tried to regenerate all forms in HyTeG using the generate_all_hyteg_forms.py
script. Doing so I ran into the following problems:
- At least one form
n1e1_linear_form_affine_q6
insidesrc/hyteg/forms/form_hyteg_generated
on HyTeG's master (or main, if you prefer) is not part of HFG's master, but can only be found on a branch. - Some of the forms in HyTeG's master are no longer supported by HFG. This is usually due to a change in the order of the quadrature rule. Some of these are no longer used in HyTeG itself, so I will remove them. Others, however, are used, see
p2_mass_blending_q5
. - On the otherhand, when not manually tasked to generate only specific forms, the HFG script generates more forms than are actually used in HyTeG, e.g.
p2_full_stokesvar_affine_q3
. - Sometimes forms in HFG are currently defined only for a certain dimension (like on tets). In that case they can be regenerated, but manual selection is required, when invoking the script.
- And then there is/was terraneo/hyteg-form-generator#10 (which demonstrates that we need to work on our regression testing).
Now all of these are not really show-stoppers, but IMHO we should consider, how we want to address the question of interplay between HFG and HyTeG. Should it be possible to regenerate all forms by the press of a button, or not? If not, can we at least add command line options to specify the quadrature order on-the-fly? Or maybe we need a specialised script or "database" of the forms we need in HyTeG and keep that up-to-date?
Cheers
Marcus
Edited by Marcus Mohr