Draft for resolving issue 48
The commit - adds component_index as keyword to IntegrandSymbols - makes gradient and divergence form pass component_index to process_integrand - the corresponding integrands now check the shape of grad_u resp. grad_v and, if it is not square, revert to extracting the corresponding component - moves the is_implemented check from the call of HyTeGIntegrator outwards, so that the call to form_func is protected against out-of-bounds indices
Showing
- generate_all_hyteg_forms.py 18 additions, 20 deletionsgenerate_all_hyteg_forms.py
- hog/forms.py 2 additions, 0 deletionshog/forms.py
- hog/integrand.py 8 additions, 1 deletionhog/integrand.py
- hog/recipes/integrands/volume/divergence.py 16 additions, 5 deletionshog/recipes/integrands/volume/divergence.py
- hog/recipes/integrands/volume/gradient.py 16 additions, 5 deletionshog/recipes/integrands/volume/gradient.py
Please register or sign in to comment