oILAB
Loading...
Searching...
No Matches
GbShifts.h
Go to the documentation of this file.
1//
2// Created by Nikhil Chandra Admal on 12/11/23.
3//
4
5#ifndef OILAB_MESOSTATE_H
6#define OILAB_MESOSTATE_H
7
8#include "Gb.h"
9
10namespace oILAB {
11
12template <int dim> class GbShifts {
15
16protected:
17 // static std::vector<LatticeVector<dim>> getGbCslVectors(const Gb<dim>& gb,
18 // const ReciprocalLatticeVector<dim>& axis);
19 static std::vector<std::pair<LatticeVector<dim>, VectorDimD>>
21 const std::vector<LatticeVector<dim>> &gbCslVectors,
22 const double &bhalfMax);
23
24public:
25 const Gb<dim> &gb;
27 const std::vector<LatticeVector<dim>> gbCslVectors;
28 std::vector<std::pair<LatticeVector<dim>, VectorDimD>> bShiftPairs;
29 explicit GbShifts(const Gb<dim> &gb, const ReciprocalLatticeVector<dim> &axis,
30 const std::vector<LatticeVector<dim>> &gbCslVectors,
31 const double &bhalfMax = 1);
32
33 };
34 } // namespace oILAB
35#endif //OILAB_MESOSTATE_H
Definition Gb.h:13
std::vector< std::pair< LatticeVector< dim >, VectorDimD > > bShiftPairs
Definition GbShifts.h:28
typename LatticeCore< dim >::VectorDimD VectorDimD
Definition GbShifts.h:13
const ReciprocalLatticeVector< dim > & axis
Definition GbShifts.h:26
const std::vector< LatticeVector< dim > > gbCslVectors
Definition GbShifts.h:27
const Gb< dim > & gb
Definition GbShifts.h:25
typename LatticeCore< dim >::VectorDimI VectorDimI
Definition GbShifts.h:14
static std::vector< std::pair< LatticeVector< dim >, VectorDimD > > getbShiftPairs(const Gb< dim > &gb, const std::vector< LatticeVector< dim > > &gbCslVectors, const double &bhalfMax)
Definition GbShifts.cpp:66
LatticeVector class.
Eigen::Matrix< IntScalarType, dim, 1 > VectorDimI
Definition LatticeCore.h:23
Eigen::Matrix< double, dim, 1 > VectorDimD
Definition LatticeCore.h:20