DiFfRG`CodeTools`
The code-generation sub-package of DiFfRG
Auto-Generating C++ Code
MakeFlowClass — Create a base class that holds all integration kernel objects and generate CMake information.
MakeFlowClassFiniteT — Create a base class that holds all integration kernel objects and generate CMake information.
MakeKernel — Generate code for an integration kernel.
CodeForm — Convert an expression to a C++ string.
SafeFiniteTFunctions — Replace mathematical functions by alternatives with built-in safety.
Declaring angular configurations
DeclareSymmetricPoints4DP4 — Declare angles for a four-point symmetric point in 4D
DeclareSymmetricPoints4DP3 — Declare angles for a three-point symmetric point in 4D
DeclareSymmetricPoints3DP4 — Declare angles for a four-point symmetric point in 3D
DeclareSymmetricPoints3DP3 — Declare angles for a three-point symmetric point in 3D
DeclareSymmetricPoints2DP4 — Declare angles for a four-point symmetric point in 2D
DeclareSymmetricPoints2DP3 — Declare angles for a three-point symmetric point in 2D
DeclareAnglesP34Dpqr — Declare angles for a full three-point vertex in 4D
Setting the global output directory
SetFlowDirectory ▪ ShowFlowDirectory
ShowTypes — Information about the usable types.
Configure code optimizations
AddCodeOptimizeFunctions ▪ ShowCodeOptimizeFunctions ▪ ClearCodeOptimizeFunctions
UseKernelOptimizations — Toggle kernel optimizations.
Configure C++ and kernel export
SetKernelDefinitions ▪ ShowKernelDefinitions
SetCppNames — Set additional replacements for C++ generation.