view symmetricPart.m @ 1007:9c8ed00732fd feature/getBoundaryOp

Revert to old code in multiblock.DiffOp.getBoundaryOperator.
author Martin Almquist <malmquist@stanford.edu>
date Wed, 16 Jan 2019 11:31:04 -0800
parents f8072bb8d1d1
children
line wrap: on
line source

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