FIRECreateLiteRedFiles
FIRECreateLiteRedFiles[path]
creates lbases files
(generated with LiteRed) using the script
CreateLiteRedFiles.m
in path
. To that aim a
Mathematica kernel is started in the background via
RunProcess
. The function returns True
if the
evaluation succeeds and False
otherwise.
Notice that lbases files must be created before generating sbases
using FIRECreateStartFiles (or running the respective scripts directly)
.
Alternatively, one can use
FIRECreateLiteRedFiles[path, topo]
where topo
is an FCTopology
symbol and the full path is implied to be
path/topoName/CreateStartFile.m
.
If you need to process a list of topologies, following syntaxes are
possible FIRECreateLiteRedFiles[{path1,path2, ...}]
,
FIRECreateLiteRedFiles[path, {topo1, topo2, ...}]
The path to the Mathematica Kernel can be specified via
FIREMathematicaKernelPath
. The default value is
Automatic
.
See also
Overview, FIRECreateConfigFile, FIREPrepareStartFile, FIREMathematicaKernelPath
Examples
topo = FCTopology["prop3lX1", {SFAD[{p1, m^2}], SFAD[p2], SFAD[{p3, m^2}], SFAD[Q - p1 - p2 - p3], SFAD[Q - p1 - p2], SFAD[Q - p1], SFAD[Q - p2], SFAD[p1 + p3], SFAD[p2 + p3]}, {p1, p2, p3}, {Q}, {}, {}]
FCTopology(prop3lX1,{(p12−m2+iη)1,(p22+iη)1,(p32−m2+iη)1,((−p1−p2−p3+Q)2+iη)1,((−p1−p2+Q)2+iη)1,((Q−p1)2+iη)1,((Q−p2)2+iη)1,((p1+p3)2+iη)1,((p2+p3)2+iη)1},{p1,p2,p3},{Q},{},{})
fileName = FIREPrepareStartFile[topo, FileNameJoin[{$FeynCalcDirectory, "Database"}]]
/home/vs/.Mathematica/Applications/FeynCalc/Database/prop3lX1/CreateStartFile.m
FIRECreateLiteRedFiles[fileName, FCVerbose -> 3]
FIRECreateLiteRedFiles: Full path to the Math Kernel binary: /media/Data/Software/Mathematica/14.0/Executables/math
FIRECreateLiteRedFiles: Full path to the script file: /home/vs/.Mathematica/Applications/FeynCalc/Database/prop3lX1/CreateStartFile.m
FIRECreateLiteRedFiles: Working directory: /home/vs/.Mathematica/Applications/FeynCalc/Database/prop3lX1/
FIRECreateLiteRedFiles: Script file: CreateStartFile.m
True