diff +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
line wrap: on
line diff
--- a/+sbp/InterpAWW.m	Sun Nov 04 12:36:30 2018 -0800
+++ b/+sbp/InterpAWW.m	Wed Nov 21 18:29:29 2018 -0800
@@ -23,6 +23,7 @@
         % accOp : String, 'C2F' or 'F2C'. Specifies which of the operators
         % should have higher accuracy.
         function obj = InterpAWW(m_C,m_F,order_C,order_F,accOp)
+            assertIsMember(accOp, {'C2F','F2C'});
 
             ratio = (m_F-1)/(m_C-1);
             h_C = 1;