Skip to content

Remove deprecated get/setdata from fields#642

Merged
ZedThree merged 1 commit intov4.1-RCfrom
remove-getdata
Aug 15, 2017
Merged

Remove deprecated get/setdata from fields#642
ZedThree merged 1 commit intov4.1-RCfrom
remove-getdata

Conversation

@ZedThree
Copy link
Member

@ZedThree ZedThree commented Aug 9, 2017

Remove the get/setData functions that were deprecated in 4.0

@d7919
Copy link
Member

d7919 commented Aug 9, 2017

Are there any other deprecated routines that we can remove at this point (e.g. field2d::?et?array, solver::addToRestart)?

@ZedThree
Copy link
Member Author

ZedThree commented Aug 9, 2017

addToRestart is the only one that currently gives me a warning, and I'm not sure how much that's used.

Other deprecated stuff can probably just go too.

@bendudson
Copy link
Contributor

I think I'm probably the only one who uses addToRestart, for feedback controller stuff in SD1D and Hermes. I deprecated the function, but can't quite remember what it's supposed to be replaced by...

I think it's a public function so that Solver can call it. What's deprecated is users calling Solver->addToRestart, since restart files are now in PhysicsModel not in Solver.

Perhaps addToRestart could be removed from Solver, and the PhysicsModel function made protected

@d7919
Copy link
Member

d7919 commented Aug 10, 2017

Isn't this PR duplicated in #643 now?

@dschwoerer
Copy link
Contributor

  • I thought breaking changes would only go to major releases (4.0, 5.0 ...)
  • Why is this going directly into 4.1-RC?

@ZedThree
Copy link
Member Author

This is just removal of functions that have been marked deprecated since 4.0, which was more than six months ago now. That should be plenty of time for people to remove them from their code.

Removing marked deprecated functions I think counts as cleaning/tidying :)

@ZedThree ZedThree merged commit 562587c into v4.1-RC Aug 15, 2017
@ZedThree ZedThree deleted the remove-getdata branch August 15, 2017 14:55
@ZedThree ZedThree added this to the BOUT-4.1 milestone Sep 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants