Function helpme::cartAddress

Function Documentation

static int helpme::cartAddress(int lx, int ly, int lz)

cartAddress computes the address of a term with given quantum numbers in a Cartesian buffer.

Parameters:
  • lx – the x quantum number.

  • ly – the y quantum number.

  • lz – the z quantum number.

Returns:

the address of an {lx, ly, lz} quantity in a buffer that contains all lower angular momentum terms too.