Vulcan
Aerospace Engineering Utilities Built on Janus
Loading...
Searching...
No Matches
PointMass.hpp File Reference
#include <janus/janus.hpp>
#include <vulcan/core/Constants.hpp>
#include <vulcan/core/VulcanTypes.hpp>
Include dependency graph for PointMass.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  vulcan
namespace  vulcan::gravity
namespace  vulcan::gravity::point_mass

Functions

template<typename Scalar>
Vec3< Scalar > vulcan::gravity::point_mass::acceleration (const Vec3< Scalar > &r_ecef, double mu=constants::earth::mu)
 Point mass gravitational acceleration.
template<typename Scalar>
Scalar vulcan::gravity::point_mass::potential (const Vec3< Scalar > &r_ecef, double mu=constants::earth::mu)
 Point mass gravitational potential.
template<typename Scalar>
Scalar vulcan::gravity::point_mass::acceleration_magnitude (const Scalar &r_mag, double mu=constants::earth::mu)
 Gravitational acceleration magnitude at distance r.