function BeamCMCalc input beamXProperty xprop; input Real L = 2.0; output Real[3] r_CM; end BeamCMCalc;