Sets the sample type used in allocation of polymorphic variables.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(marker_set), | intent(inout) | :: | this |
A collection of tessellation elements |
pure subroutine marker_set_SetObjectType(this) !> Sets the sample type used in allocation of polymorphic variables. implicit none class(marker_set), intent(inout) :: this !! A collection of tessellation elements ! Work variable type(marker_obj) :: sample !! My sample allocate(this%sample,source=sample) return end subroutine marker_set_SetObjectType