SOSpin is hosted by Hepforge, IPPP Durham
SOSpin  1.0.0
form.cpp File Reference

Functions and tables to use with FORM program. More...

#include <sys/stat.h>
#include "form.h"
#include "son.h"
#include "dlist.h"

Go to the source code of this file.

Namespaces

 sospin
 

Macros

#define stringify(x)   stringify_literal( x )
 
#define stringify_literal(x)   # x
 

Functions

void sospin::setFormRenumber ()
 Set "renumber 1;" in FORM input file. This option is used to renumber indices in order to allow further simplifications However, in big expressions this must be avoid since it increases the computational time in FORM The best way to use is simplify the expression with FORM with this option unset, and then send a second time to FORM with this option active. More...
 
void sospin::unsetFormRenumber ()
 Unset "renumber 1;" in FORM input file. More...
 
void sospin::setFormIndexSum ()
 Set the index sum in input FORM file, ie, adds "sum i,j,...;" and "id e_(1,...,N) = 1". More...
 
void sospin::unsetFormIndexSum ()
 Unset the index sum in input FORM file. More...
 
string sospin::FormField (const string fieldname, const unsigned int numUpperIds, const unsigned int numLowerIds, const FuncProp funcp)
 Function to add field name and create field proprieties to FORM input file. More...
 
void sospin::Formrun (Braket &exp, ToForm &formin, bool print, bool all, string newidlabel)
 Create file input for FORM and run the FORM program and return the result to file and/or screen. More...
 
void sospin::CallForm (Braket &exp, bool print=true, bool all=true, string newidlabel="j")
 Creat the file input for FORM and run the FORM program and return the result to file and/or screen. More...
 

Variables

ToForm sospin::form
 

Detailed Description

Functions and tables to use with FORM program.

Definition in file form.cpp.

Macro Definition Documentation

#define stringify (   x)    stringify_literal( x )

Definition at line 422 of file form.cpp.

#define stringify_literal (   x)    # x

Definition at line 423 of file form.cpp.