![]() |
(git:f8a7171)
|
Define the data structure for the particle information. More...
Data Types | |
| type | particle_type |
Functions/Subroutines | |
| subroutine, public | allocate_particle_set (particle_set, nparticle) |
| Allocate a particle set. | |
| subroutine, public | deallocate_particle_set (particle_set) |
| Deallocate a particle set. | |
| subroutine, public | update_particle_set (particle_set, int_group, pos, vel, for, add) |
| ... | |
| pure real(kind=dp) function, dimension(3), public | get_particle_pos_or_vel (iatom, particle_set, vector) |
| Return the atomic position or velocity of atom iatom in x from a packed vector even if core-shell particles are present. | |
| pure subroutine, public | update_particle_pos_or_vel (iatom, particle_set, x, vector) |
| Update the atomic position or velocity by x and return the updated atomic position or velocity in x even if core-shell particles are present. | |
Define the data structure for the particle information.
| subroutine, public particle_types::allocate_particle_set | ( | type(particle_type), dimension(:), pointer | particle_set, |
| integer, intent(in) | nparticle | ||
| ) |
Allocate a particle set.
| particle_set | ... |
| nparticle | ... |
Definition at line 68 of file particle_types.F.
| subroutine, public particle_types::deallocate_particle_set | ( | type(particle_type), dimension(:), pointer | particle_set | ) |
Deallocate a particle set.
| particle_set | ... |
Definition at line 86 of file particle_types.F.
| subroutine, public particle_types::update_particle_set | ( | type(particle_type), dimension(:), intent(inout) | particle_set, |
| class(mp_comm_type), intent(in) | int_group, | ||
| real(kind=dp), dimension(:, :), intent(inout), optional | pos, | ||
| real(kind=dp), dimension(:, :), intent(inout), optional | vel, | ||
| real(kind=dp), dimension(:, :), intent(inout), optional | for, | ||
| logical, intent(in), optional | add | ||
| ) |
...
| particle_set | ... |
| int_group | ... |
| pos | ... |
| vel | ... |
| for | ... |
| add | ... |
Definition at line 105 of file particle_types.F.
| pure real(kind=dp) function, dimension(3), public particle_types::get_particle_pos_or_vel | ( | integer, intent(in) | iatom, |
| type(particle_type), dimension(:), intent(in) | particle_set, | ||
| real(kind=dp), dimension(:), intent(in) | vector | ||
| ) |
Return the atomic position or velocity of atom iatom in x from a packed vector even if core-shell particles are present.
| iatom | ... |
| particle_set | ... |
| vector | ... |
Definition at line 180 of file particle_types.F.
| pure subroutine, public particle_types::update_particle_pos_or_vel | ( | integer, intent(in) | iatom, |
| type(particle_type), dimension(:), intent(in) | particle_set, | ||
| real(kind=dp), dimension(3), intent(inout) | x, | ||
| real(kind=dp), dimension(:), intent(inout) | vector | ||
| ) |
Update the atomic position or velocity by x and return the updated atomic position or velocity in x even if core-shell particles are present.
| iatom | ... |
| particle_set | ... |
| x | ... |
| vector | ... |
Definition at line 217 of file particle_types.F.