Skip to main content

Get

Get the entries from scalar field.

Calling examples:

Getting single entry
CALL Get(
CLASS(ScalarFieldLis_):: obj
REAL(DFP):: VALUE
INTEGER(I4B):: globalNode
)
Getting all entries
CALL Get(
CLASS(ScalarFieldLis_):: obj
REAL(DFP):: VALUE(:)
)
Getting multiple entries
CALL Get(
CLASS(ScalarFieldLis_):: obj
REAL(DFP):: VALUE(:)
INTEGER(I4B):: globalNode(:)
)
Getting multiple entries
CALL Get(
CLASS(ScalarFieldLis_):: obj
REAL(DFP):: VALUE(:)
INTEGER(I4B):: istart
INTEGER(I4B):: iend
INTEGER(I4B):: stride
)
Getting multiple entries
CALL Get(
CLASS(ScalarFieldLis_):: obj
TYPE(FEVariable_):: VALUE
INTEGER(I4B):: globalNode(:)
)
Getting all entries
CALL Get(
CLASS(ScalarFieldLis_):: obj
CLASS(ScalarField_):: VALUE
)

Interface 1

INTERFACE
MODULE SUBROUTINE get1(obj, VALUE, globalNode)
CLASS(ScalarFieldLis_), INTENT(IN) :: obj
REAL(DFP), INTENT(INOUT) :: VALUE
INTEGER(I4B), INTENT(IN) :: globalNode
END SUBROUTINE get1
END INTERFACE

Get a single entry.

Interface 2

INTERFACE
MODULE SUBROUTINE get2(obj, VALUE)
CLASS(ScalarFieldLis_), INTENT(IN) :: obj
REAL(DFP), ALLOCATABLE, INTENT(INOUT) :: VALUE(:)
END SUBROUTINE get2
END INTERFACE

Get all entries in a vector of reals.

Interface 3

INTERFACE
MODULE SUBROUTINE get3(obj, VALUE, globalNode)
CLASS(ScalarFieldLis_), INTENT(IN) :: obj
REAL(DFP), ALLOCATABLE, INTENT(INOUT) :: VALUE(:)
INTEGER(I4B), INTENT(IN) :: globalNode(:)
END SUBROUTINE get3
END INTERFACE

Get multiple entries.

Interface 4

INTERFACE
MODULE SUBROUTINE get4(obj, VALUE, istart, iend, stride)
CLASS(ScalarFieldLis_), INTENT(IN) :: obj
REAL(DFP), ALLOCATABLE, INTENT(INOUT) :: VALUE(:)
INTEGER(I4B), INTENT(IN) :: istart
INTEGER(I4B), INTENT(IN) :: iend
INTEGER(I4B), INTENT(IN) :: stride
END SUBROUTINE get4
END INTERFACE

Get multiple entries by using triplets.

Interface 5

INTERFACE
MODULE SUBROUTINE get5(obj, VALUE, globalNode)
CLASS(ScalarFieldLis_), INTENT(IN) :: obj
TYPE(FEVariable_), INTENT(INOUT) :: VALUE
!! Scalar Nodal FEVariable
INTEGER(I4B), INTENT(IN) :: globalNode(:)
END SUBROUTINE get5
END INTERFACE

Get multiple entries in FEVariable

Interface 6

INTERFACE
MODULE SUBROUTINE get6(obj, VALUE)
CLASS(ScalarFieldLis_), INTENT(IN) :: obj
CLASS(ScalarField_), INTENT(INOUT) :: VALUE
END SUBROUTINE get6
END INTERFACE

Get a scalarfield in an instance of scalar field.