view symmetricPart.m @ 1283:70939ea9a71f feature/poroelastic

Bugfix in Elastic2dVariable
author Martin Almquist <malmquist@stanford.edu>
date Tue, 23 Jun 2020 13:31:01 -0700
parents f8072bb8d1d1
children
line wrap: on
line source

% Returns the symmetric of A
function S = symmetricPart(A, tol)
    S = 1/2*(A + A');
end