Computing inv diagonal values multiple consecutive times does result in different vectors.
Discovered by @burkhart
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Link issues together to show that they're related. Learn more.
When this merge request is accepted, this issue will be closed automatically.
Activity
- Developer
You can change
f" {self.dst.name}->interpolate( 0, level );\n"
to
f" {self.dst.name}->interpolate( 0, level );\n" f" communication::syncFunctionBetweenPrimitives( *{self.dst.name}, level );\n"
in the respective kernel operation / kernel type and that seemingly fixes the issue.
Edited by Andreas Burkhart - Maintainer
Why did we change that from
setToZero()
tointerpolate(0)
in c72965a5? - Maintainer
Missed that myself. Would it make sense to implement such a function for vector functions? (Not suggesting that we should, just asking questions.)
Edited by Daniel Bauer - Maintainer
The costs for implementing that are basically nil, at least for the CSFFunction children. So why not? It is definitely more efficient than interpolating and then communicating.
- Maintainer
I added this as suggestion: hyteg#274 (closed)
- Maintainer
All relevant function classes in HyTeG now support
setToZero()
. Thus, this should be fixable in HOG without breaking stuff now. - Please register or sign in to reply
- Marcus Mohr mentioned in issue hyteg#274 (closed)
mentioned in issue hyteg#274 (closed)
- Nils Kohl mentioned in merge request !21 (merged)
mentioned in merge request !21 (merged)
- Nils Kohl closed via merge request !21 (merged)
closed via merge request !21 (merged)