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. Redistributions of source code must retain the above copyright |
11 |
* notice, this list of conditions and the following disclaimer. |
12 |
* |
13 |
* 2. Redistributions in binary form must reproduce the above copyright |
14 |
* notice, this list of conditions and the following disclaimer in the |
15 |
* documentation and/or other materials provided with the |
16 |
* distribution. |
17 |
* |
18 |
* This software is provided "AS IS," without a warranty of any |
19 |
* kind. All express or implied conditions, representations and |
20 |
* warranties, including any implied warranty of merchantability, |
21 |
* fitness for a particular purpose or non-infringement, are hereby |
22 |
* excluded. The University of Notre Dame and its licensors shall not |
23 |
* be liable for any damages suffered by licensee as a result of |
24 |
* using, modifying or distributing the software or its |
25 |
* derivatives. In no event will the University of Notre Dame or its |
26 |
* licensors be liable for any lost revenue, profit or data, or for |
27 |
* direct, indirect, special, consequential, incidental or punitive |
28 |
* damages, however caused and regardless of the theory of liability, |
29 |
* arising out of the use of or inability to use software, even if the |
30 |
* University of Notre Dame has been advised of the possibility of |
31 |
* such damages. |
32 |
* |
33 |
* SUPPORT OPEN SCIENCE! If you use OpenMD or its source code in your |
34 |
* research, please cite the appropriate papers when you publish your |
35 |
* work. Good starting points are: |
36 |
* |
37 |
* [1] Meineke, et al., J. Comp. Chem. 26, 252-271 (2005). |
38 |
* [2] Fennell & Gezelter, J. Chem. Phys. 124, 234104 (2006). |
39 |
* [3] Sun, Lin & Gezelter, J. Chem. Phys. 128, 234107 (2008). |
40 |
* [4] Kuang & Gezelter, J. Chem. Phys. 133, 164101 (2010). |
41 |
* [5] Vardeman, Stocker & Gezelter, J. Chem. Theory Comput. 7, 834 (2011). |
42 |
*/ |
43 |
#ifndef APPLICATION_HYDRODYNAMICS_BEADMODEL_HPP |
44 |
#define APPLICATION_HYDRODYNAMICS_BEADMODEL_HPP |
45 |
|
46 |
#include "applications/hydrodynamics/ApproximationModel.hpp" |
47 |
#include "utils/ElementsTable.hpp" |
48 |
|
49 |
namespace OpenMD { |
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 |