patrickmalsom / TwoDimTubes

Tubes HMC for two dimensional potentials
1 stars 0 forks source link

make generation of potentials using Mathematica more general #3

Open patrickmalsom opened 11 years ago

patrickmalsom commented 11 years ago

As of now the generate-potentials.m notebook needs to be edited every time the potential changes. The problem is that i need to edit the notebook every time i switch a potential and there are bound to be mistakes...

I am thinking of making all of the header files only using a mathematica script. This involves

patrickmalsom commented 11 years ago

The Mathematica script generate-header.m in header-files directory needs to be rewritten. When using a more complicated form of Bxx the header file broke. This might necessitate a rewrite of the header file as well or maybe a rethink of how i pass the values to the C routine in general.

As of right now I would like to focus this ticket on finding the bug in the generate-header.m script.