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

pot.g = pot.g + s;