34namespace po = boost::program_options;
44 auto m = std::make_unique<TopologyMap>(&in, &out);
45 for (
const auto &mol : mols) {
51 cout <<
"--------------------------------------\n"
52 <<
"WARNING: unknown molecule \"" << mol.getName() <<
"\" with id "
53 << mol.getId() <<
" in topology" << endl
54 <<
"molecule will not be mapped to CG representation\n"
55 <<
"Check weather a mapping file for all molecule exists, was "
57 <<
"separated by ; and the ident tag in xml-file matches the "
59 <<
"--------------------------------------\n";
64 m->AddMoleculeMap(std::move(map));
73 for (
auto &word : tok) {
74 auto def = std::make_unique<CGMoleculeDef>();
std::unique_ptr< TopologyMap > CreateCGTopology(const Topology &in, Topology &out)
CGMoleculeDef * getMoleculeDef(const std::string &name)
std::map< std::string, std::unique_ptr< CGMoleculeDef > > molecule_defs_
bool IsIgnored(const std::string &ident)
checks whether molecule is ignored
void LoadMoleculeType(const std::string &filename)
definition of a coarse grained molecule
Map CreateMap(const Molecule &in, Molecule &out)
Molecule * CreateMolecule(Topology &top)
information about molecules
topology of the whole system
MoleculeContainer & Molecules()
boost::container::deque< Molecule, void, block_molecule_4x_t > MoleculeContainer
base class for all analysis tools