| Line | |
|---|
| 1 | /**
|
|---|
| 2 | * @file interface_particles_cf.hpp
|
|---|
| 3 | * @author Julian Iseringhausen <isering@ins.uni-bonn.de>
|
|---|
| 4 | * @date Fri Sep 16 13:17:36 2011
|
|---|
| 5 | *
|
|---|
| 6 | * @brief Interface for computing forces and energies in
|
|---|
| 7 | * particle systems. Requires a config file.
|
|---|
| 8 | *
|
|---|
| 9 | */
|
|---|
| 10 |
|
|---|
| 11 | #ifndef INTERFACE_PARTICLES_CF_HPP
|
|---|
| 12 | #define INTERFACE_PARTIVLES_CF_HPP
|
|---|
| 13 |
|
|---|
| 14 | #include <vector>
|
|---|
| 15 |
|
|---|
| 16 | #include "base/particle.hpp"
|
|---|
| 17 |
|
|---|
| 18 | namespace VMG
|
|---|
| 19 | {
|
|---|
| 20 |
|
|---|
| 21 | class Grid;
|
|---|
| 22 |
|
|---|
| 23 | class InterfaceParticlesCF
|
|---|
| 24 | {
|
|---|
| 25 | public:
|
|---|
| 26 | InterfaceParticlesCF(const char* filename);
|
|---|
| 27 | private:
|
|---|
| 28 | void LoadDatafile(const std::string& conf_filename, const std::string& data_filename);
|
|---|
| 29 | void CommParticles(const Grid& grid);
|
|---|
| 30 |
|
|---|
| 31 | std::vector<vmg_float> data_vec;
|
|---|
| 32 | };
|
|---|
| 33 |
|
|---|
| 34 | }
|
|---|
| 35 |
|
|---|
| 36 | #endif /* INTERFACE_PARTICLES_CF_HPP */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.