Mathematical Model for the Flow with Submerged and Emerged Rigid Vegetation