Molecular Dynamics Simulation  1.0
InternalToXSDTypeAdapter.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "io/xml_schemas/checkpoint/checkpoint_schema.h"
4 #include "particles/Particle.h"
5 
7  public:
8  static ParticleType convertToParticle(const Particle& particle);
9 
10  static DoubleVec3Type convertToVector(const std::array<double, 3>& vector);
11 
12  static ConnectedParticlesType convertToConnectedParticles(const std::vector<std::tuple<long, double, double>>& connected_particles);
13 
14  static ConnectedParticleEntryType convertToConnectedParticleEntry(const std::tuple<long, double, double>& entry);
15 };
static ConnectedParticlesType convertToConnectedParticles(const std::vector< std::tuple< long, double, double >> &connected_particles)
static DoubleVec3Type convertToVector(const std::array< double, 3 > &vector)
static ConnectedParticleEntryType convertToConnectedParticleEntry(const std::tuple< long, double, double > &entry)
static ParticleType convertToParticle(const Particle &particle)
Class to represent a particle.
Definition: Particle.h:26