lob 0.8.0
 
Loading...
Searching...
No Matches
LobInput Struct Reference

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

#include <lob.h>

Public Attributes

uint16_t drags [LOB_TABLE_SIZE]
 The drag table.
 
double table_coefficient
 Used to scale the drag table.
 
double speed_of_sound
 The local speed of sound in Fps.
 
uint16_t velocity
 Initial velocity of projectile in Fps.
 
double mass
 Mass of the projectile in pounds.
 
double optic_height
 Height of the optic above the bore.
 
LobGravity gravity
 Gravity vector.
 
LobWind wind
 Wind vector.
 
LobCoriolis coriolis
 Coriolis effect parameters.
 
double zero_angle
 Angle between sight and trajectory.
 
double stability_factor
 Miller stability factor.
 
double aerodynamic_jump
 Aerodynamic jump effect in Moa.
 
double spindrift_factor
 Spin drift factor.
 
uint16_t minimum_speed
 Minimum speed for solver.
 
double max_time
 Max time of flight for solver.
 
uint16_t step_size
 Step size for solver.
 
LobErrorT error
 Builder error field.
 

Detailed Description

Structure of input parameters consumed by the solver.

Note
This is not a user-friendly structure. Generate LobInput using the provided LobBuilder.

Member Data Documentation

◆ aerodynamic_jump

double LobInput::aerodynamic_jump

Aerodynamic jump effect in Moa.

◆ coriolis

LobCoriolis LobInput::coriolis

Coriolis effect parameters.

◆ drags

uint16_t LobInput::drags[LOB_TABLE_SIZE]

The drag table.

◆ error

LobErrorT LobInput::error

Builder error field.

◆ gravity

LobGravity LobInput::gravity

Gravity vector.

◆ mass

double LobInput::mass

Mass of the projectile in pounds.

◆ max_time

double LobInput::max_time

Max time of flight for solver.

◆ minimum_speed

uint16_t LobInput::minimum_speed

Minimum speed for solver.

◆ optic_height

double LobInput::optic_height

Height of the optic above the bore.

◆ speed_of_sound

double LobInput::speed_of_sound

The local speed of sound in Fps.

◆ spindrift_factor

double LobInput::spindrift_factor

Spin drift factor.

◆ stability_factor

double LobInput::stability_factor

Miller stability factor.

◆ step_size

uint16_t LobInput::step_size

Step size for solver.

◆ table_coefficient

double LobInput::table_coefficient

Used to scale the drag table.

◆ velocity

uint16_t LobInput::velocity

Initial velocity of projectile in Fps.

◆ wind

LobWind LobInput::wind

Wind vector.

◆ zero_angle

double LobInput::zero_angle

Angle between sight and trajectory.


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