Refactor for AB4

This commit is contained in:
2022-04-27 19:00:45 +02:00
parent 60ea5aa6f4
commit cf188f1b2d
10 changed files with 159 additions and 211 deletions

View File

@ -1,14 +1,16 @@
// A cosmic system that is composed of a central named body (of type 'NamedBodyForcePair')
// and an arbitrary number of subsystems (of type 'HierarchicalSystem') in its orbit.
// This class implements 'CosmicSystem'.
//
/**
* A cosmic system that is composed of a central named body (of type 'NamedBodyForcePair')
* and an arbitrary number of subsystems (of type 'HierarchicalSystem') in its orbit.
* This class implements 'CosmicSystem'.
*/
public class HierarchicalSystem /* TODO: add clause */ {
// TODO: define missing parts of this class.
// Initializes this system with a name and a central body.
/**
* Initializes this system with a name and a central body.
*/
public HierarchicalSystem(NamedBodyForcePair central, CosmicSystem... inOrbit) {
// TODO: implement constructor.
}
}