lob 0.11.0
Exterior ballistics library — API + technical reference
Loading...
Searching...
No Matches
LobContext Struct Reference

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

#include <lob.h>

Public Attributes

double drag_coeff
 Drag coefficient scaling factor.
 
double speed_of_sound
 The local speed of sound 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.
 
double k_lapse
 Projected linear density lapse coeff.
 
double max_time
 Max time of flight for solver.
 
float drags [15 *4]
 Drag curve coefficients.
 
uint16_t velocity
 Initial velocity of projectile in Fps.
 
uint16_t minimum_speed
 Minimum speed for solver.
 
uint16_t step_size
 Solver step size in inches.
 
LobErrorT error
 Error status after build.
 

Detailed Description

Structure of parameters consumed by the solver.

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

Member Data Documentation

◆ aerodynamic_jump

double LobContext::aerodynamic_jump

Aerodynamic jump effect in Moa.

◆ coriolis

LobCoriolis LobContext::coriolis

Coriolis effect parameters.

◆ drag_coeff

double LobContext::drag_coeff

Drag coefficient scaling factor.

◆ drags

float LobContext::drags[15 *4]

Drag curve coefficients.

◆ error

LobErrorT LobContext::error

Error status after build.

◆ gravity

LobGravity LobContext::gravity

Gravity vector.

◆ k_lapse

double LobContext::k_lapse

Projected linear density lapse coeff.

◆ mass

double LobContext::mass

Mass of the projectile in pounds.

◆ max_time

double LobContext::max_time

Max time of flight for solver.

◆ minimum_speed

uint16_t LobContext::minimum_speed

Minimum speed for solver.

◆ optic_height

double LobContext::optic_height

Height of the optic above the bore.

◆ speed_of_sound

double LobContext::speed_of_sound

The local speed of sound in Fps.

◆ spindrift_factor

double LobContext::spindrift_factor

Spin drift factor.

◆ stability_factor

double LobContext::stability_factor

Miller stability factor.

◆ step_size

uint16_t LobContext::step_size

Solver step size in inches.

◆ velocity

uint16_t LobContext::velocity

Initial velocity of projectile in Fps.

◆ wind

LobWind LobContext::wind

Wind vector.

◆ zero_angle

double LobContext::zero_angle

Angle between sight and trajectory.


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