#85: CellVariable hasOld() should set self.old
-------------------+--------------------------------------------------------
Reporter: wd15 | Owner:
Type: defect | Status: new
Priority: 1 | Component: None
Version: | Severity: Bugs
Keywords: |
-------------------+--------------------------------------------------------
CellVariable hasOld() should set self.old=self.copy() if self.old is None
and hasOld was not
explicitly set to False in __init__(). This avoids the problem of
forgetting to
set hasOld=True when using sweep() and then sweep() just iterating forward
as if it was a full time
step.
--
Ticket URL: <https://matdl-osi.org/fipy/ticket/85>
FiPy <http://www.ctcms.nist.gov/fipy>
A Finite Volume PDE Solver Using Python