Currently, there is a hard-wired "C" file preamble for .c and .h files in ffcx/formatting.py.
This should be placed in the ffcx/codegeneration/C folder and follow the same pattern as all the other code templates for form, finite_element, integrals etc.
Currently, there is a hard-wired "C" file preamble for
.c
and.h
files inffcx/formatting.py
. This should be placed in theffcx/codegeneration/C
folder and follow the same pattern as all the other code templates for form, finite_element, integrals etc.