diff --git a/Dipolar-Gas-Simulator/+Simulator/@Calculator/calculateVDCutoff.m b/Dipolar-Gas-Simulator/+Simulator/@Calculator/calculateVDkWithCutoff.m similarity index 100% rename from Dipolar-Gas-Simulator/+Simulator/@Calculator/calculateVDCutoff.m rename to Dipolar-Gas-Simulator/+Simulator/@Calculator/calculateVDkWithCutoff.m diff --git a/Dipolar-Gas-Simulator/+Simulator/@DipolarGas/initialize.m b/Dipolar-Gas-Simulator/+Simulator/@DipolarGas/initialize.m index 20964e7..2731a5b 100644 --- a/Dipolar-Gas-Simulator/+Simulator/@DipolarGas/initialize.m +++ b/Dipolar-Gas-Simulator/+Simulator/@DipolarGas/initialize.m @@ -9,7 +9,7 @@ function [psi,V,VDk] = initialize(this,Params,Transf,TransfRad) VDk = load(sprintf(strcat(this.SaveDirectory, '/VDk_M.mat'))); VDk = VDk.VDk; else - VDk = this.Calculator.calculateVDCutoff(Params,Transf,TransfRad); + VDk = this.Calculator.calculateVDkWithCutoff(Params,Transf,TransfRad); save(sprintf(strcat(this.SaveDirectory, '/VDk_M.mat')),'VDk'); end fprintf('Computed and saved DDI potential in Fourier space with %s cutoff.\n', this.Calculator.CutoffType)