Minor mods to accept the arguments from the Variational 2D GPE Solver.
This commit is contained in:
parent
118406eed0
commit
7c8f4e2362
@ -1,11 +1,11 @@
|
|||||||
function [evals, modes] = solveBogoliubovdeGennesIn2D(psi, Params, VDk, VParams, muchem)
|
function [evals, modes] = solveBogoliubovdeGennesIn2D(psi, Params, VDk, VParams, Transf, muchem)
|
||||||
|
|
||||||
wz_tilde = Params.wz / Params.w0;
|
wz_tilde = Params.wz / Params.w0;
|
||||||
gs = Params.gs;
|
gs = Params.gs;
|
||||||
gdd = Params.gdd;
|
gdd = Params.gdd;
|
||||||
gammaQF = Params.gammaQF;
|
gammaQF = Params.gammaQF;
|
||||||
|
|
||||||
KEop = 0.5*KX.^2 + 0.5*KY.^2;
|
KEop = 0.5*(Transf.KX.^2+Transf.KY.^2);
|
||||||
Ez = (0.25*VParams.sigma^2) + (0.25*wz_tilde^2*VParams.sigma^2);
|
Ez = (0.25*VParams.sigma^2) + (0.25*wz_tilde^2*VParams.sigma^2);
|
||||||
muchem_tilde = muchem - Ez;
|
muchem_tilde = muchem - Ez;
|
||||||
|
|
||||||
@ -31,7 +31,7 @@ X = @(w,psi) (psi.*real(ifft(VDk.*fft(psi.*w)))) + (3/2)*(gQF_pf_2D*g
|
|||||||
BdG = @(g) muHC(muHC(g) + (2.*X(g)));
|
BdG = @(g) muHC(muHC(g) + (2.*X(g)));
|
||||||
|
|
||||||
syssize = size(psi);
|
syssize = size(psi);
|
||||||
opts.v0 = psi(:,:);
|
opts.v0 = psi(:);
|
||||||
opts.tol = 1e-16;
|
opts.tol = 1e-16;
|
||||||
opts.disp = 1;
|
opts.disp = 1;
|
||||||
opts.issym = 0;
|
opts.issym = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user