comparison +scheme/Schrodinger1dCurve.m @ 514:32a24485f3e8 feature/quantumTriangles

Removed an unnessesary comment
author Ylva Rydin <ylva.rydin@telia.com>
date Fri, 07 Jul 2017 13:33:05 +0200
parents 57f3493f851b
children dd3e9a0f5032
comparison
equal deleted inserted replaced
513:bc39bb984d88 514:32a24485f3e8
124 closure = @(t)obj.Hi*sqrt(obj.Ji)*(tau1(t)*e' + tau2(obj.a)*e')*sqrt(obj.Ji); 124 closure = @(t)obj.Hi*sqrt(obj.Ji)*(tau1(t)*e' + tau2(obj.a)*e')*sqrt(obj.Ji);
125 125
126 switch class(data) 126 switch class(data)
127 case 'double' 127 case 'double'
128 penalty = @(t) -obj.Hi*sqrt(obj.Ji)*(tau1*data+tau2(obj.a)*data)*sqrt(obj.Ji); 128 penalty = @(t) -obj.Hi*sqrt(obj.Ji)*(tau1*data+tau2(obj.a)*data)*sqrt(obj.Ji);
129 % case 'function_handle' 129
130 % penalty = @(t)-obj.Hi*tau*data(t);
131 otherwise 130 otherwise
132 error('Weird data argument!') 131 error('Weird data argument!')
133 end 132 end
134
135 % Unknown, boundary condition 133 % Unknown, boundary condition
136 otherwise 134 otherwise
137 error('No such boundary condition: type = %s',type); 135 error('No such boundary condition: type = %s',type);
138 end 136 end
139 end 137 end