Mercurial > repos > public > sbplib
comparison +sbp/InterpAWW.m @ 890:c70131daaa6e feature/d1_staggered
Merge with feature/poroelastic.
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Wed, 21 Nov 2018 18:29:29 -0800 |
parents | 3c3280ebabb3 |
children |
comparison
equal
deleted
inserted
replaced
885:18e10217dca9 | 890:c70131daaa6e |
---|---|
21 | 21 |
22 methods | 22 methods |
23 % accOp : String, 'C2F' or 'F2C'. Specifies which of the operators | 23 % accOp : String, 'C2F' or 'F2C'. Specifies which of the operators |
24 % should have higher accuracy. | 24 % should have higher accuracy. |
25 function obj = InterpAWW(m_C,m_F,order_C,order_F,accOp) | 25 function obj = InterpAWW(m_C,m_F,order_C,order_F,accOp) |
26 assertIsMember(accOp, {'C2F','F2C'}); | |
26 | 27 |
27 ratio = (m_F-1)/(m_C-1); | 28 ratio = (m_F-1)/(m_C-1); |
28 h_C = 1; | 29 h_C = 1; |
29 | 30 |
30 assert(order_C == order_F,... | 31 assert(order_C == order_F,... |