| 1 |
|
/********************************************************************** |
| 2 |
|
Copyright (C) 2000 by OpenEye Scientific Software, Inc. |
| 3 |
< |
Some portions Copyright (C) 2001-2005 by Geoffrey R. Hutchison |
| 3 |
> |
Some portions Copyright (C) 2001-2006 by Geoffrey R. Hutchison |
| 4 |
|
Some portions Copyright (C) 2004 by Chris Morley |
| 5 |
< |
Some portions Copyright (C) 2008 by J. Daniel Gezelter |
| 5 |
> |
Some portions Copyright (C) 2008-2009 by J. Daniel Gezelter |
| 6 |
|
|
| 7 |
|
This program is free software; you can redistribute it and/or modify |
| 8 |
|
it under the terms of the GNU General Public License as published by |
| 40 |
|
virtual const char* Description() //required |
| 41 |
|
{ |
| 42 |
|
return |
| 43 |
< |
"OpenMD combined meta-data / cartesian coordinates format\nNo comments yet\n"; |
| 43 |
> |
"OpenMD combined meta-data / cartesian coordinates format\n\ |
| 44 |
> |
No comments yet\n"; |
| 45 |
|
}; |
| 46 |
|
|
| 47 |
|
virtual const char* SpecificationURL() |
| 212 |
|
OBMol* pmol = mols[i]; |
| 213 |
|
map<OBAtom*, int> atomMap; |
| 214 |
|
|
| 215 |
< |
chainParser->PerceiveChains(*pmol, false); |
| 215 |
> |
//chainParser->PerceiveChains(*pmol, false); |
| 216 |
|
molIsWater = false; |
| 217 |
|
FOR_RESIDUES_OF_MOL(residue, *pmol) { |
| 218 |
|
std::cerr << "residue = " << residue->GetName() << "\n"; |
| 354 |
|
} |
| 355 |
|
os << " atom[" << ai << "] { "; |
| 356 |
|
os << "type = " << "\"" << str1 << "\"" << "; "; |
| 357 |
+ |
os << "position( " << (&*atom)->GetX() << ", " << (&*atom)->GetY() << ", " << (&*atom)->GetZ() << ");"; |
| 358 |
|
os << "}\n"; |
| 359 |
|
atomMap[&(*atom)] = ai++; |
| 360 |
|
} |