comparison +multiblock/local2globalClosure.m @ 1018:eca4d9df9365 feature/advectionRV

Merge with default for latest changes
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Tue, 11 Dec 2018 17:31:28 +0100
parents ba10f24bf476
children
comparison
equal deleted inserted replaced
1017:2d7c1333bd6c 1018:eca4d9df9365
1 % Takes the block-local closures and turns it into a global closure
2 % local -- The local closure
3 % div -- block matrix division for the diffOp
4 % I -- Index of blockmatrix block
5 function closure = local2globalClosure(local, div, I)
6 closure_bm = blockmatrix.zero(div);
7 closure_bm{I,I} = local;
8
9 closure = blockmatrix.toMatrix(closure_bm);
10 end