diff options
author | Anton Khirnov <anton@khirnov.net> | 2019-03-25 18:21:20 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2019-03-25 18:21:20 +0100 |
commit | d97e85e51dc43b2e78ddf42903573a7aa8ad75cf (patch) | |
tree | 2f5986c5dc46bfe12738e525035ea1428387afc3 /mg2d.c | |
parent | 1b0a89c2f0c1287026f6885ee12030dc0299066f (diff) |
egs: only apply the fixval condition when it is non-zero and on init
Both u and residual are initialized to zero on alloc and the residual is
not computed on the fixval boundaries. The value of u will thus never
change there, so we do not need to impose the condition there except at
the very beginning.
Diffstat (limited to 'mg2d.c')
0 files changed, 0 insertions, 0 deletions