torchgpe.utils.potentials.Potential.set_gas#

Potential.set_gas(gas)[source]#

Set the Gas object to which the potential is applied

Parameters:

gas (Gas) – The Gas object to which the potential is applied