set_n Subroutine

private pure elemental subroutine set_n(this, n)

Type Bound

ImageGeneration

Arguments

Type IntentOptional Attributes Name
class(ImageGeneration), intent(inout) :: this
integer, intent(in) :: n

Called by

proc~~set_n~2~~CalledByGraph proc~set_n~2 foropenai_ImageGeneration::ImageGeneration%set_n proc~create_image foropenai_ImageGeneration::ImageGeneration%create_image proc~create_image->proc~set_n~2 proc~set_imagegeneration_data foropenai_ImageGeneration::ImageGeneration%set_ImageGeneration_data proc~set_imagegeneration_data->proc~set_n~2 program~test_imagegeneration test_ImageGeneration program~test_imagegeneration->proc~create_image program~test_imagegeneration->proc~set_imagegeneration_data

Source Code

   elemental pure subroutine set_n(this, n)
      class(ImageGeneration), intent(inout) :: this
      integer,                intent(in)    :: n
      this%n = n
   end subroutine set_n