ciaaw_naw

NAME
LIBRARY
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO

NAME

naw - function

LIBRARY

ciaaw library (libciaaw, -lciaaw)

SYNOPSIS

Fortran

function naw(s,A,u)result(res)

character(len=*), intent(in) :: s

integer(int32), intent(in) :: A

logical, intent(in), optional :: u

real(dp) :: res

C

double ciaaw_naw(char *s,int n,int A,bool u);

Python

naw(s:str,A:int,u:bool=False)->float:

DESCRIPTION

Get the atomic weight of the nuclide s for the mass number A. The uncertainty can be retrieved by setting u=TRUE.

Arguments:

s

Element symbol.

A

Mass number.

u

Set to True if the uncertainty is desired. Default to FALSE.

RETURN VALUE

NaN

If the provided element or the mass number are incorrect.

-1

If the element does not have a NAW.

SEE ALSO

ciaaw(3), ciaaw_cli(1), ciaaw_version(3), ciaaw_saw(3), ciaaw_ice(3), ciaaw_nice(3), ciaaw_naw(3), ciaaw_nnaw(3)