针对实粒子进行密度求和:
1. 连续密度法;
2. 正则密度求和法;
3. 密度求和法。
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| type(density_summation), | public | :: | dsm_obj |
密度求和对象 |
Density summation
密度求和
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(particle_type), | intent(inout) | :: | particle |
particle |
||
| type(nnps_pairs_type), | intent(in) | :: | pairs |
particle pairs |
||
| integer, | intent(in) | :: | n |
实弹性粒子数, numbers(1) |
密度求和
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| procedure(density_summation_fcn), | public, | pointer, nopass | :: | density |
密度求和函数指针 |
| procedure , public , :: init Subroutine |
对所有实粒子粒子进行非正则化密度求和
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(particle_type), | intent(inout) | :: | particle |
区域 |
||
| type(nnps_pairs_type), | intent(in) | :: | pairs |
粒子对 |
||
| integer, | intent(in) | :: | n |
实弹性粒子数 |
Normalized density summation
对所有粒子进行正则化密度求和法
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(particle_type), | intent(inout) | :: | particle |
particle |
||
| type(nnps_pairs_type), | intent(in) | :: | pairs |
particle pairs |
||
| integer, | intent(in) | :: | n |
实弹性粒子数, numbers(1) |
Continuous density summation
基于连续性方程的连续密度法,计算密度的增量以在时间积分算法中更新密度值
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(particle_type), | intent(inout) | :: | particle |
particle |
||
| type(nnps_pairs_type), | intent(in) | :: | pairs |
particle pairs |
||
| integer, | intent(in) | :: | n |
实弹性粒子数, numbers(1) |