testComposition: Check the existence of a record in the database

Description Usage Arguments Value References See Also Examples

Description

Check that the given chemical composition (Z, Y, [alpha/Fe]) and the mixing-length value exist in the stellar database.

Usage

1
testComposition(Z, Y, ML, AFE)

Arguments

Z

the initial metallicity of the model.

Y

the initial helium abundance of the model.

ML

the mixing-length of the model.

AFE

the alpha-enhanchment of the model. Allowed values are AFE = 0 ([alpha/Fe] = 0.0) or AFE = 1 ([alpha/Fe] = 0.3).

Value

The function returns TRUE if the combination of the inputs exists in the database.

References

M. Dell'Omodarme, G. Valle, S. Degl'Innocenti, and P.G. Prada Moroni (2012). The Pisa Stellar Evolution Data Base for low-mass stars. Astronomy and Astrophysics, 540, A26.

See Also

showComposition.

Examples

1
  testComposition(0.002, 0.25, 1.7, 0)

stellaR documentation built on May 2, 2019, 2:45 a.m.