Types.f90 Source File


This file depends on

sourcefile~~types.f90~~EfferentGraph sourcefile~types.f90 Types.f90 sourcefile~kinds.f90 Kinds.f90 sourcefile~types.f90->sourcefile~kinds.f90

Files dependent on this one

sourcefile~~types.f90~~AfferentGraph sourcefile~types.f90 Types.f90 sourcefile~output.f90 Output.f90 sourcefile~output.f90->sourcefile~types.f90 sourcefile~lua-api.f90 Lua-API.f90 sourcefile~lua-api.f90->sourcefile~types.f90

Contents

Source Code


Source Code

!> 派生类型
module types_m

    use kinds_m, only: rp
    
    !> 域
    type region_t
        integer :: n, m
        real(rp) :: hsml
        real(rp), allocatable :: loc(:, :), vel(:, :), mass(:), rho(:), p(:), u(:)
        integer, allocatable :: itype(:)
    end type region_t

end module types_m