30 out <<
"Print atoms that are read from topology file to help"
31 " debugging atom naming.";
36 "excl",
" display exclusion list instead of molecule list");
45int main(
int argc,
char **argv) {
48 return app.
Exec(argc, argv);
53 cout <<
"Boundary Condition: ";
59 cout <<
"orthorhombic";
65 cout <<
" Box matix:";
66 Eigen::Matrix3d box = top->
getBox();
69 cout <<
" " << box(i, j);
75 cout <<
"\nList of residues:\n";
81 cout <<
"\nList of molecules:\n";
82 for (
const auto &mol : top->
Molecules()) {
83 cout <<
"molecule: " << mol.getId() + 1 <<
" " << mol.getName()
84 <<
" beads: " << mol.BeadCount() << endl;
87 cout << mol.getBeadId(i) <<
" Name " << mol.getBeadName(i) <<
" Type "
88 << mol.getBead(i)->getType() <<
" Mass "
89 << mol.getBead(i)->getMass() <<
" Resnr " << resnr <<
" Resname "
91 << mol.getBead(i)->getQ() << endl;
bool EvaluateTopology(Topology *top, Topology *top_ref) override
called after topology was loaded
bool DoMapping() override
overload and return true to enable mapping command line options
void Initialize() override
Initialize application data.
void HelpText(ostream &out) override
help text of application without version information
bool DoMappingDefault(void) override
if DoMapping is true, will by default require mapping or not
string ProgramName() override
program name
void Initialize() override
Initialize application data.
Index getId() const
get the name of the residue
const std::string & getName() const
get the name of the residue
topology of the whole system
BoundaryCondition::eBoxtype getBoxType() const
Index ResidueCount() const
const Eigen::Matrix3d & getBox() const
ExclusionList & getExclusions()
Residue & getResidue(const Index i)
MoleculeContainer & Molecules()
int main(int argc, char **argv)