comparison +time/CdiffImplicit.m @ 956:d6ede7f5cbf9

Add todo in CdiffImplicit
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 11 Dec 2018 11:21:25 +0100
parents d5bce13ece23
children ea8fefc326b2
comparison
equal deleted inserted replaced
955:92c3c170e90b 956:d6ede7f5cbf9
15 % Solves 15 % Solves
16 % A*u_tt + B*u + C*v_t = G(t) 16 % A*u_tt + B*u + C*v_t = G(t)
17 % u(t0) = f1 17 % u(t0) = f1
18 % u_t(t0) = f2 18 % u_t(t0) = f2
19 % starting at time t0 with timestep k 19 % starting at time t0 with timestep k
20
21 % TODO: Fix order of matrices
20 function obj = CdiffImplicit(A, B, C, G, f1, f2, k, t0) 22 function obj = CdiffImplicit(A, B, C, G, f1, f2, k, t0)
21 default_arg('A', []); 23 default_arg('A', []);
22 default_arg('C', []); 24 default_arg('C', []);
23 default_arg('G', []); 25 default_arg('G', []);
24 default_arg('f1', 0); 26 default_arg('f1', 0);