Mercurial > repos > public > sbplib
diff +time/Timestepper.m @ 889:f5e14e5986b5 feature/timesteppers
Remove getState from TimeStepper and derived classes
- Currently no need for that functionality. Remove it.
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Thu, 15 Nov 2018 17:29:30 -0800 |
parents | 8894e9c49e40 |
children | a99f00896b8e |
line wrap: on
line diff
--- a/+time/Timestepper.m Thu Nov 15 17:10:01 2018 -0800 +++ b/+time/Timestepper.m Thu Nov 15 17:29:30 2018 -0800 @@ -3,19 +3,11 @@ t k n - % TBD: Decide on accessibility of properties. - % Properties that are not intended to be modified from the outside - % should ideally be made private and the specialized classes should be extended with - % getter functions for their relevant members, e.g v, t, k, etc. end methods (Abstract) % Returns the solution vector v at timestep t. - % TBD: Replace with getters for the separate members if the above suggestion is implemented? [v,t] = getV(obj) - % Returns struct holding relevant state properties for the specialized timestepper. - % E.g [v, t, k]. - state = getState(obj) obj = step(obj) end