amuse icon indicating copy to clipboard operation
amuse copied to clipboard

remove set_acceleration from all interfaces

Open rieder opened this issue 2 years ago • 1 comments

fixes #862

rieder avatar Oct 05 '23 08:10 rieder

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 28 days if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Dec 04 '23 10:12 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 28 days if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Mar 01 '24 23:03 stale[bot]

I'm not sure if I'm supposed to be reviewing PRs, but why not? Maybe we should discuss that actually, what the process is that we're using.

There's a bit of context missing from the description, but I'm guessing from the comment in community/interface/gd.py that this was physically unsound, and is therefore being removed?

I'm seeing a few more files with set_acceleration in them that should probably be updated too:

  • src/amuse/community/mpiamrvac/interface.py
  • src/amuse/community/mpiamrvac/interface.t
  • src/amuse/test/suite/core_tests/test_bridge.py
  • src/amuse/test/suite/codes_tests/test_mpiamrvac.py
  • doc/tutorial/simplegrav/interface_1.cc
  • doc/reference/stellar_dynamics_interface_specification.rst

LourensVeen avatar Mar 02 '24 11:03 LourensVeen

I'm not sure if I'm supposed to be reviewing PRs, but why not? Maybe we should discuss that actually, what the process is that we're using.

There's a bit of context missing from the description, but I'm guessing from the comment in community/interface/gd.py that this was physically unsound, and is therefore being removed?

Yes, that's correct. The codes will always overwrite the acceleration, so setting this is misleading.

I'm seeing a few more files with set_acceleration in them that should probably be updated too:

* `src/amuse/community/mpiamrvac/interface.py`

* `src/amuse/community/mpiamrvac/interface.t`

* `src/amuse/test/suite/core_tests/test_bridge.py`

* `src/amuse/test/suite/codes_tests/test_mpiamrvac.py`

In these cases it seems to be used in a different way, maybe needs to be addressed but that would be a different PR.

* `doc/tutorial/simplegrav/interface_1.cc`

* `doc/reference/stellar_dynamics_interface_specification.rst`

Updated.

rieder avatar Apr 24 '24 13:04 rieder