amuse icon indicating copy to clipboard operation
amuse copied to clipboard

automatically deduce G constant in particle attributes

Open ipelupessy opened this issue 4 years ago • 2 comments

Is your feature request related to a problem? Please describe. a number of particleset attributes for gravitational systems use either constant.G or nbody_system.G (or generic G), e.g. potential.. the functions currently use a default and you have to specify (everywhere I think) if you use nbody_system

Describe the solution you'd like determine automatically as in https://github.com/amusecode/amuse/commit/fcc16fe3163859789498cfbd1eafe42a74dbc9ee

Additional context its a bit of copy paste, maybe move the derive_G function to amuse.units

ipelupessy avatar Aug 10 '21 10:08 ipelupessy

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

stale[bot] avatar Mar 04 '22 15:03 stale[bot]