AT.set.user.material.from.composition: AT.set.user.material.from.composition

Description Usage Arguments Value See Also

Description

Initializes user defined material from composition data. 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
2
AT.set.user.material.from.composition(density.g.cm3, Z, A,
 weight.fraction)

Arguments

density.g.cm3

physical density (in g per cm3) of material.

Z

atomic numbers of constituents (array of size n).

A

mass numbers of constituents (array of size n).

weight.fraction

relative fractions of weight of constituents (array of size n).

Value

status

material defined successfully if zero

See Also

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


libamtrack documentation built on May 1, 2019, 6:47 p.m.