Mercurial > repos > public > sbplib
diff +time/SBPInTimeImplicitFormulation.m @ 609:8cbecf22075b feature/utux2D
Merge to get interpolation operators.
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Sat, 14 Oct 2017 22:36:31 -0700 |
parents | 5df7f99206b2 |
children | 47e86b5270ad |
line wrap: on
line diff
--- a/+time/SBPInTimeImplicitFormulation.m Thu Oct 05 20:21:20 2017 -0700 +++ b/+time/SBPInTimeImplicitFormulation.m Sat Oct 14 22:36:31 2017 -0700 @@ -46,7 +46,6 @@ obj.f = @(t)sparse(length(v0),1); end - obj.k = k; obj.blockSize = blockSize; obj.N = length(v0); @@ -99,7 +98,7 @@ function obj = step(obj) RHS = zeros(obj.blockSize*obj.N,1); - for i = 1:length(obj.blockSize) + for i = 1:obj.blockSize RHS((1 + (i-1)*obj.N):(i*obj.N)) = obj.f(obj.t + obj.nodes(i)); end