iRASPA Community

RASPA => Input files and parameters => Topic started by: Cindy on April 25, 2022, 09:38:54 AM

Title: About modifying the potential energy formula inside the RASPA source code
Post by: Cindy on April 25, 2022, 09:38:54 AM
I looked at the potential energy formula in the RASPA manual and found that I need to modify the FEYNMAN_HIBBS_LENNARD_JONES formula into a higher order form to better use it for the correction inside the molecule, but I can't find the place to define this formula expression in the RASPA source package, can you provide me some guidance?
Title: Re: About modifying the potential energy formula inside the RASPA source code
Post by: David Dubbeldam on May 27, 2022, 01:47:08 PM
Use standard unix utilities like 'grep' for that:
grep -i FEYNMAN_HIBBS_LENNARD_JONES *.c
The potentials are implemented in 'potentials.c'.