Did I find the right examples for you? yes no

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)

src/p/e/pele-HEAD/examples/new_potential/fortran_potential/mypotential.py   pele(Download)
from pele.potentials import BasePotential
import _mypotential
 
class MyPotFortran(BasePotential):
    """a Lennard Jones potential with altered exponents