Delete all entries in the stencil
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_stencilHeader_type), | intent(out) | :: | me |
stencil header type to empty |
subroutine empty_stencil( me ) ! -------------------------------------------------------------------- ! !> stencil header type to empty type( tem_stencilHeader_type ), intent(out) :: me ! -------------------------------------------------------------------- ! me%QQ = 0 me%QQN = 0 me%nDims = 0 if( allocated( me%cxDir )) deallocate( me%cxDir ) if( allocated( me%cxDirRK )) deallocate( me%cxDirRK ) if( allocated( me%cxDirInv )) deallocate( me%cxDirInv ) if( allocated( me%cxcx )) deallocate( me%cxcx ) if( allocated( me%map )) deallocate( me%map ) if ( me%elem%nVals > 0 ) call destroy( me%elem ) if( allocated( me%elemLvl )) deallocate( me%elemLvl ) end subroutine empty_stencil