mirror of
https://github.com/wassname/simpeg.git
synced 2026-10-29 13:40:11 +08:00
Testing BC for cell-centered system
- inhomogenous neumann BC - Mixed BC were tested Fixing bug in the function "projNeumannIn"
This commit is contained in:
1 parent
3846dc4bce
commit
9c8b64b9f1
2 files changed
+1
-2
No files matched your search
@@ -499,7 +499,7 @@ class DiffOperators(object):
|
||||
P = sp.identity(n+1).tocsr()
|
||||
if(bc[0] == 'neumann'):
|
||||
P = P[1:,:]
|
||||
if(bc[0] == 'neumann'):
|
||||
if(bc[1] == 'neumann'):
|
||||
P = P[:-1,:]
|
||||
return P
|
||||
|
||||
|
||||
@@ -171,6 +171,5 @@ class Test2D_InhomogeneousDirichlet(OrderTest):
|
||||
|
||||
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
Reference in new issue
Block a user