Get
Get
Get node number and nodal value from the boundary condition.
@GetMethodsInterface
INTERFACE
MODULE SUBROUTINE Get(obj, nodeNum, nodalValue, times)
CLASS(AbstractBC_), INTENT(IN) :: obj
INTEGER(I4B), ALLOCATABLE, INTENT(INOUT) :: nodeNum(:)
REAL(DFP), OPTIONAL, ALLOCATABLE, INTENT(INOUT) :: nodalValue(:, :)
REAL(DFP), OPTIONAL, INTENT(IN) :: times(:)
END SUBROUTINE Get
END INTERFACE
nodeNumnodeNum(:) is the global node number of boundary nodes where boundary conditions is prescribed
nodalValue- If present
nodalValue(:,:)then nodal values of prescribed boundary conditions are returned. - The row size of
nodalValueis always equal to the size ofnodeNum. - The number of columns in
nodalValuedepends upon thenodalValueType. IfnodalValueTypeisTimeorSpaceTime, then the column size is equal to the size oftimes(if present) otherwise 1.
info
If IsUserFunction is true then func is used for computing the nodal values at the boundary.
note
If IsUserFunction is false then nodalValue should be allocated. In this case, this function checks the nodalValueType, and accordingly returns nodalValue .