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

Functions

void print_cif_file (const MDCell &cell, const std::string &filename, const std::string &frame_comment)
 Write one distributed MD geometry in CIF format, ordered by atom identity.
void print_stru_file (const MDCell &mdcell, const StruMeta &stru_meta, const std::string &fn, const std::string &frame_comment, const bool append, const bool include_force)
 Write an MDCell structure file in STRU format.

Function Documentation

◆ print_cif_file()

void mdcell::print_cif_file ( const MDCell & cell,
const std::string & filename,
const std::string & frame_comment )

Write one distributed MD geometry in CIF format, ordered by atom identity.

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

◆ print_stru_file()

void mdcell::print_stru_file ( const MDCell & mdcell,
const StruMeta & stru_meta,
const std::string & fn,
const std::string & frame_comment,
const bool append,
const bool include_force )

Write an MDCell structure file in STRU format.

Parameters
mdcelldistributed MD cell data [in]
stru_metaspecies/orbital metadata used for the header [in]
fnoutput file path [in]
frame_commentcomment block prepended before the structure header (e.g. "# MD step N\n\n"); pass an empty string for no marker [in]
appendtrue to append the frame to an existing file (out_app_flag == 1 multi-step runs); false truncates [in]
include_forcetrue to write forces in eV/Angstrom [in]
Here is the call graph for this function:
Here is the caller graph for this function: