spx_pif_h5part Module

读写粒子二进制文件



Contents


Variables

Type Visibility Attributes Name Initial
type(pif_h5part_type), public :: pif_obj

粒子二进制文件对象


Derived Types

type, private ::  pif_h5part_type

粒子二进制文件对象

Read more…

Components

Type Visibility Attributes Name Initial
integer(kind=8), private :: fid

输出文件句柄

integer, private :: fid_stat

stat.csv 文件句柄

integer, private :: fid_float

float.csv 文件句柄

integer, public, pointer :: numbers(:)

弹性实、刚性浮体实、边界虚、总粒子数,刚性浮体数量

integer, public, pointer :: float_objects(:,:)

浮体对象

integer, public :: nreal

实粒子数

integer(kind=8), public :: istep

步数

type(particle_type), public, pointer :: ptc

粒子集

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

Type-Bound Procedures

procedure , public , :: close Subroutine
procedure , public , :: open Subroutine
procedure , public , :: write Subroutine
procedure , public , :: read Subroutine

Subroutines

private subroutine read(self, region)

读取粒子二进制文件

Arguments

Type IntentOptional Attributes Name
class(pif_h5part_type), intent(inout) :: self
type(particle_type), intent(inout), target :: region

private subroutine open(self)

打开

Arguments

Type IntentOptional Attributes Name
class(pif_h5part_type), intent(inout) :: self

private subroutine close(self)

关闭

Arguments

Type IntentOptional Attributes Name
class(pif_h5part_type), intent(inout) :: self

private subroutine write(self, t)

写入

Arguments

Type IntentOptional Attributes Name
class(pif_h5part_type), intent(inout) :: self
real(kind=rk), intent(in) :: t