If it's a muscle and it is hurting - that is myalgia. There's no limitation on the type of pain, nor on the cause. What may be interesting is to tease out if possible, whether it is simply muscle or if other types of connective tissue (tendon, ligament, cartilage, skin etc) that are involved...