Scroll to navigation

UFL-CONVERT(1) General Commands Manual UFL-CONVERT(1)


ufl-convert - Convert a .ufl file to some other format.


ufl-convert [OPTIONS] input.ufl


-h, --help
Display help text and exit.
Output directory.
-i INPUTDIR, --inputdir=INPUTDIR
Output directory.
-c COMPILE, --compile=COMPILE
´Compile´ forms: apply expression transformations like in a quadrature based form compilation.
-f FORMAT, --format=FORMAT
Rendering format (str, repr, tree, dot, latex).
-t FILETYPE, --filetype=FILETYPE
Output file type (txt, py, dot, tex, ps, pdf, png).
-s SHOW, --show=SHOW
Open in an external viewer.


ufl-convert -omydir -iyourdir -c -f -tpdf -s mass.ufl


See for channels to send comments,
questions, bug reports etc.


This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see <>.


ufl-convert was written by Martin Sandve Alnæs <>.

This manual page was written by Johannes Ring <>.