Skip to content

Commit

Permalink
Removing extension points for addContribution in PythonAbstractForceM…
Browse files Browse the repository at this point in the history
…odel as not sure about the use-case.
  • Loading branch information
petrushy committed Jul 18, 2023
1 parent 186a529 commit 1f8ff45
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/main/java/org/orekit/forces/PythonAbstractForceModel.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,23 +42,6 @@ public void finalize()
/** Part of JCC Python interface to object */
public native void pythonDecRef();

@Override
public native void addContribution(SpacecraftState s, TimeDerivativesEquations adder);

@Override
public <T extends CalculusFieldElement<T>> void addContribution(FieldSpacecraftState<T> s, FieldTimeDerivativesEquations<T> adder) {
this.addContribution_FF(s, adder);
}

/** Compute the contribution of the force model to the perturbing
* acceleration.
* @param s current state information: date, kinematics, attitude
* @param adder object where the contribution should be added
* @param <T> type of the elements
*/
public native <T extends CalculusFieldElement<T>> void addContribution_FF(FieldSpacecraftState<T> s, FieldTimeDerivativesEquations<T> adder);



/**
* Check if force models depends on position only.
Expand Down

0 comments on commit 1f8ff45

Please sign in to comment.