Skip to content

Periodic BC initialization fails silently #72

Description

@kubagalecki

Periodic BC initialization can fail, e.g., when the offset vector is specified incorrectly. Currently, this failure mode is silent and the program continues without notifying the user that periodic BCs were not imposed. Instead, an exception should be thrown. The logic enforcing this is faulty, there's a bug somewhere in the vicinity of:

util::throwingAssert(c.size() > 1, "Unmatched node");

TODO:

  • fix bug
  • write test to check that an exception is thrown

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions