ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-4/src/applications/hydrodynamics/BeadModel.hpp
Revision: 2734
Committed: Tue Apr 25 13:35:42 2006 UTC (18 years, 2 months ago) by gezelter
File size: 2625 byte(s)
Log Message:
Using OpenBabel element table to pick vdw radii for hydrodynamics
if the LJ sigma can't be found.

File Contents

# Content
1
2 /*
3 * Copyright (c) 2005 The University of Notre Dame. All Rights Reserved.
4 *
5 * The University of Notre Dame grants you ("Licensee") a
6 * non-exclusive, royalty free, license to use, modify and
7 * redistribute this software in source and binary code form, provided
8 * that the following conditions are met:
9 *
10 * 1. Acknowledgement of the program authors must be made in any
11 * publication of scientific results based in part on use of the
12 * program. An acceptable form of acknowledgement is citation of
13 * the article in which the program was described (Matthew
14 * A. Meineke, Charles F. Vardeman II, Teng Lin, Christopher
15 * J. Fennell and J. Daniel Gezelter, "OOPSE: An Object-Oriented
16 * Parallel Simulation Engine for Molecular Dynamics,"
17 * J. Comput. Chem. 26, pp. 252-271 (2005))
18 *
19 * 2. Redistributions of source code must retain the above copyright
20 * notice, this list of conditions and the following disclaimer.
21 *
22 * 3. Redistributions in binary form must reproduce the above copyright
23 * notice, this list of conditions and the following disclaimer in the
24 * documentation and/or other materials provided with the
25 * distribution.
26 *
27 * This software is provided "AS IS," without a warranty of any
28 * kind. All express or implied conditions, representations and
29 * warranties, including any implied warranty of merchantability,
30 * fitness for a particular purpose or non-infringement, are hereby
31 * excluded. The University of Notre Dame and its licensors shall not
32 * be liable for any damages suffered by licensee as a result of
33 * using, modifying or distributing the software or its
34 * derivatives. In no event will the University of Notre Dame or its
35 * licensors be liable for any lost revenue, profit or data, or for
36 * direct, indirect, special, consequential, incidental or punitive
37 * damages, however caused and regardless of the theory of liability,
38 * arising out of the use of or inability to use software, even if the
39 * University of Notre Dame has been advised of the possibility of
40 * such damages.
41 */
42 #ifndef APPLICATION_HYDRODYNAMICS_BEADMODEL_HPP
43 #define APPLICATION_HYDRODYNAMICS_BEADMODEL_HPP
44
45 #include "applications/hydrodynamics/ApproximationModel.hpp"
46 #include "openbabel/mol.hpp"
47
48 using namespace OpenBabel;
49 namespace oopse {
50
51 class BeadModel : public ApproximationModel {
52 public:
53 BeadModel(StuntDouble* sd, SimInfo* info) : ApproximationModel(sd, info) {}
54 private:
55 virtual bool createBeads(std::vector<BeadParam>& beads);
56 bool createSingleBead(Atom* atom, std::vector<BeadParam>& beads);
57 };
58
59 }
60
61 #endif

Properties

Name Value
svn:executable *