221 Star 934 Fork 688

GVPMindSpore/mindscience

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
sponge.function.VelocityGenerator.rst 1022 Bytes
一键复制 编辑 原始数据 按行查看 历史
luxingyu2023 提交于 2年前 . modify api

sponge.function.VelocityGenerator

.. py:class:: sponge.function.VelocityGenerator(temperature: float = 300, remove_translation: bool = True, seed: int = 0, seed2: int = 0, length_unit: str = None, energy_unit: str = None)

    根据温度产生系统中原子的速度。

    参数:
        - **temperature** (float) - 温度。默认值: ``300.0`` 。
        - **remove_translation** (bool) - 是否在基于周期性边界条件的情况下计算距离。默认值: ``True`` 。
        - **seed** (int) - 标准常态下的随机种子。默认值: ``0`` 。
        - **seed2** (int) - 标准常态下的随机种子2。默认值: ``0`` 。
        - **length_unit** (str) - 长度单位。默认值: ``None`` 。
        - **energy_unit** (str) - 能量单位。默认值: ``None`` 。

    .. py:method:: set_temperature(temperature: float)

        设定温度。

        参数:
            - **temperature** (float) - 温度值。
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mindspore/mindscience.git
git@gitee.com:mindspore/mindscience.git
mindspore
mindscience
mindscience
master

搜索帮助