Mercurial > repos > public > sbplib
changeset 742:08f3ffe63f48 feature/poroelastic Heimisson2018 elastic1.0
Add metric scale factors to properties in heat and elastic curvilinear
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Fri, 11 May 2018 13:11:32 -0700 |
parents | 5a9acf282b34 |
children | 0cac17097c37 |
files | +scheme/Elastic2dCurvilinear.m +scheme/Heat2dCurvilinear.m |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/+scheme/Elastic2dCurvilinear.m Wed May 09 19:29:12 2018 -0700 +++ b/+scheme/Elastic2dCurvilinear.m Fri May 11 13:11:32 2018 -0700 @@ -29,6 +29,7 @@ % Metric coefficients b % Cell matrix of size dim x dim J, Ji + beta % Cell array of scale factors D % Total operator D1 % First derivatives @@ -175,6 +176,7 @@ obj.J = J; obj.Ji = Ji; obj.b = b; + obj.beta = beta; %---------------------------- % Boundary operators
--- a/+scheme/Heat2dCurvilinear.m Wed May 09 19:29:12 2018 -0700 +++ b/+scheme/Heat2dCurvilinear.m Fri May 11 13:11:32 2018 -0700 @@ -36,6 +36,7 @@ % Metric coefficients b % Cell matrix of size dim x dim J, Ji + beta % Cell array of scale factors % Numerical boundary flux operators flux_l, flux_r @@ -139,6 +140,7 @@ obj.J = J; obj.Ji = Ji; obj.b = b; + obj.beta = beta; %---------------------------- % Boundary operators