| Procedure | Location | Procedure Type | Description |
|---|---|---|---|
| artificial_viscosity | spx_artifical_force | Subroutine | Artificial viscosity |
| calc | spx_nnps_pairs | Subroutine | 计算 dW/dX |
| check | spx_memory | Subroutine | 检查是否粒子发生坍塌聚集 |
| close | spx_pif_h5part | Subroutine | 关闭 |
| contact_control | spx_contact_control | Function | 每个相态仅支持一种粒子模拟, 边界和刚体是表面光滑的 (目前, 后续可以扩展为: 用户在配置文件中指定粒子类型交互规则) |
| continuous_density_summation | spx_density_summation | Subroutine | Continuous density summation |
| create_backup | spx_particle | Subroutine | 创建备份 |
| cross_product_local | spx_float_object | Function | 简单叉乘, 2 维叉乘 |
| cross_product_local2 | spx_float_object | Function | 简单叉乘 2, @tocheck \( \omega \cdot r \) |
| cubic_spline_kernel | spx_smoothed_kernel_function | Subroutine | Smoothed kernel function: Cubic spline |
| denormalized_density_summation | spx_density_summation | Subroutine | 对所有实粒子粒子进行非正则化密度求和 |
| destory | spx_logger | Subroutine | 关闭 |
| extend | spx_nnps_pairs | Subroutine | 拓展内存空间, |
| external_force_with_gravity | spx_external_force | Subroutine | 含重力、排斥力的外力求解 |
| external_force_without_gravity | spx_external_force | Subroutine | 排斥力的外力求解 (无重力) |
| get_acc | spx_float_object | Subroutine | 获取浮体受力,更新浮体的加速度 |
| get_distance | spx_math | Subroutine | 粒子之间的距离 (distance) |
| get_sound_speed | spx_eos | Subroutine | Calculate sound speed |
| init | spx_density_summation | Subroutine | 初始化 |
| init | spx_smoothed_kernel_function | Subroutine | 建立光滑核函数句柄 |
| init | spx_time_integration | Subroutine | 初始化时间积分器 |
| init | spx_eos | Subroutine | 初始化 |
| init | spx_external_force | Subroutine | 初始化 |
| init | spx_nnps_pairs | Subroutine | 初始化内存空间 |
| init | spx_logger | Subroutine | 初始化 |
| init | spx_float_object | Subroutine | 初始化浮体的质量、质心、转动惯量、速度、角速度 |
| init | spx_memory | Subroutine | 初始化 |
| internal_force_with_visc | spx_internal_force | Subroutine | Internal force function with viscosity |
| internal_force_without_visc | spx_internal_force | Subroutine | Internal force function without viscosity |
| ioc_print | spx_configuration | Subroutine | 打印输入输出参数 |
| ioc_read | spx_configuration | Subroutine | 读取输入输出参数 |
| normalized_density_summation | spx_density_summation | Subroutine | Normalized density summation |
| open | spx_pif_h5part | Subroutine | 打开 |
| p_ideal_gas | spx_eos | Subroutine | 应用状态方程通过密度和能量计算理想气体压力和声速 |
| p_solid_le | spx_solid_EoS | Subroutine | 固体力学线性弹性模型 |
| p_solid_tait | spx_solid_EoS | Subroutine | 固体力学 Tait 方程 |
| p_solid_vonMises | spx_solid_EoS | Subroutine | 固体力学 von Mises 模型 |
| p_water_monaghan | spx_eos | Subroutine | Suitable for free surface flow |
| p_water_morris | spx_eos | Subroutine | Not suitable for free surface flow |
| p_water_tait | spx_eos | Subroutine | Suitable for free surface flow |
| parse | spx_command_line | Subroutine | 初始化和解析命令行参数 |
| quintic_spline_kernel | spx_smoothed_kernel_function | Subroutine | Smoothed kernel function: Quintic spline |
| read | spx_pif_h5part | Subroutine | 读取粒子二进制文件 |
| read | spx_pif_namelist | Subroutine | 读取 pif.nml 文件 |
| report | spx_memory | Subroutine | 报告 |
| restore_backup | spx_particle | Subroutine | 从备份中恢复 |
| run | spx_module | Subroutine | sph求解器 |
| run | spx_time_integration | Subroutine | 时间积分 |
| solver | spx_dynamics | Subroutine | 求解实弹性、刚性粒子单步的加速度(受力) |
| spc_print | spx_configuration | Subroutine | 打印sph参数 |
| spc_read | spx_configuration | Subroutine | 读取sph参数 |
| tic_print | spx_configuration | Subroutine | 打印时间积分参数 |
| tic_read | spx_configuration | Subroutine | 读取时间积分参数 |
| update | spx_stat | Subroutine | |
| update_particle_init | spx_float_object | Subroutine | 初始化leapfrog算法,基于加速度,推进速度半步长 |
| update_particle_step | spx_float_object | Subroutine | 更新粒子, 速度比位移、加速度快半步长 |
| write | spx_pif_h5part | Subroutine | 写入 |