lob 0.2.2
 
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 the drag table.
 
float table_coefficent
 The drag table.
 
float speed_of_sound {kNaN}
 A coefficient used to scale the drag table.
 
uint16_t velocity {0}
 The local speed of sound in Fps.
 
float mass {kNaN}
 Initial velocity of projectile in Fps.
 
float optic_height {kNaN}
 Mass of the projectile in pounds.
 
struct lob::Input::Gravity gravity
 
struct lob::Input::Wind wind
 
struct lob::Input::Coriolis corilolis
 
float zero_angle
 
float aerodynamic_jump {kNaN}
 Angle between the sight and initial trajectory.
 
float stability_factor {kNaN}
 Aerodynamic jump effect in Moa.
 

Static Public Attributes

static constexpr uint8_t kTableSize
 

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

float lob::Input::aerodynamic_jump {kNaN}

Angle between the sight and initial trajectory.

◆ corilolis

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

◆ drags

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

The size of the drag table.

◆ gravity

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

◆ kTableSize

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

◆ mass

float lob::Input::mass {kNaN}

Initial velocity of projectile in Fps.

◆ optic_height

float lob::Input::optic_height {kNaN}

Mass of the projectile in pounds.

◆ speed_of_sound

float lob::Input::speed_of_sound {kNaN}

A coefficient used to scale the drag table.

◆ stability_factor

float lob::Input::stability_factor {kNaN}

Aerodynamic jump effect in Moa.

◆ table_coefficent

float lob::Input::table_coefficent
Initial value:
{
kNaN}

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

float lob::Input::zero_angle
Initial value:
{
kNaN}

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