InsertFields Syntax Error in FeynArts

  • Thread starter Thread starter Safinaz
  • Start date Start date
  • Tags Tags
    Error
AI Thread Summary
The discussion revolves around troubleshooting an error encountered while using FeynArts, specifically with the InsertFields function. The user reports an error indicating a syntax issue when trying to insert fields into a topology. Another participant suggests that the problem may stem from an improper installation of FeynArts. They recommend ensuring that FeynArts is loaded correctly, along with FeynCalc, by using specific loading commands. The conversation highlights the importance of proper installation and loading of the software to avoid syntax errors during operation.
Safinaz
Messages
255
Reaction score
8
Hi,

I try to operate FeynArts, I installed by

<< FeynArts`

Then I typed

$ tops := CreateTopologies[1, 1 -> 2, ExcludeTopologies -> Internal];

$ InsertFields[tops, V[2] -> {F[4, {3}], -F[4, {3}]}, Model ->{SM}];

Here it gave an error

InsertFields::syntax: The syntax of InsertFields is InsertFields[tops, in -> out, options].

Any help to solve this,

S
 
Physics news on Phys.org
Hmm, it worked for me. Its possible its not installed properly.

Make sure that you're not getting an error when you load it. I have both feynarts and Feyncalc installed so I load it like this:

$LoadFeynArts = True;
$LoadPhi = True;
<< HighEnergyPhysics`FeynCalc`;
 

Similar threads

Back
Top