initialize an element and optionally set contents
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_element_type), | intent(out) | :: | me | |||
integer, | intent(in), | optional | :: | length |
subroutine init_element( me, length ) ! --------------------------------------------------------------------------- type( tem_element_type ), intent(out) :: me integer, intent(in), optional :: length ! --------------------------------------------------------------------------- call init( me = me%tID, length = length ) call init( me = me%property, length = length ) call init( me = me%eType, length = length ) call init( me = me%pntTID, length = length ) call init( me = me%stencil, length = length ) call init( me = me%neighID, length = length ) call init( me = me%sourceProc, length = length ) call init( me = me%haloNesting, length = length ) call init( me = me%needsUpdate, length = length ) me%nElems = 0 end subroutine init_element