is a python script to convert flow equations to C, javascript or LaTeX code.
.Pp
.Nm
is part of a set of tools to compute and manipulate Fermionic hierarchical flows:
.Bl-bullet
.It
.Symeankondo
: computes flow equations for hierarchical Fermionic models
.It
.Synumkondo
: numerical evaluation of flow equations.
.It
.Symeantools,meantools-convert
: perform various operations on flow equations (derivation, exponentiation, evaluation and conversion to other formats).
.El
.Pp
as well as the following pre-processors, which generate configuration files for their associated model:
.Bl-bullet
.It
.Sykondo_proprocess
: Kondo model
.El
.Pp
.ShCOMMAND-LINEARGUMENTS
.Bl-tag-widthDs
.ItFliArfile
File containing the flow equation to convert. If this flag is not specified, then
.Nm
reads the equation from stdin.
.El
.Pp
.ShC
.Nm
supports the following flags when converting to C code.
.Bl-tag-widthDs
.ItFllAroldl_symbol
The symbol for the running coupling constants appearing on the right hand side (defaults to 'l').
.ItFlLArnewl_symbol
The symbol for the running coupling constants appearing on the left hand side (defaults to 'newL').
.ItFlCArconstant_symbol
The symbol for the constant factor (defaults to 'C'). Since there can be multiple constants in a flow equation, the actual symbols will be appended an integer (e.g. C1, C2, etc).
.ItFlS
Write each equation on a single line.
.El
.Pp
.Aroldl_symbol
and
.Arnewl_symbol
must be arrays of floating point numbers (floats, doubles or long doubles) with enough memory allocated to them to hold all running coupling constants. Similarly,
.Arconstant_symbolNsn
with n large enough must be allocated as floating point numbers.
.Pp
In addition, if the flow equation contains derivatives (see
.SxmeantoolsNs(1)),
then
.PfdAroldl_symbol,
.PfdArnewl_symbol
and
.PfdArconstant_symbolNsn
must be allocated as well. The same holds for higher derivatives, with 'd' replaced by 'dd', 'ddd' and so forth.
.ShJAVASCRIPT
.Qo
.Nm
.Syjavascript
.Qc
is a shorthand for
.Qo
.Nm
.SyC
-S
.Qc
.ShLATEX
.Nm
supports the following flags when converting to LaTeX code.
.Bl-tag-widthDs
.ItFllAroldl_symbol
The symbol for the running coupling constants appearing on the right hand side (defaults to "\\ell").
.ItFlLArnewl_symbol
The symbol for the running coupling constants appearing on the left hand side (defaults to "\\ell'").
.ItFlCArconstant_symbol
The symbol for the constant factor (defaults to "C"). Since there can be multiple constants in a flow equation, the actual symbols will be appended an integer subscript (e.g. C_1, C_2, etc).
.ItFls
Break the line at every '+'.
.El
.Pp
Since the length of the equations can change a lot from one system to another,
.Nm
does not make many formatting decisions (for instance
.Nm
does not insert any alignment characters, and either breaks the line at every '+' sign or at the end of the equation), which are left to the user.