diff options
Diffstat (limited to 'sourcecodes/bnt-master/BNT/potentials/@cpot/rescale_pot.m')
| -rw-r--r-- | sourcecodes/bnt-master/BNT/potentials/@cpot/rescale_pot.m | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sourcecodes/bnt-master/BNT/potentials/@cpot/rescale_pot.m b/sourcecodes/bnt-master/BNT/potentials/@cpot/rescale_pot.m new file mode 100644 index 00000000..ad962455 --- /dev/null +++ b/sourcecodes/bnt-master/BNT/potentials/@cpot/rescale_pot.m @@ -0,0 +1,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; |
