SetEquation_DataObj Subroutine

public subroutine SetEquation_DataObj(this, ivar, eqnChar)

Sets the equation parser for the ivar-th variable

Arguments

TypeIntentOptionalAttributesName
class(SELF_DataObj), intent(inout) :: this
integer, intent(in) :: ivar
character, intent(in) :: eqnChar

Contents

Source Code


Source Code

  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