MDStressLab++
Loading...
Searching...
No Matches
Configuration.h
Go to the documentation of this file.
1/*
2 * Configuration.h
3 *
4 * Created on: Nov 25, 2019
5 * Author: Nikhil
6 */
7
8#ifndef INCLUDE_MDSTRESSLAB___CONFIGURATION_H_
9#define INCLUDE_MDSTRESSLAB___CONFIGURATION_H_
10
11#include <vector>
12#include <string>
13#include "typedef.h"
14#include <iostream>
15#include <set>
16#include <map>
17
26public:
35 Configuration(int,int);
36 virtual ~Configuration();
37
42
46 std::vector<std::string> species;
47
59 std::map<ConfigType,MatrixXd> coordinates;
60
68
72 Configuration* getLocalConfiguration(const std::set<int>& localParticleList) const;
73};
74
75
76#endif /* INCLUDE_MDSTRESSLAB___CONFIGURATION_H_ */
Represents atomic configuration data including coordinates, velocities, and species.
virtual ~Configuration()
std::vector< std::string > species
Species names for each particle (size equals numberOfParticles).
MatrixXd velocities
Velocities of particles.
int numberOfParticles
Total number of particles in the configuration.
Configuration * getLocalConfiguration(const std::set< int > &localParticleList) const
can be deleted
std::map< ConfigType, MatrixXd > coordinates
Map from configuration type (Reference or Current) to coordinate matrices.
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > MatrixXd
Definition typedef.h:54