subroutine CalculateSolutionGradient_DGModel2D(this)
implicit none
class(DGModel2D),intent(inout) :: this
call this%solution%AverageSides()
call this%solution%MappedDGGradient(this%solutionGradient%interior_gpu)
! interpolate the solutiongradient to the element boundaries
call this%solutionGradient%BoundaryInterp()
! perform the side exchange to populate the
! solutionGradient % extBoundary attribute
call this%solutionGradient%SideExchange(this%mesh)
! populate the solutionGradient % extBoundary attribute on
! nonconforming (mortar) interfaces
if(this%mesh%nMortars > 0) then
call this%solutionGradient%MortarExchange(this%mesh)
endif
endsubroutine CalculateSolutionGradient_DGModel2D