(a) Any person subject to this chapter who attempts or offers with unlawful force or violence to do bodily harm to another person, whether or not the attempt or offer is consummated, is guilty of assault and shall be punished as a court-martial may direct.
(b) Any person subject to this chapter who–
(1) commits an assault with a dangerous weapon or other means or force likely to produce death or grievous bodily harm; or
(2) commits an assault and intentionally inflicts grievous bodily harm with or without a weapon;
is guilty of aggravated assault and shall be punished as a court-martial may direct.