about summary refs log tree commit diff
path: root/sourcecodes/bnt-master/BNT/potentials/@scgcpot/rescale_pot.m
blob: 996a6351294f9ebb4ab9891856fbbef73d559b09 (plain)
1
2
3
4
5
function pot = rescale_pot(pot, s)
% RESCALE_POT Add a constant to the mpot scale factor.
% pot = rescale_pot(pot, s)

pot.p = pot.p*s;