Opened 16 years ago

Closed 16 years ago

#293 closed enhancement (fixed)

File_boundary and Field_boundary to be able to continue past their time interval

Reported by: ole Owned by: ole
Priority: highest Milestone:
Component: Functionality and features Version:
Severity: normal Keywords:
Cc:

Description

Equip File_boundary and Field_boundary with a default keyword argument which can be either None or an object which should be a subclass of Generic_boundary.

The functionality should be such that when the boundary object attemps to evaluate then a try-except construct will catch the condition when model time exceeds time interval in the boundary and pass on control to the default boundary object if specified. If default is None - reraise the Exception.

Change History (3)

comment:1 Changed 16 years ago by ole

  • Priority changed from normal to highest

comment:2 Changed 16 years ago by ole

This was done in changeset:5657

comment:3 Changed 16 years ago by ole

  • Resolution set to fixed
  • Status changed from new to closed

A bug was found where the default_boundary was repeatedly added to by Field_boundary. The reason turned out to be that a reference to the data inside Dirichlet was passed all the way out to Field_boundary and any adjustment actually changed the Dirichlet data. The bug was demonstrated in a new test, fixed by copying the memory block before passing it on and the manual was update. This happened in changeset:5672

Note: See TracTickets for help on using tickets.