与 spx-prepost 交换粒子信息梗概
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| type(pif_namelist), | public, | target | :: | pnl_obj | |||
| character(len=*), | private, | parameter | :: | pif_nml_file | = | 'pif.nml' |
pif.nml 文件数据
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | public | :: | numbers(5) |
弹性实、刚性浮体实、边界虚、总粒子数,刚性浮体数量 |
|||
| integer, | public, | allocatable | :: | float_objects(:,:) |
刚性浮体粒子编号 |
||
| real(kind=rk), | public | :: | hsml |
光滑长度 |
| procedure , public , :: read Subroutine |
读取 pif.nml 文件
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(pif_namelist), | intent(inout) | :: | self |