Orientations
ClimateMachine.Orientations — ModuleOrientationsOrientation functions:
vertical_unit_vectoraltitudelatitudelongitudegravitational_potentialprojection_normalprojection_tangential
for orientations:
Types
ClimateMachine.Orientations.NoOrientation — TypeNoOrientationNo gravitational force or potential.
ClimateMachine.Orientations.FlatOrientation — TypeFlatOrientation <: OrientationGravity acts in the third coordinate, and the gravitational potential is relative to coord[3] == 0.
ClimateMachine.Orientations.SphericalOrientation — TypeSphericalOrientation <: OrientationGravity acts towards the origin (0,0,0), and the gravitational potential is relative to the surface of the planet.
ClimateMachine.Orientations.sphr_to_cart_vec — Functionsphr_to_cart_vec(orientation::SphericalOrientation, state::Vars, aux::Vars)Projects a vector defined based on unit vectors in spherical coordinates to cartesian unit vectors.
ClimateMachine.Orientations.cart_to_sphr_vec — Functioncart_to_sphr_vec(orientation::SphericalOrientation, state::Vars, aux::Vars)Projects a vector defined based on unit vectors in cartesian coordinates to a spherical unit vectors.