MODFLOW 6
version 6.6.0.dev0
USGS Modular Hydrologic Model
|
Data Types | |
type | particletype |
Particle tracked by the PRT model. More... | |
type | particlestoretype |
Structure of arrays to store particles. More... | |
Functions/Subroutines | |
subroutine, public | create_particle (particle) |
Create a new particle. More... | |
subroutine, public | allocate_particle_store (this, np, mempath) |
Create a new particle store. More... | |
subroutine | deallocate (this, mempath) |
Deallocate particle arrays. More... | |
subroutine | resize (this, np, mempath) |
Reallocate particle arrays. More... | |
subroutine | load_particle (this, store, imdl, iprp, ip) |
Load a particle from the particle store. More... | |
subroutine | save_particle (this, particle, ip) |
Save a particle's state to the particle store. More... | |
subroutine | transform_coords (this, xorigin, yorigin, zorigin, sinrot, cosrot, invert, reset) |
Apply the given global-to-local transformation to the particle. More... | |
subroutine | get_model_coords (this, x, y, z) |
Return the particle's model (global) coordinates. More... | |
integer function | num_stored (this) |
Variables | |
integer, parameter, public | levelmax = 4 |
subroutine, public particlemodule::allocate_particle_store | ( | type(particlestoretype), pointer | this, |
integer(i4b), intent(in) | np, | ||
character(*), intent(in) | mempath | ||
) |
this | store | |
[in] | np | number of particles |
[in] | mempath | path to memory |
Definition at line 119 of file Particle.f90.
subroutine, public particlemodule::create_particle | ( | type(particletype), pointer | particle | ) |
|
private |
subroutine particlemodule::get_model_coords | ( | class(particletype), intent(inout) | this, |
real(dp), intent(out) | x, | ||
real(dp), intent(out) | y, | ||
real(dp), intent(out) | z | ||
) |
[in,out] | this | particle |
[out] | x | x coordinate |
[out] | y | y coordinate |
[out] | z | z coordinate |
Definition at line 337 of file Particle.f90.
|
private |
This routine is used to initialize a particle for tracking. The advancing flag and coordinate transformation are reset.
[in,out] | this | particle |
[in] | store | particle storage |
[in] | imdl | index of model particle originated in |
[in] | iprp | index of particle release package particle originated in |
[in] | ip | index into the particle list |
Definition at line 215 of file Particle.f90.
integer function particlemodule::num_stored | ( | class(particlestoretype) | this | ) |
Definition at line 357 of file Particle.f90.
|
private |
[in,out] | this | particle store |
[in] | np | number of particles |
[in] | mempath | path to memory |
Definition at line 179 of file Particle.f90.
|
private |
[in,out] | this | particle storage |
[in] | ip | particle index |
Definition at line 253 of file Particle.f90.
|
private |
[in,out] | this | particle |
[in] | xorigin | x coordinate of origin |
[in] | yorigin | y coordinate of origin |
[in] | zorigin | z coordinate of origin |
[in] | sinrot | sine of rotation angle |
[in] | cosrot | cosine of rotation angle |
[in] | invert | whether to invert |
[in] | reset | whether to reset |
Definition at line 289 of file Particle.f90.
integer, parameter, public particlemodule::levelmax = 4 |
Definition at line 14 of file Particle.f90.