particle_soa_capacity Function

private pure function particle_soa_capacity(this) result(n)

Allocated length of every field array. Always at least size().

Type Bound

particle_soa_t

Arguments

Type IntentOptional Attributes Name
class(particle_soa_t), intent(in) :: this

Container to query.

Return Value integer(kind=default_int)


Source Code

   pure function particle_soa_capacity(this) result(n)
      !! Allocated length of every field array. Always at least `size()`.
      class(particle_soa_t), intent(in) :: this
         !! Container to query.
      integer(default_int) :: n

      n = this%extent%capacity
   end function particle_soa_capacity