From 6c9a2b363d4c2292c83409c1c81e596df23676c0 Mon Sep 17 00:00:00 2001 From: Karthik Chandrashekara Date: Wed, 13 Nov 2024 18:32:00 +0100 Subject: [PATCH] Renamed file to compute DDI potential in k-space with cutoff. --- .../{calculateVDCutoff.m => calculateVDkWithCutoff.m} | 0 Dipolar-Gas-Simulator/+Simulator/@DipolarGas/initialize.m | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename Dipolar-Gas-Simulator/+Simulator/@Calculator/{calculateVDCutoff.m => calculateVDkWithCutoff.m} (100%) 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)