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

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

#include <iostream>
#include <fstream>
#include <cstring>
#include <sstream>
#include <cstdlib>
#include <string>
#include <vector>
#include <list>
#include "braket.h"
#include "index.h"

Go to the source code of this file.

Classes

class  sospin::ToForm
 Container for form specifications. More...
 

Namespaces

 sospin
 

Macros

#define addFunction(a)   form.function(#a)
 
#define addFC(a)   form.contractions(a)
 

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::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...
 

Detailed Description

Functions and tables to use with FORM program.

Definition in file form.h.

Macro Definition Documentation

#define addFC (   a)    form.contractions(a)

Definition at line 64 of file form.h.

#define addFunction (   a)    form.function(#a)

Definition at line 63 of file form.h.