GetHRGNParam
Tezduyar and coworkers have defined an element length parameter for stabilized finite element methods.
for space-time FEM
where,
or
are the unit vectors.
!!! note ""
In all the interfaces val
is provided as the [[FEVariable_]], which can be a vector or scalar defined either at quadrature or nodal variables.
!!! info "Interface-1"
h
is returned as a vector of reals.
MODULE PURE SUBROUTINE GetHRGNParam(obj, h, val, opt)
CLASS(ElemshapeData_), INTENT(IN) :: obj
!! obj can be an instance of [[STElemshapeData_]]
REAL(DFP), ALLOCATABLE, INTENT(INOUT) :: h( : )
!! h is a scalar, and defined on quadrature points
TYPE(FEVariable_), INTENT(IN) :: val
!! val can be a vector or a scalar
INTEGER(I4B), OPTIONAL, INTENT(IN) :: opt
!! currently, opt is not used, but it may be used in future
END SUBROUTINE GetHRGNParam
!!! info "Interface-2"
h
is returned as a [[FEVariable_]], which is scalar and defined at quadrature points.
MODULE PURE SUBROUTINE GetHRGNParam(obj, h, val, opt)
CLASS(ElemshapeData_), INTENT(IN) :: obj
!! obj can be an instance of [[STElemshapeData_]]
TYPE(FEVariable_), INTENT(INOUT) :: h
!! h is a scalar, and defined on quadrature points
TYPE(FEVariable_), INTENT(IN) :: val
!! val can be a vector or a scalar
INTEGER(I4B), OPTIONAL, INTENT(IN) :: opt
!! currently, opt is not used, but it may be used in future
END SUBROUTINE GetHRGNParam
!!! info "Interface-3"
For space-time FEM, we have following interface:
MODULE PURE SUBROUTINE GetHRGNParam(obj, h, val, opt)
CLASS(STElemshapeData_), INTENT(IN) :: obj(:)
!! Spacetime shape function data, obj(ipt) denotes data at
!! ipt quadrature point in time domain
REAL(DFP), ALLOCATABLE, INTENT(INOUT) :: h( :, : )
!! scalar variable, defined on space-time quadrature points
TYPE(FEVariable_), INTENT(IN) :: val
!! it can be a scalar, defined on space or space-time quadrature points
INTEGER(I4B), OPTIONAL, INTENT(IN) :: opt
END SUBROUTINE GetHRGNParam
MODULE PURE SUBROUTINE GetHRGNParam(obj, h, val, opt)
CLASS(STElemshapeData_), INTENT(IN) :: obj(:)
!! Spacetime shape function data, obj(ipt) denotes data at
!! ipt quadrature point in time domain
TYPE(FEVariable_), INTENT(INOUT) :: h
!! scalar variable, defined on space-time quadrature points
TYPE(FEVariable_), INTENT(IN) :: val
!! it can be a scalar, defined on space or space-time quadrature points
INTEGER(I4B), OPTIONAL, INTENT(IN) :: opt
END SUBROUTINE GetHRGNParam