Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(DGModel2D_t), | intent(inout) | :: | this | |||
type(EquationParser), | intent(in) | :: | eqn(1:this%solution%nVar) |
subroutine SetSolutionFromEqn_DGModel2D_t(this,eqn)
implicit none
class(DGModel2D_t),intent(inout) :: this
type(EquationParser),intent(in) :: eqn(1:this%solution%nVar)
! Local
integer :: iVar
! Copy the equation parser
do iVar = 1,this%solution%nVar
call this%solution%SetEquation(ivar,eqn(iVar)%equation)
enddo
call this%solution%SetInteriorFromEquation(this%geometry,this%t)
call this%solution%BoundaryInterp()
endsubroutine SetSolutionFromEqn_DGModel2D_t