Skip to content

Conversation

@danielru
Copy link
Member

Since it seems that for some reason copying the last stage instead of performing a full update improves stability, this introduces a flag do_coll_update as a sweeper parameter which can be set to False to do a simple copy of the last stage in compute_end_value.

The default is True, that is to perform a proper update. An exception is raised if do_coll_update=False for a set of nodes where the right endpoint is not a quadrature node.

Tests verify that (a) the exception is raised as expected and (b) that the update is identical to q*U with q=(0,...,0,1).

Daniel Ruprecht added 4 commits December 22, 2015 09:38
…rue (default), a proper collocation update is performed in compute_end_point. If False, the stage corresponding to the end point is copied. Throws an exception of set to False for collocation nodes where endpoint is not a stage
…alse for collocation object with right_is_node=False
…stage; can now switch between collocation update and copy be setting do_coll_update as sweeper parameter
pancetta added a commit that referenced this pull request Dec 22, 2015
@pancetta pancetta merged commit 5ca8a02 into Parallel-in-Time:master Dec 22, 2015
@danielru danielru deleted the feature/switch_for_coll_update branch December 22, 2015 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants