OpenMD
3.1
Molecular Dynamics in the Open
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
b
c
d
e
f
g
h
i
l
m
n
o
r
s
t
u
v
Functions
c
d
e
f
g
i
l
m
n
o
r
t
u
v
Variables
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Related Symbols
Files
File List
File Members
All
c
g
Functions
c
Variables
c
g
Macros
c
▼
OpenMD
Todo List
Deprecated List
►
Namespaces
►
Classes
▼
Files
▼
File List
►
antlr
►
applications
►
brains
►
clusters
►
constraints
►
flucq
►
forcefields
►
hydrodynamics
►
integrators
▼
io
AtomTypesSectionParser.cpp
AtomTypesSectionParser.hpp
BaseAtomTypesSectionParser.cpp
BaseAtomTypesSectionParser.hpp
basic_teebuf.hpp
BendTypesSectionParser.cpp
BendTypesSectionParser.hpp
BondTypesSectionParser.cpp
BondTypesSectionParser.hpp
ChargeAtomTypesSectionParser.cpp
ChargeAtomTypesSectionParser.hpp
ConstraintWriter.cpp
ConstraintWriter.hpp
DirectionalAtomTypesSectionParser.cpp
DirectionalAtomTypesSectionParser.hpp
DumpReader.cpp
►
DumpReader.hpp
DumpWriter.cpp
DumpWriter.hpp
EAMAtomTypesSectionParser.cpp
EAMAtomTypesSectionParser.hpp
FluctuatingChargeAtomTypesSectionParser.cpp
FluctuatingChargeAtomTypesSectionParser.hpp
ForceFieldOptions.cpp
ForceFieldOptions.hpp
GayBerneAtomTypesSectionParser.cpp
GayBerneAtomTypesSectionParser.hpp
Globals.cpp
Globals.hpp
gzstream.cpp
gzstream.hpp
ifstrstream.cpp
►
ifstrstream.hpp
InversionTypesSectionParser.cpp
InversionTypesSectionParser.hpp
LennardJonesAtomTypesSectionParser.cpp
LennardJonesAtomTypesSectionParser.hpp
MSMSFormat.hpp
MultipoleAtomTypesSectionParser.cpp
MultipoleAtomTypesSectionParser.hpp
NonBondedInteractionsSectionParser.cpp
NonBondedInteractionsSectionParser.hpp
OptionSectionParser.cpp
OptionSectionParser.hpp
ParamConstraint.cpp
ParamConstraint.hpp
PolarizableAtomTypesSectionParser.cpp
PolarizableAtomTypesSectionParser.hpp
RestReader.cpp
►
RestReader.hpp
RestWriter.cpp
RestWriter.hpp
SCAtomTypesSectionParser.cpp
SCAtomTypesSectionParser.hpp
SectionParser.cpp
SectionParser.hpp
SectionParserManager.cpp
SectionParserManager.hpp
ShapeAtomTypesSectionParser.cpp
ShapeAtomTypesSectionParser.hpp
StatWriter.cpp
StatWriter.hpp
StickyAtomTypesSectionParser.cpp
StickyAtomTypesSectionParser.hpp
StickyPowerAtomTypesSectionParser.cpp
StickyPowerAtomTypesSectionParser.hpp
TorsionTypesSectionParser.cpp
TorsionTypesSectionParser.hpp
UFFAtomTypesSectionParser.cpp
UFFAtomTypesSectionParser.hpp
XYZFormat.cpp
XYZFormat.hpp
ZConsReader.cpp
ZConsReader.hpp
ZConsWriter.cpp
ZConsWriter.hpp
►
lattice
►
math
►
mdParser
►
nonbonded
►
optimization
►
parallel
►
perturbations
►
primitives
►
restraints
►
rnemd
►
selection
►
types
►
utils
►
visitors
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
XYZFormat.hpp
1
/**********************************************************************
2
3
This basic Periodic Table class was originally taken from the data.cpp
4
file in OpenBabel. The code has been modified to match the OpenMD coding style.
5
6
We have retained the OpenBabel copyright and GPL license on this class:
7
8
Copyright (C) 1998-2001 by OpenEye Scientific Software, Inc.
9
Some portions Copyright (C) 2001-2005 by Geoffrey R. Hutchison
10
11
This file is part of the Open Babel project.
12
For more information, see <http://openbabel.sourceforge.net/>
13
14
This program is free software; you can redistribute it and/or modify
15
it under the terms of the GNU General Public License as published by
16
the Free Software Foundation version 2 of the License.
17
18
This program is distributed in the hope that it will be useful,
19
but WITHOUT ANY WARRANTY; without even the implied warranty of
20
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21
GNU General Public License for more details.
22
***********************************************************************/
23
24
#ifndef IO_XYZFORMAT_HPP
25
#define IO_XYZFORMAT_HPP
26
27
#ifndef BUFF_SIZE
28
#define BUFF_SIZE 32768
29
#endif
30
31
#include <iostream>
32
#include <string>
33
#include <vector>
34
35
#include "
math/Vector3.hpp
"
36
37
namespace
OpenMD
{
38
struct
XYZAtom
{
39
Vector3d
pos;
40
std::string type;
41
int
atomicNum;
42
RealType charge;
43
};
38
struct
XYZAtom
{
…
};
44
45
class
XYZFormat
{
46
public
:
47
XYZFormat
() {}
48
bool
ReadMolecule(std::istream& ifs);
49
std::vector<XYZAtom*> mol_;
50
std::string title_;
51
};
45
class
XYZFormat
{
…
};
52
}
// namespace OpenMD
53
54
#endif
Vector3.hpp
OpenMD::Vector3< RealType >
OpenMD::XYZFormat
Definition
XYZFormat.hpp:45
OpenMD
This basic Periodic Table class was originally taken from the data.cpp file in OpenBabel.
Definition
ActionCorrFunc.cpp:60
OpenMD::XYZAtom
Definition
XYZFormat.hpp:38
io
XYZFormat.hpp
Generated on Wed Jun 26 2024 13:56:40 for OpenMD by
1.11.0