comparison +time/CdiffImplicit.m @ 968:a4ad90b37998 feature/poroelastic

Merge with default.
author Martin Almquist <malmquist@stanford.edu>
date Sun, 23 Dec 2018 14:39:31 +0100
parents d6ede7f5cbf9
children ea8fefc326b2
comparison
equal deleted inserted replaced
967:368a2773f78b 968:a4ad90b37998
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);