IODA Bundle
odc::sql::function::EqRegionCache Class Reference

#include <EqRegionCache.h>

Inheritance diagram for odc::sql::function::EqRegionCache:
[legend]
Collaboration diagram for odc::sql::function::EqRegionCache:
[legend]

Public Member Functions

 EqRegionCache ()
 
 ~EqRegionCache ()
 
- Public Member Functions inherited from odc::sql::function::RegionCache
 RegionCache ()
 
virtual ~RegionCache ()
 
double get_midlat (const double &, const double &)
 
double get_midlon (const double &, const double &, const double &)
 

Private Member Functions

 EqRegionCache (const EqRegionCache &)
 
EqRegionCacheoperator= (const EqRegionCache &)
 
virtual double get_resol (const double &val)
 
virtual void create_cache (const double &, const int &)
 
int gcd (int, int &)
 
void eq_caps (int &, int &, double[], int[], int *)
 
void bot_cap_region (int &, double &, double[])
 
double circle_offset (int &, int &)
 
void cap_colats (int &, int &, int &, double &, const int[], double[])
 
void round_to_naturals (int &, int &, const double[], int[])
 
double area_of_cap (int &, double &)
 
double area_of_collar (int &, double, double)
 
void ideal_region_list (int &, int &, double &, int &, double[])
 
double area_of_ideal_region (int &, int &)
 
int num_collars (int &, double &, double)
 
double ideal_collar_angle (int &, int &)
 
double sradius_of_cap (int &, double &)
 
double my_gamma (double &)
 
double area_of_sphere (int &)
 
double polar_colat (int &, int &)
 
double eq_area (const double &)
 
double eq_resol (const double &)
 
double eq_n (const double &)
 
void eq_regions (int, int, double[])
 
void sphere_region (int &, double[])
 
void top_cap_region (int &, double &, double[])
 

Additional Inherited Members

- Static Public Member Functions inherited from odc::sql::function::RegionCache
static VectorRegionCacheinstance ()
 

Detailed Description

Todo:
Move these functions to eckit::maths or eckit::geometry, or remove them at all

Definition at line 30 of file EqRegionCache.h.

Constructor & Destructor Documentation

◆ EqRegionCache() [1/2]

odc::sql::function::EqRegionCache::EqRegionCache ( )

Definition at line 32 of file EqRegionCache.cc.

◆ ~EqRegionCache()

odc::sql::function::EqRegionCache::~EqRegionCache ( )

Definition at line 35 of file EqRegionCache.cc.

◆ EqRegionCache() [2/2]

odc::sql::function::EqRegionCache::EqRegionCache ( const EqRegionCache )
private

Member Function Documentation

◆ area_of_cap()

double odc::sql::function::EqRegionCache::area_of_cap ( int &  dim,
double &  s_cap 
)
private

Definition at line 145 of file EqRegionCache.cc.

Here is the caller graph for this function:

◆ area_of_collar()

double odc::sql::function::EqRegionCache::area_of_collar ( int &  dim,
double  a_top,
double  a_bot 
)
private

Definition at line 174 of file EqRegionCache.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ area_of_ideal_region()

double odc::sql::function::EqRegionCache::area_of_ideal_region ( int &  dim,
int &  n 
)
private

Definition at line 232 of file EqRegionCache.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ area_of_sphere()

double odc::sql::function::EqRegionCache::area_of_sphere ( int &  dim)
private

Definition at line 336 of file EqRegionCache.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bot_cap_region()

void odc::sql::function::EqRegionCache::bot_cap_region ( int &  dim,
double &  a_cap,
double  reg[] 
)
private

Definition at line 49 of file EqRegionCache.cc.

Here is the caller graph for this function:

◆ cap_colats()

void odc::sql::function::EqRegionCache::cap_colats ( int &  dim,
int &  n,
int &  n_collars,
double &  c_polar,
const int  n_regions[],
double  c_caps[] 
)
private

Definition at line 94 of file EqRegionCache.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ circle_offset()

double odc::sql::function::EqRegionCache::circle_offset ( int &  n_top,
int &  n_bot 
)
private

Definition at line 72 of file EqRegionCache.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ create_cache()

void odc::sql::function::EqRegionCache::create_cache ( const double &  resol,
const int &  n 
)
privatevirtual

Reimplemented from odc::sql::function::RegionCache.

Definition at line 789 of file EqRegionCache.cc.

Here is the call graph for this function:

◆ eq_area()

double odc::sql::function::EqRegionCache::eq_area ( const double &  rn)
private

Definition at line 753 of file EqRegionCache.cc.

Here is the caller graph for this function:

◆ eq_caps()

void odc::sql::function::EqRegionCache::eq_caps ( int &  dim,
int &  n,
double  s_cap[],
int  n_regions[],
int *  N_collars 
)
private

Definition at line 436 of file EqRegionCache.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ eq_n()

double odc::sql::function::EqRegionCache::eq_n ( const double &  resol)
private

Definition at line 762 of file EqRegionCache.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ eq_regions()

void odc::sql::function::EqRegionCache::eq_regions ( int  dim,
int  n,
double  regs[] 
)
private

Definition at line 537 of file EqRegionCache.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ eq_resol()

double odc::sql::function::EqRegionCache::eq_resol ( const double &  rn)
private

Definition at line 778 of file EqRegionCache.cc.

Here is the call graph for this function:

◆ gcd()

int odc::sql::function::EqRegionCache::gcd ( int  a,
int &  b 
)
private

Definition at line 38 of file EqRegionCache.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_resol()

double odc::sql::function::EqRegionCache::get_resol ( const double &  val)
privatevirtual

Reimplemented from odc::sql::function::RegionCache.

Definition at line 772 of file EqRegionCache.cc.

Here is the call graph for this function:

◆ ideal_collar_angle()

double odc::sql::function::EqRegionCache::ideal_collar_angle ( int &  dim,
int &  n 
)
private

Definition at line 272 of file EqRegionCache.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ideal_region_list()

void odc::sql::function::EqRegionCache::ideal_region_list ( int &  dim,
int &  n,
double &  c_polar,
int &  n_collars,
double  r_regions[] 
)
private

Definition at line 197 of file EqRegionCache.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ my_gamma()

double odc::sql::function::EqRegionCache::my_gamma ( double &  x)
private

Definition at line 292 of file EqRegionCache.cc.

Here is the caller graph for this function:

◆ num_collars()

int odc::sql::function::EqRegionCache::num_collars ( int &  n,
double &  c_polar,
double  a_ideal 
)
private

Definition at line 247 of file EqRegionCache.cc.

Here is the caller graph for this function:

◆ operator=()

EqRegionCache& odc::sql::function::EqRegionCache::operator= ( const EqRegionCache )
private

◆ polar_colat()

double odc::sql::function::EqRegionCache::polar_colat ( int &  dim,
int &  n 
)
private

Definition at line 366 of file EqRegionCache.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ round_to_naturals()

void odc::sql::function::EqRegionCache::round_to_naturals ( int &  n,
int &  n_collars,
const double  r_regions[],
int  n_regions[] 
)
private

Definition at line 123 of file EqRegionCache.cc.

Here is the caller graph for this function:

◆ sphere_region()

void odc::sql::function::EqRegionCache::sphere_region ( int &  dim,
double  reg[] 
)
private

Definition at line 410 of file EqRegionCache.cc.

Here is the caller graph for this function:

◆ sradius_of_cap()

double odc::sql::function::EqRegionCache::sradius_of_cap ( int &  dim,
double &  area 
)
private

Definition at line 346 of file EqRegionCache.cc.

Here is the caller graph for this function:

◆ top_cap_region()

void odc::sql::function::EqRegionCache::top_cap_region ( int &  dim,
double &  a_cap,
double  reg[] 
)
private

Definition at line 386 of file EqRegionCache.cc.

Here is the caller graph for this function:

The documentation for this class was generated from the following files: