view skewPart.m @ 1258:74eec7e69b63 feature/FMMlabb

Speed up computations using RungeKuttaSecondOrder when only the source term is time dependent.
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Fri, 13 Mar 2020 12:07:00 +0100
parents f8072bb8d1d1
children
line wrap: on
line source

% Returns the skew of A
function S = skewPart(A, tol)
    S = 1/2*(A - A');
end