If you want to debug FFC-generated code, I suggest using the C++ interface
and calling FFC manually on the command line.

--
Anders


ons 1 apr. 2015 kl 21:23 skrev Lizao Li <[email protected]>:

>  Dear all,
>
>  I am working on adding a new tensor-valued finite element to FEniCS and
> would like to know what is a good way to debug code generated by ffc. In
> particular, I would like to be able to print some debug info from one of
> the "ffc_form_xxxxxxxxxxxxxx.h" generated by ffc. For example, if I add
> `printf("hello world.");` to that file, is there a commnad I can run to
> recompile the ffc module? Running "make" in
> .instant/cache/ffc_form_xxxxxxxxxxxxxxxx does not seem to work. Thanks.
>
>  Best regards,
>  Larry.
>
>
>  Lizao (Larry) Li
> Univeristy of Minnesota
>
_______________________________________________
fenics mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics

Reply via email to