sisi4s
Loading...
Searching...
No Matches
UegVertexGenerator.hpp
Go to the documentation of this file.
1#ifndef UEG_VERTEX_GENERATOR_DEFINED
2#define UEG_VERTEX_GENERATOR_DEFINED
3
4#include <array>
5
7
8namespace sisi4s {
9using ivec = std::array<int, 3>;
10using dvec = std::array<double, 4>;
11
13public:
16 UegVertexGenerator(std::vector<Argument> const &argumentList);
17 void run();
18
19 template <typename F>
20 void run();
21
22protected:
23 double evalMadelung(double volume);
24 double Vijji(const dvec a, const dvec b, const double v);
25
27 size_t No, Nv, NF;
28 double rs, madelung;
29};
30} // namespace sisi4s
31
32#endif
#define ALGORITHM_REGISTRAR_DECLARATION(NAME)
Auxiliary macro declaring the algorithm registrar for the algorithm type of the given name....
Definition Algorithm.hpp:169
Definition Algorithm.hpp:26
Definition UegVertexGenerator.hpp:12
double Vijji(const dvec a, const dvec b, const double v)
Definition UegVertexGenerator.cxx:35
size_t Nv
Definition UegVertexGenerator.hpp:27
void run()
Definition UegVertexGenerator.cxx:49
size_t No
Definition UegVertexGenerator.hpp:27
bool halfGrid
Definition UegVertexGenerator.hpp:26
~UegVertexGenerator()
Definition UegVertexGenerator.cxx:47
double madelung
Definition UegVertexGenerator.hpp:28
size_t NF
Definition UegVertexGenerator.hpp:27
double evalMadelung(double volume)
Definition UegVertexGenerator.cxx:10
double rs
Definition UegVertexGenerator.hpp:28
Definition Algorithm.hpp:10
std::array< double, 4 > dvec
Definition UegVertexGenerator.hpp:10
std::array< int, 3 > ivec
Definition UegVertexGenerator.hpp:9