FFC(1)

NAME
FFC - the FEniCS Form Compiler

SYNOPSIS
ffc [-h] [-O] [-l language] [-d debuglevel] [-f option] ... input.form ...

DESCRIPTION
Compile multilinear forms into efficient low-level code. The FEniCS Form Compiler FFC accepts as input one or more files each specifying one or more multilinear forms and compiles the given forms into efficent low-level code for automatic assembly of the tensors representing the multilinear forms. In particular, FFC compiles a pair of bilinear and linear forms defining a variational problem into code that can be used to efficiently assemble the corresponding linear system. By default, FFC generates C++ code for DOLFIN, but this can be changed by specifying a different output language (option -l). It is also possible to add new output languages to FFC. For a full description of FFC, including a specification of the form language used to define the multilinear forms, see the FFC user manual available on the FEniCS web page: http://www.fenics.org/

OPTIONS

-h, --help
    Display help text and exit.

-v, --version
    Display version number and exit.

-O, --optimize
    Generate optimized code using FErari optimizations (if available).

-l language, --language language
    Specify output language, one of 'dolfin' (default), 'latex', 'raw', 'ase' or 'xml'.

-d debuglevel, --debug debuglevel
    Specify debug level (default is -1).

-f option
    Specify code generation options. The list of options available depends on the specified language (format). Current options include -f no-gpl and -f blas described in detail below.

-f no-gpl
    Don't add GPL license to generated code. This option has only effect when compiling with -ldolfin.

-f blas
    Generate code that uses BLAS to compute tensor products. This option has only effect when compiling with -ldolfin.

BUGS

Send comments, questions, bug reports etc. to ffc-dev@fenics.org.

AUTHOR
Anders Logg (logg@simula.no)