fastgen

package
v0.0.0-...-022bd34 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBulkModulus

func GetBulkModulus(mat_id int32) float64

func GetDensity

func GetDensity(mat_id int32) float64

func GetElasticModulus

func GetElasticModulus(mat_id int32) float64

func GetYieldStrength

func GetYieldStrength(mat_id int32) float64

func ReadCthreatFile

func ReadCthreatFile(filename string, size float64) []*fragcloud.Fragment

Types

type CthreatDatabase

type CthreatDatabase []*FragmentGroup

func ReadCthreat

func ReadCthreat(filename string) CthreatDatabase

type FragmentGroup

type FragmentGroup struct {
	Thl   float64 // The smallest polar angle in the polarzone.
	Thu   float64 // The largest polar angle in the polarzone.
	Xl    float64 // Polarzone lower edge in inches along the warhead
	Xu    float64 // Polarzone upper edge in inches along the warhead
	Angle float64 // thu - thl
	Num   int     // The number of fragments in this group.
	Shape int     // The shape code for the fragment.
	Mass  float64 // The fragment mass in grains (7000 grains in a lb)
	Ld    float64 // ratio of the length to the diameter L/D
	Mat   int     // The fragement fastgen material id.
	Vel   float64 // The fragment velocity in feet per second
	Pa    float64 // The fragment Presented area in inches^2.
}

func (*FragmentGroup) BulkModulus

func (fg *FragmentGroup) BulkModulus() float64

func (*FragmentGroup) Density

func (fg *FragmentGroup) Density() float64

func (*FragmentGroup) ElasticModulus

func (fg *FragmentGroup) ElasticModulus() float64

func (*FragmentGroup) YieldStrength

func (fg *FragmentGroup) YieldStrength() float64

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL