ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
MDCellAdapter Namespace Reference

Functions

void initialize_from_stru (MDCell &mdcell, DomainDecomposition &decomp, const std::string &stru_file, const std::vector< int > &cell_replica, bool md_restart, double neighbor_skin_angstrom, std::ofstream &running_log)
void initialize_backed_from_unitcell (MDCell &mdcell, DomainDecomposition &decomp, UnitCell &ucell)
 Initialize MD for a solver that continues to use a long-lived UnitCell.
void initialize_from_unitcell (MDCell &mdcell, DomainDecomposition &decomp, const UnitCell &ucell, double skin, const ModuleBase::CommunicationDomain &domain)
void sync_geometry_from_unitcell (MDCell &mdcell, const UnitCell &ucell)
void collect_full_forces (MDCell &mdcell, DomainDecomposition &decomp, const UnitCell &ucell, ModuleBase::matrix &full_force)

Function Documentation

◆ collect_full_forces()

void MDCellAdapter::collect_full_forces ( MDCell & mdcell,
DomainDecomposition & decomp,
const UnitCell & ucell,
ModuleBase::matrix & full_force )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ initialize_backed_from_unitcell()

void MDCellAdapter::initialize_backed_from_unitcell ( MDCell & mdcell,
DomainDecomposition & decomp,
UnitCell & ucell )

Initialize MD for a solver that continues to use a long-lived UnitCell.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ initialize_from_stru()

void MDCellAdapter::initialize_from_stru ( MDCell & mdcell,
DomainDecomposition & decomp,
const std::string & stru_file,
const std::vector< int > & cell_replica,
bool md_restart,
double neighbor_skin_angstrom,
std::ofstream & running_log )

Initialize the direct MDCell workflow from a STRU frame. Restart frames already contain the replicated cell; the skin is supplied in Angstrom.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ initialize_from_unitcell()

void MDCellAdapter::initialize_from_unitcell ( MDCell & mdcell,
DomainDecomposition & decomp,
const UnitCell & ucell,
double skin,
const ModuleBase::CommunicationDomain & domain )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sync_geometry_from_unitcell()

void MDCellAdapter::sync_geometry_from_unitcell ( MDCell & mdcell,
const UnitCell & ucell )
Here is the caller graph for this function: