Sets the equation parser for the ivar-th
variable
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(SELF_DataObj), | intent(inout) | :: | this | |||
integer, | intent(in) | :: | ivar | |||
character, | intent(in) | :: | eqnChar |
subroutine SetEquation_DataObj(this,ivar,eqnChar)
!! Sets the equation parser for the `ivar-th` variable
implicit none
class(SELF_DataObj),intent(inout) :: this
integer,intent(in) :: ivar
character(*),intent(in) :: eqnChar
this%eqn(ivar) = EquationParser(trim(eqnChar), &
(/'x','y','z','t'/))
endsubroutine SetEquation_DataObj