#include <mdcell.h>
|
| | MDCell () |
| | ~MDCell () |
| | MDCell (MDCell &&) |
| | MDCell (const MDCell &)=delete |
| MDCell & | operator= (const MDCell &)=delete |
| MDCell & | operator= (MDCell &&) |
| void | initialize_from_owned_atoms (const ModuleBase::Matrix3 &latvec, const ModuleBase::Matrix3 >, double lat0, double omega, std::int64_t nat, const std::vector< LocalAtom > &owned_atoms, const std::vector< std::string > &type_labels, const std::vector< double > &type_masses, const std::vector< std::int64_t > &type_atom_counts, double skin, const ModuleBase::CommunicationDomain &comm_domain) |
| void | set_neighbor_cutoff (double cutoff) |
| bool | has_neighbor_search () const |
| const NeighborSearch & | neighbor_search () const |
| void | set_lattice_geometry (const ModuleBase::Matrix3 &latvec, double lat0) |
| void | refresh_cart_from_frac () |
| void | sync_backing_unitcell (const bool positions_updated) |
| | Copy state; mark a position update only when requested, otherwise preserve the flag.
|
| std::vector< LocalAtom > & | owned_atoms () |
| const std::vector< LocalAtom > & | owned_atoms () const |
| std::vector< LocalAtom > & | ghost_atoms () |
| const std::vector< LocalAtom > & | ghost_atoms () const |
| const std::vector< std::string > & | type_labels () const |
| const std::vector< double > & | type_masses () const |
| const std::vector< std::int64_t > & | type_atom_counts () const |
| const GhostExchangePlan & | get_ghost_exchange_plan () const |
| GhostExchangePlan & | get_ghost_exchange_plan () |
| StruMeta & | mutable_stru_meta () |
| const StruMeta & | stru_meta () const |
| int | nowned_atoms () const |
| int | nghost () const |
| double | cutoff () const |
| bool | has_backing_unitcell () const |
| void | set_backing_unitcell (UnitCell &ucell) |
| UnitCell & | backing_unitcell () |
| const UnitCell & | backing_unitcell () const |
| int | mpi_rank () const |
| int | mpi_size () const |
| MPI_Comm | communicator () const |
| virtual | ~BaseCell ()=default |
| Kind | kind () const |
| std::int64_t | nat () const |
| double | lat0 () const |
| double | omega () const |
| const ModuleBase::Matrix3 & | latvec () const |
| const ModuleBase::Matrix3 & | GT () const |
| void | require_kind (const Kind &expected, const char *caller) const |
◆ MDCell() [1/3]
◆ ~MDCell()
◆ MDCell() [2/3]
◆ MDCell() [3/3]
| MDCell::MDCell |
( |
const MDCell & | | ) |
|
|
delete |
◆ backing_unitcell() [1/2]
◆ backing_unitcell() [2/2]
| const UnitCell & MDCell::backing_unitcell |
( |
| ) |
const |
◆ clear_forces_()
| void MDCell::clear_forces_ |
( |
std::vector< LocalAtom > & | atoms | ) |
|
|
private |
◆ clear_ghost_exchange_plan_()
| void MDCell::clear_ghost_exchange_plan_ |
( |
| ) |
|
|
private |
◆ communicator()
| MPI_Comm MDCell::communicator |
( |
| ) |
const |
|
inline |
◆ cutoff()
| double MDCell::cutoff |
( |
| ) |
const |
|
inline |
◆ get_ghost_exchange_plan() [1/2]
◆ get_ghost_exchange_plan() [2/2]
◆ get_GT()
◆ get_kind()
◆ get_lat0()
| double MDCell::get_lat0 |
( |
| ) |
const |
|
overrideprivatevirtual |
◆ get_latvec()
◆ get_nat()
| std::int64_t MDCell::get_nat |
( |
| ) |
const |
|
overrideprivatevirtual |
◆ get_omega()
| double MDCell::get_omega |
( |
| ) |
const |
|
overrideprivatevirtual |
◆ ghost_atoms() [1/2]
| std::vector< LocalAtom > & MDCell::ghost_atoms |
( |
| ) |
|
|
inline |
◆ ghost_atoms() [2/2]
| const std::vector< LocalAtom > & MDCell::ghost_atoms |
( |
| ) |
const |
|
inline |
◆ has_backing_unitcell()
| bool MDCell::has_backing_unitcell |
( |
| ) |
const |
|
inline |
◆ has_neighbor_search()
| bool MDCell::has_neighbor_search |
( |
| ) |
const |
◆ initialize_from_owned_atoms()
| void MDCell::initialize_from_owned_atoms |
( |
const ModuleBase::Matrix3 & | latvec, |
|
|
const ModuleBase::Matrix3 & | gt, |
|
|
double | lat0, |
|
|
double | omega, |
|
|
std::int64_t | nat, |
|
|
const std::vector< LocalAtom > & | owned_atoms, |
|
|
const std::vector< std::string > & | type_labels, |
|
|
const std::vector< double > & | type_masses, |
|
|
const std::vector< std::int64_t > & | type_atom_counts, |
|
|
double | skin, |
|
|
const ModuleBase::CommunicationDomain & | comm_domain ) |
◆ mpi_rank()
| int MDCell::mpi_rank |
( |
| ) |
const |
◆ mpi_size()
| int MDCell::mpi_size |
( |
| ) |
const |
◆ mutable_stru_meta()
| StruMeta & MDCell::mutable_stru_meta |
( |
| ) |
|
|
inline |
◆ neighbor_search()
◆ nghost()
| int MDCell::nghost |
( |
| ) |
const |
|
inline |
◆ nowned_atoms()
| int MDCell::nowned_atoms |
( |
| ) |
const |
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ owned_atoms() [1/2]
| std::vector< LocalAtom > & MDCell::owned_atoms |
( |
| ) |
|
|
inline |
◆ owned_atoms() [2/2]
| const std::vector< LocalAtom > & MDCell::owned_atoms |
( |
| ) |
const |
|
inline |
◆ refresh_cart_from_frac()
| void MDCell::refresh_cart_from_frac |
( |
| ) |
|
◆ set_backing_unitcell()
| void MDCell::set_backing_unitcell |
( |
UnitCell & | ucell | ) |
|
◆ set_ghost_exchange_plan_()
◆ set_lattice_geometry()
◆ set_neighbor_cutoff()
| void MDCell::set_neighbor_cutoff |
( |
double | cutoff | ) |
|
◆ stru_meta()
| const StruMeta & MDCell::stru_meta |
( |
| ) |
const |
|
inline |
◆ sync_backing_unitcell()
| void MDCell::sync_backing_unitcell |
( |
const bool | positions_updated | ) |
|
Copy state; mark a position update only when requested, otherwise preserve the flag.
◆ sync_backing_unitcell_geometry_()
| void MDCell::sync_backing_unitcell_geometry_ |
( |
| ) |
|
|
private |
◆ type_atom_counts()
| const std::vector< std::int64_t > & MDCell::type_atom_counts |
( |
| ) |
const |
|
inline |
◆ type_labels()
| const std::vector< std::string > & MDCell::type_labels |
( |
| ) |
const |
|
inline |
◆ type_masses()
| const std::vector< double > & MDCell::type_masses |
( |
| ) |
const |
|
inline |
◆ wrap_fractional_()
| double MDCell::wrap_fractional_ |
( |
double | value | ) |
|
|
staticprivate |
◆ DomainDecomposition
◆ backing_unitcell_
| UnitCell* MDCell::backing_unitcell_ = nullptr |
|
private |
◆ comm_
| MPI_Comm MDCell::comm_ = MPI_COMM_NULL |
|
private |
◆ cutoff_
| double MDCell::cutoff_ = 0.0 |
|
private |
◆ ghost_atoms_
◆ ghost_exchange_plan_
◆ ghost_exchange_plan_valid_
| bool MDCell::ghost_exchange_plan_valid_ = false |
|
private |
◆ gt_
◆ lat0_
| double MDCell::lat0_ = 0.0 |
|
private |
◆ latvec_
◆ nat_
| std::int64_t MDCell::nat_ = 0 |
|
private |
◆ neighbor_layout_valid_
| bool MDCell::neighbor_layout_valid_ = false |
|
private |
◆ neighbor_reference_frac_
◆ neighbor_search_
◆ omega_
| double MDCell::omega_ = 0.0 |
|
private |
◆ owned_atoms_
◆ rank_
◆ size_
◆ skin_
| double MDCell::skin_ = 0.0 |
|
private |
◆ stru_meta_
◆ type_atom_counts_
| std::vector<std::int64_t> MDCell::type_atom_counts_ |
|
private |
◆ type_labels_
| std::vector<std::string> MDCell::type_labels_ |
|
private |
◆ type_masses_
| std::vector<double> MDCell::type_masses_ |
|
private |
The documentation for this class was generated from the following files:
- /home/runner/work/abacus-develop/abacus-develop/source/source_cell/mdcell.h
- /home/runner/work/abacus-develop/abacus-develop/source/source_cell/mdcell.cpp