|
Scrambler
1
|
Module containing particle operations for advancing particles. More...
Public Member Functions | |
| subroutine, public | AdvanceParticles |
| Advances positions of particles. | |
Private Member Functions | |
Auxilliary module routines | |
| subroutine | GetGasAcceleration (ParticleList, pos, sink_accel) |
| Calculates the Gas acceleration on a particle using the gas force at the particle's initial position and the gradients of the gas force. | |
| subroutine | CalcSinkAcc (gmasses, pos, sink_accel, dtmax) |
| Calculates the sink particles acceleration. | |
Module containing particle operations for advancing particles.
Definition at line 32 of file particle_advance.f90.
| subroutine, public AdvanceParticles | ( | ) |
Advances positions of particles.
Definition at line 42 of file particle_advance.f90.
| subroutine GetGasAcceleration | ( | TYPE(ParticleListDef), pointer | ParticleList, |
| REAL(KIND=qPREC), dimension(:,:) | pos, | ||
| REAL(KIND=qPREC), dimension(:,:) | sink_accel | ||
| ) | [private] |
Calculates the Gas acceleration on a particle using the gas force at the particle's initial position and the gradients of the gas force.
| ParticleList | List of particles |
| pos | Array of current positions |
| sink_accel | Output array of gas accelerations |
Definition at line 150 of file particle_advance.f90.
| subroutine CalcSinkAcc | ( | REAL(KIND=qPREC), dimension(:) | gmasses, |
| REAL(KIND=qPREC), dimension(:,:) | pos, | ||
| REAL(KIND=qPREC), dimension(:,:) | sink_accel, | ||
| REAL(KIND=qpREC) | dtmax | ||
| ) | [private] |
Calculates the sink particles acceleration.
| gmasses | computational 'GM' for each particle |
| pos | Array of positions |
| sink_accel | Acceleration array to update |
| dtmax | Adjusted based on CFL_LEAPFROG condition |
Definition at line 188 of file particle_advance.f90.