backup_type Derived Type

type, public :: backup_type

粒子备份物理量


Contents

Source Code


Components

Type Visibility Attributes Name Initial
real(kind=rk), public, allocatable :: loc(:,:)

坐标, \( m \)

real(kind=rk), public, allocatable :: vel(:,:)

速度, \( m/s \)

real(kind=rk), public, allocatable :: rho(:)

密度, \( kg/m^3 \)

real(kind=rk), public, allocatable :: p(:)

压强, \( Pa \)


Source Code

    type backup_type
        real(rk), allocatable :: loc(:, :)  !! 坐标, \\( m \\)
        real(rk), allocatable :: vel(:, :)  !! 速度, \\( m/s \\)
        real(rk), allocatable :: rho(:)     !! 密度, \\( kg/m^3 \\)
        real(rk), allocatable :: p(:)       !! 压强, \\( Pa \\)
    end type backup_type