https://linen.dev logo
just a general question, are fvc / fvm evaluations...
# programming
m
just a general question, are fvc / fvm evaluations lazy? what I mean is that if I were to intoduce a field similar to "triggerOrth" which has the value 0 for cells with a non orthogonality smaller than a threshold and 1 for those above, could I replace a fvm::div call with triggerOrth*fvm::div(...,"upwind") + (1 - triggerOrth) **fvm::div(...,"linear"), without any significant performance penalties?