comparison +rv/+diffops/constructFluxDiffOp.m @ 1163:65a577db5ca0 feature/rv

Move all functions in constructDiffOps to subpackage and refactor
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Thu, 27 Jun 2019 11:04:34 +0200
parents
children
comparison
equal deleted inserted replaced
1162:0ec06ca3fc36 1163:65a577db5ca0
1 function [D, diffOp] = constructFluxDiffOp(scheme, g, order, schemeParams, opSet, BCs)
2 diffOp = scheme(g, order, schemeParams{:}, opSet);
3 if ~isa(diffOp.D, 'function_handle')
4 D = @(v) diffOp.D*v;
5 else
6 D = diffOp.D;
7 end
8 end