Particle type as definied in NGA
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=WP), | public, | dimension(3) | :: | Acol |
Particle collision force |
||
real(kind=WP), | public, | dimension(3) | :: | Tcol |
Particle collision torque |
||
real(kind=WP), | public | :: | d |
diameter |
|||
real(kind=WP), | public | :: | dt |
time step size |
|||
integer, | public | :: | i |
nearest cell |
|||
integer(kind=leapI8), | public | :: | id |
Identifying number (inactive if <0) |
|||
integer, | public | :: | j |
nearest cell |
|||
integer, | public | :: | k |
nearest cell |
|||
integer, | public | :: | stop |
control parameter |
|||
real(kind=WP), | public | :: | u |
velocity |
|||
real(kind=WP), | public | :: | v |
velocity |
|||
real(kind=WP), | public | :: | w |
velocity |
|||
real(kind=WP), | public | :: | wx |
angular velocity |
|||
real(kind=WP), | public | :: | wy |
angular velocity |
|||
real(kind=WP), | public | :: | wz |
angular velocity |
|||
real(kind=WP), | public | :: | x |
position |
|||
real(kind=WP), | public | :: | y |
position |
|||
real(kind=WP), | public | :: | z |
position |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(MPI_Info), | public | :: | MPI_INFO |
MPI info |
|||
integer, | public | :: | MPI_SIZE |
MPI size of a NGA particle |
|||
type(MPI_DATATYPE), | public | :: | MPI_TYPE |
MPI variable type of a NGA particle |
|||
integer, | public | :: | count |
Total count of particles in file |
|||
real(kind=leapDP), | public | :: | dt |
Time step in file |
|||
type(MPI_File), | public | :: | fid |
File identifier |
|||
character(len=str64), | public | :: | filename |
File to read/write |
|||
type(parallel_obj), | public, | pointer | :: | parallel | => | null() |
Associated parallel structure |
real(kind=leapDP), | public | :: | time |
Time in file |
procedure, public :: Close => ngapart_Close | |
procedure, public :: CreateMPIType => ngapart_CreateMPIType | |
procedure, public :: Finalize => ngapart_Final | |
procedure, public :: GetAttributes => ngapart_GetAttributes | |
procedure, public :: Initialize => ngapart_Init | |
procedure, public :: Open => ngapart_Open | |
procedure, public :: Read => ngapart_Read |
Close file with MPI
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ngapart_obj), | intent(inout) | :: | this |
NGApart object |
Define MPI Type and size for a NGA particle
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ngapart_obj), | intent(inout) | :: | this |
NGApart object |
Finalize structure
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ngapart_obj), | intent(inout) | :: | this |
NGApart object |
Read file attributes
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ngapart_obj), | intent(inout) | :: | this |
NGApart object |
Initialize structuree
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ngapart_obj), | intent(inout) | :: | this |
NGApart object |
||
character(len=*), | intent(in) | :: | filename |
File to read/write |
||
character(len=*), | intent(in) | :: | access_flag |
File access mode |
||
type(parallel_obj), | intent(in), | target | :: | parallel |
Parallel structure |
Open raw NGA part file
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ngapart_obj), | intent(inout) | :: | this |
NGApart object |
||
character(len=*), | intent(in) | :: | flag |
File access mode |
Read NGA particles, convert and store them in LEAP particle structure
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ngapart_obj), | intent(inout) | :: | this |
NGApart object |
||
class(particle_set), | intent(inout) | :: | pp |
LEAP point-particle set |
Read particle data from file in parallel
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(particle_set), | intent(inout) | :: | this |
Lagrangian array to dump |
||
integer, | intent(out) | :: | iter |
Iteration at write |
||
real(kind=wp), | intent(out) | :: | time |
Time at write |