NPTCRescaleState¶
- class torch_sim.integrators.npt.NPTCRescaleState(*, positions, masses, cell, pbc, atomic_numbers, system_idx=None, _constraints=<factory>, _system_extras=<factory>, _atom_extras=<factory>, _rng=None, momenta, energy, forces, stress, isothermal_compressibility, tau_p, initial_cell, initial_cell_inv, initial_volume)[source]¶
Bases:
NPTStateState for NPT ensemble with cell rescaling barostat.
This class extends the NPTState to include variables and properties specific to the NPT ensemble with a cell rescaling barostat.
- Parameters:
positions (Tensor)
masses (Tensor)
cell (Tensor)
pbc (Tensor)
atomic_numbers (Tensor)
system_idx (Tensor)
_constraints (list[Constraint])
momenta (Tensor)
energy (Tensor)
forces (Tensor)
stress (Tensor)
isothermal_compressibility (Tensor)
tau_p (Tensor)
initial_cell (Tensor)
initial_cell_inv (Tensor)
initial_volume (Tensor)