Document BD stellar code