Calculation of axially symmetric cavities and jets.