#include <snap_calculator.h>
|
| | CellAccumulator (std::size_t atom_count) |
| void | add (std::size_t center_index, const std::vector< std::size_t > &neighbor_indices, const std::vector< Neighbor > &neighbors, const ForceResult &result) |
| double | energy () const |
| const std::vector< std::array< double, 3 > > & | forces () const |
| const std::array< double, 9 > & | virial () const |
◆ CellAccumulator()
| ModuleMD::SNAP::CellAccumulator::CellAccumulator |
( |
std::size_t | atom_count | ) |
|
|
explicit |
◆ add()
| void ModuleMD::SNAP::CellAccumulator::add |
( |
std::size_t | center_index, |
|
|
const std::vector< std::size_t > & | neighbor_indices, |
|
|
const std::vector< Neighbor > & | neighbors, |
|
|
const ForceResult & | result ) |
◆ energy()
| double ModuleMD::SNAP::CellAccumulator::energy |
( |
| ) |
const |
◆ forces()
| const std::vector< std::array< double, 3 > > & ModuleMD::SNAP::CellAccumulator::forces |
( |
| ) |
const |
◆ virial()
| const std::array< double, 9 > & ModuleMD::SNAP::CellAccumulator::virial |
( |
| ) |
const |
◆ energy_
| double ModuleMD::SNAP::CellAccumulator::energy_ = 0.0 |
|
private |
◆ forces_
| std::vector<std::array<double, 3> > ModuleMD::SNAP::CellAccumulator::forces_ |
|
private |
◆ virial_
| std::array<double, 9> ModuleMD::SNAP::CellAccumulator::virial_ |
|
private |
The documentation for this class was generated from the following files:
- /home/runner/work/abacus-develop/abacus-develop/source/source_md/module_snap/snap_calculator.h
- /home/runner/work/abacus-develop/abacus-develop/source/source_md/module_snap/snap_calculator.cpp