comparison +scheme/Schrodinger1dCurve.m @ 501:b7280c6c6b9a feature/quantumTriangles

Found some small bugs when making slides for pressentation
author Ylva Rydin <ylva.rydin@telia.com>
date Tue, 25 Apr 2017 09:52:32 +0200
parents 324c927d8b1d
children 2047ff9640b3
comparison
equal deleted inserted replaced
500:83734c26b8e3 501:b7280c6c6b9a
82 % data is a function returning the data that should be applied at the boundary. 82 % data is a function returning the data that should be applied at the boundary.
83 % neighbour_scheme is an instance of Scheme that should be interfaced to. 83 % neighbour_scheme is an instance of Scheme that should be interfaced to.
84 % neighbour_boundary is a string specifying which boundary to interface to. 84 % neighbour_boundary is a string specifying which boundary to interface to.
85 85
86 function [D] = d_fun(obj,t) 86 function [D] = d_fun(obj,t)
87 % obj.update_vairables(t); In driscretization? 87 obj.variable_update(t); % In driscretization?
88 D= obj.Ji*(-0.5*(obj.D1*obj.a - obj.a_xi + obj.a*obj.D1) + 1i*obj.D2(diag(obj.Ji)) + 1i*obj.V_mat); 88 D= obj.Ji*(-0.5*(obj.D1*obj.a - obj.a_xi + obj.a*obj.D1) + 1i*obj.D2(diag(obj.Ji)) + 1i*obj.V_mat);
89 89
90 end 90 end
91 91
92 92