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

Calls

proc~~setequation_dataobj~~CallsGraph proc~setequation_dataobj SetEquation_DataObj equationparser equationparser proc~setequation_dataobj->equationparser

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