RMPCDMD
|
Spatial cells. More...
Data Types | |
type | cell_system_t |
Functions/Subroutines | |
subroutine | init (this, L, a, has_walls) |
subroutine | count_particles (this, position) |
subroutine | sort_particles (this, position_old, position_new) |
subroutine | random_shift (this, state) |
integer function, dimension(3) | cartesian_indices (this, position) |
Variables | |
integer, parameter, public | periodic_bc = 1 |
integer, parameter, public | bounce_back_bc = 2 |
integer, parameter, public | specular_bc = 3 |
Spatial cells.
This module defines a derived type cell_system_t that contains the information for a 3-dimensional cartesian cell and the associated compact Hilbert index (see module hilbert).
integer function, dimension(3) cell_system::cartesian_indices | ( | class(cell_system_t), intent(in) | this, |
double precision, dimension(3), intent(in) | position | ||
) |
Definition at line 166 of file cell_system.f90.
subroutine cell_system::count_particles | ( | class(cell_system_t), intent(inout) | this, |
double precision, dimension(:, :), intent(in) | position | ||
) |
Definition at line 87 of file cell_system.f90.
|
private |
Definition at line 50 of file cell_system.f90.
|
private |
Definition at line 154 of file cell_system.f90.
subroutine cell_system::sort_particles | ( | class(cell_system_t), intent(inout) | this, |
double precision, dimension(:, :), intent(in) | position_old, | ||
double precision, dimension(:, :), intent(out) | position_new | ||
) |
Definition at line 132 of file cell_system.f90.
integer, parameter, public cell_system::bounce_back_bc = 2 |
Definition at line 44 of file cell_system.f90.
integer, parameter, public cell_system::periodic_bc = 1 |
Definition at line 43 of file cell_system.f90.
integer, parameter, public cell_system::specular_bc = 3 |
Definition at line 45 of file cell_system.f90.