it is in the function
int Domain::commit(void)
First, the node state is commited, and then the node is reported.
But see these two response: incrDisp & incrDeltaDisp
They are forever zero in the reports beacuse they are firstly reset to null in the function Node::commitState(void) and set with new Vectors from Node::createDisp() which are zero vectors.
There are two ways to solve it.
First, report before commit. But I'm not sure whether it will cause other problems.
Second, add two new vetcors in Node, incrDisp_last & incrDeltaDisp_last. Use them in report. There values must be set before Node::commitState() being called. I used this way to fix it.
A tiny bug?
Moderators: silvia, selimgunay, Moderators
-
- Posts: 3
- Joined: Mon Oct 13, 2008 7:32 am
- Location: Tsinghua University, Beijin, China