My Project
 All Classes Functions Variables Pages
crystalfields.h
1 #ifndef CRYSTALFIELDS_H
2 #define CRYSTALFIELDS_H
3 #define _USE_MATH_DEFINES
4 
5 #include <cmath>
6 #include "array.h"
7 #include <gsl/gsl_rng.h>
9 {
10 public:
11  CrystalFields(double a, double c, int na, int nc);
12  double B_FeSeIntercalated_fm(double m, int cycles);
13  double B_FeSeIntercalated_fm_Li(double m, int cycles);
14  double* Vzz_FeSe(double q, double alpha, double SeVacancies, int cycles);
15  double* Vzz_FeSe_excessFe(double q, double alpha,
16  double SeVacancies, int cycles,
17  double FeExcess, double zFeExcess);
18 private:
19  void add_dipol_B(double x, double y, double z, double phi, double theta, double m, double *B);
20  void add_point_charge(double x, double y, double z, double q, double *Vzz);
21  double a,c;
22  int Na,Nc;
23  double mu_0;
24  const gsl_rng_type * T;
25  gsl_rng * r;
26 
27 };
28 
29 #endif // CRYSTALFIELDS_H
Definition: crystalfields.h:8