lob 0.6.5
 
Loading...
Searching...
No Matches
lob::Input Struct Reference

Structure of input parameters consumed by the solver. More...

#include <lob.hpp>

Classes

struct  Coriolis
 
struct  Gravity
 Height of the optic above the bore. More...
 
struct  Wind
 

Public Attributes

std::array< uint16_t, kTableSizedrags {}
 The size of drag table.
 
double table_coefficient {NaN()}
 The drag table.
 
double speed_of_sound {NaN()}
 Used to scale the drag table.
 
uint16_t velocity {0}
 The local speed of sound in Fps.
 
double mass {NaN()}
 Initial velocity of projectile in Fps.
 
double optic_height {NaN()}
 Mass of the projectile in pounds.
 
struct lob::Input::Gravity gravity
 
struct lob::Input::Wind wind
 
struct lob::Input::Coriolis corilolis
 
double zero_angle {NaN()}
 
double stability_factor {NaN()}
 Angle between sight and trajectory.
 
double aerodynamic_jump {NaN()}
 Miller stability factor.
 
double spindrift_factor {NaN()}
 Aerodynamic jump effect in Moa.
 
uint16_t minimum_speed {0}
 Spin drift factor.
 
double max_time {NaN()}
 Minimum speed for solver.
 
uint16_t step_size {0}
 Max time of flight for solver.
 
ErrorT error {ErrorT::kNotFormed}
 Step size for solver.
 

Static Public Attributes

static constexpr uint8_t kTableSize {85}
 

Detailed Description

Structure of input parameters consumed by the solver.

Note
This is is not a user-friendly structure. Generate Input using the provided Builder class.

Member Data Documentation

◆ aerodynamic_jump

double lob::Input::aerodynamic_jump {NaN()}

Miller stability factor.

◆ corilolis

struct lob::Input::Coriolis lob::Input::corilolis

◆ drags

std::array<uint16_t, kTableSize> lob::Input::drags {}

The size of drag table.

◆ error

ErrorT lob::Input::error {ErrorT::kNotFormed}

Step size for solver.

◆ gravity

struct lob::Input::Gravity lob::Input::gravity

◆ kTableSize

uint8_t lob::Input::kTableSize {85}
staticconstexpr

◆ mass

double lob::Input::mass {NaN()}

Initial velocity of projectile in Fps.

◆ max_time

double lob::Input::max_time {NaN()}

Minimum speed for solver.

◆ minimum_speed

uint16_t lob::Input::minimum_speed {0}

Spin drift factor.

◆ optic_height

double lob::Input::optic_height {NaN()}

Mass of the projectile in pounds.

◆ speed_of_sound

double lob::Input::speed_of_sound {NaN()}

Used to scale the drag table.

◆ spindrift_factor

double lob::Input::spindrift_factor {NaN()}

Aerodynamic jump effect in Moa.

◆ stability_factor

double lob::Input::stability_factor {NaN()}

Angle between sight and trajectory.

◆ step_size

uint16_t lob::Input::step_size {0}

Max time of flight for solver.

◆ table_coefficient

double lob::Input::table_coefficient {NaN()}

The drag table.

◆ velocity

uint16_t lob::Input::velocity {0}

The local speed of sound in Fps.

◆ wind

struct lob::Input::Wind lob::Input::wind

◆ zero_angle

double lob::Input::zero_angle {NaN()}

The documentation for this struct was generated from the following file: