view kr.m @ 1057:ff274c7404cc feature/poroelastic

In Elastic2dVariable: copy-paste from feature/getBoundaryOp and fix bugs introduced there.
author Martin Almquist <malmquist@stanford.edu>
date Fri, 25 Jan 2019 15:52:21 -0800
parents 48b6fb693025
children
line wrap: on
line source

function A = kr(varargin)
    n = nargin;

    A = 1;

    for i = 1:n
        A = kron(A,varargin{i});
    end
end