remove requirement for different scheduling when using or not using presync

Create issue
Issue #2361 new
Roland Haas created an issue

In its initial implementation, using PreSync to automatically apply boundary conditions requires changes to user thorns. Namely patterns like this:

schedule Foo_SelectBCs IN MoL_PostStep
{
  LANG: C
} "Select Boundary conditions for variables"
schedule group ApplyBCs as Foo_ApplyBCs in MoL_PostStep AFTER Foo_SelectBCs
{
} "Apply boundary conditions"

needs to be replaced by something like this

schedule Foo_SelectBCs IN Presync_Select
{
  LANG: C
} "Select Boundary conditions for variables"

However it should be possible to remove this need to change schedule.ccl by making the code remember calls to SelectXXXForBC (and possible warn if subsequent calls select different bc for already known variables) and making ApplyBCs an empty group.

Comments (1)

  1. Log in to comment