particle_soa_serialized_bytes Function

private pure function particle_soa_serialized_bytes(this) result(nbytes)

Exact size in bytes of the stream serialize would write now.

Type Bound

particle_soa_t

Arguments

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

Container to measure.

Return Value integer(kind=int64)


Calls

proc~~particle_soa_serialized_bytes~~CallsGraph proc~particle_soa_serialized_bytes particle_soa_t%particle_soa_serialized_bytes proc~soa_stream_bytes soa_stream_bytes proc~particle_soa_serialized_bytes->proc~soa_stream_bytes proc~record_bytes record_bytes proc~soa_stream_bytes->proc~record_bytes proc~soa_field_tag soa_field_tag proc~soa_stream_bytes->proc~soa_field_tag proc~element_bytes element_bytes proc~record_bytes->proc~element_bytes

Source Code

   pure function particle_soa_serialized_bytes(this) result(nbytes)
      !! Exact size in bytes of the stream `serialize` would write now.
      class(particle_soa_t), intent(in) :: this
         !! Container to measure.
      integer(int64) :: nbytes

      nbytes = soa_stream_bytes(PARTICLE_SOA_SCHEMA, this%extent%used, &
                                PARTICLE_SOA_FIELD_KINDS)
   end function particle_soa_serialized_bytes