Skip to main content

Set

Set the value of boundary condition.

@SetMethods

Interface

INTERFACE Set
MODULE SUBROUTINE bc_Set(obj, constantNodalValue, spaceNodalValue, &
& timeNodalValue, spaceTimeNodalValue, userFunction)
CLASS(AbstractBC_), INTENT(INOUT) :: obj
REAL(DFP), OPTIONAL, INTENT(IN) :: constantNodalValue
REAL(DFP), OPTIONAL, INTENT(IN) :: spaceNodalValue(:)
REAL(DFP), OPTIONAL, INTENT(IN) :: timeNodalValue(:)
REAL(DFP), OPTIONAL, INTENT(IN) :: spaceTimeNodalValue(:, :)
TYPE(UserFunction_), POINTER, OPTIONAL, INTENT(IN) :: userFunction
END SUBROUTINE bc_Set
END INTERFACE Set
constantNodalValue

When the AbstractBC_ is configured for nodalValueType=Constant, we must provide constantNodalValue.

spaceNodalValue

When the AbstractBC_ is configured for nodalValueType=Space, we must provide spaceNodalValue.

timeNodalValue

When the AbstractBC_ is configured for nodalValueType=Time, we must provide timeNodalValue.

spaceTimeNodalValue

When the AbstractBC_ is configured for nodalValueType=SpaceTime, we must provide spaceTimeNodalValue.

userFunction

When the AbstractBC_ is configured for isUserFunction=True, we must provide userFunction.