Example of how to use WriteTemplatesParFiles

Question how to implement a model or how to change a model implementation
Post Reply
user2

Example of how to use WriteTemplatesParFiles

Post by user2 » 18. Apr 2016, 19:02

I was wondering how to use the new function "WriteTemplatesParFiles" to generate files for new models. Can you give us an example of how this function works and the format of the input it requires? I couldn't find any explanation in the documents provided with SARAH.

Many thanks

FStaub
Site Admin
Posts: 822
Joined: 13. Apr 2016, 14:05

Re: Example of how to use WriteTemplatesParFiles

Post by FStaub » 19. Apr 2016, 09:40

Hi,

in principle, you can run the command any time if you have implemented a new model to get the entries of the new fields and parameters for particles.m and parameter.m:
It will create the files particles.m.Template and parameters.m.Template ..
1) ... including all new particles and parameters
2) ... auto-generating LaTeX names, Output names and FeynArts numbers
3) ... extending/generating PDGs

You can either replace the existing parameters.m, particles.m by these files or just copy the new entries you need.

Note, some physical information has to be adjusted by the user:
1) Electric charge of new particles
2) Goldstone corresponding to massive vectors


Cheers,
Florian

Post Reply