The correct answer is: The author uses military terminology to show that this took place during a battle.
This is evidenced by phrases like "military rat-trap" and references to "regiments of Federal infantry," which suggest a military context and setting.