AT.set.user.material: AT.set.user.material

Description Usage Arguments Value See Also

View source: R/libamtrack.R

Description

Initializes user defined material. The material can then be used with material index number 0. !Be aware! that is definition is only valid during run-time. When the library is reloaded, the default settings are restored and the material is removed.

Usage

1
AT.set.user.material(density.g.cm3, I.eV, average.A, average.Z)

Arguments

density.g.cm3

physical density in g per cm3.

I.eV

I value in eV.

average.A

average mass number.

average.Z

average atomic number.

Value

status

material defined successfully if zero

See Also

View the C source code here: http://sourceforge.net/apps/trac/libamtrack/browser/trunk/src/AT_DataMaterial.c#L479


libamtrack documentation built on May 31, 2017, 2:37 a.m.