ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
print_cell.cpp File Reference
#include <regex>
#include <cassert>
#include <algorithm>
#include <cstdint>
#include <limits>
#include <map>
#include <sstream>
#include <stdexcept>
#include "print_cell.h"
#include "source_cell/mdcell.h"
#include "source_base/formatter.h"
#include "source_base/parallel_cell.h"
#include "source_base/tool_title.h"
#include "source_base/tool_quit.h"
#include "source_base/global_variable.h"
#include "source_base/output.h"
#include <mpi.h>
Include dependency graph for print_cell.cpp:

Namespaces

namespace  unitcell
 Free functions for extracting atom/orbital info from Atom array.
namespace  mdcell

Functions

void unitcell::print_tau (Atom *atoms, const std::string &Coordinate, const int ntype, const double lat0, std::ofstream &ofs)
 Print atom positions (tau).
void unitcell::print_stru_file (const UnitCell &ucell, const Atom *atoms, const ModuleBase::Matrix3 &latvec, const std::string &fn, const std::string &header, const int &nspin, const bool &vel, const bool &magmom, const bool &orb, const bool &dpks_desc, const int &iproc, const ModuleBase::matrix &force, const bool &has_force, const bool append)
 Print STRU file according to given settings.
void unitcell::print_cell (const UnitCell &ucell, std::ofstream &ofs)
 Print basic unitcell information to output stream.
StruMeta unitcell::make_stru_meta (const UnitCell &ucell)
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.