#include <algorithm>
#include <cmath>
#include <string>
#include <AMReX_BoxArray.H>
#include <AMReX_REAL.H>
#include <AMReX_Vector.H>
Go to the source code of this file.
◆ invert_latlon_offset()
64 const amrex::Real scale = std::max(std::max(std::abs(dlat_di), std::abs(dlon_di)),
65 std::max(std::abs(dlat_dj), std::abs(dlon_dj)));
66 const amrex::Real det = dlat_di*dlon_dj - dlat_dj*dlon_di;
70 di = ( dlat*dlon_dj - dlon*dlat_dj) / det;
71 dj = (-dlat*dlon_di + dlon*dlat_di) / det;
amrex::Real Real
Definition: ERF_ShocInterface.H:19
real(c_double), private di
Definition: ERF_module_mp_morr_two_moment.F90:203
Referenced by ERF::resolve_station_positions().