Skip to content

Commit

Permalink
Add C function for potential evaluation of GaussianAmplitudeWrapper (…
Browse files Browse the repository at this point in the history
…for the new way the actionAngle C glue works)
  • Loading branch information
jobovy committed Mar 1, 2018
1 parent dc30791 commit cba20ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions galpy/orbit_src/orbit_c_ext/integrateFullOrbit.c
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ void parse_leapFuncArgs_Full(int npot,
potentialArgs->nargs= (int) 5;
break;
case -5: //GaussianAmplitudeWrapperPotential
potentialArgs->potentialEval= &GaussianAmplitudeWrapperPotentialEval;
potentialArgs->Rforce= &GaussianAmplitudeWrapperPotentialRforce;
potentialArgs->zforce= &GaussianAmplitudeWrapperPotentialzforce;
potentialArgs->phiforce= &GaussianAmplitudeWrapperPotentialphiforce;
Expand Down

0 comments on commit cba20ed

Please sign in to comment.