| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(external_force_type), | intent(inout) | :: | self | |||
| type(particle_type), | intent(in) | :: | particle |
particle |
||
| type(nnps_pairs_type), | intent(in) | :: | pairs |
Pairs |
||
| real(kind=rk), | intent(inout) | :: | acc(:,:) |
Acceleration |
||
| integer, | intent(in) | :: | n |
实粒子数, nreal |
Solve the external force
外力求解,涉及重力和边界力