Mercurial > repos > public > sbplib
view symmetricPart.m @ 860:b758d1cf4c8e feature/poroelastic
Add computation of HI*M to D2Variable to make adjoint gradient computation easier.
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Wed, 24 Oct 2018 16:16:43 -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