geoana.gravity.Prism#
- class geoana.gravity.Prism(min_location, max_location, rho=1.0)#
Class for gravitational solutions for a prism.
The
Prism
class is used to analytically compute the gravitational potentials, fields, and gradients for a prism with constant denisty.- Parameters:
- min_location(3,) array_like
(x, y, z) triplet of the minimum locations in each dimension
- max_location(3,) array_like
(x, y, z) triplet of the maximum locations in each dimension
- rhofloat, optional
Density of prism (\(\frac{kg}{m^3}\)).
Attributes
The center of the prism
The mass of the prism
Location of the point mass.
Location of the point mass.
The density of the prism.
The volume of the prism
Methods
gravitational_field
(xyz)Gravitational field due to a prism.
Gravitational gradient due to a prism.
Gravitational potential due to a prism.