-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathJBasis.hh
More file actions
35 lines (24 loc) · 752 Bytes
/
JBasis.hh
File metadata and controls
35 lines (24 loc) · 752 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef JBasis_h
#include <vector>
#include "NuBasis.hh"
#include "NuProj.hh"
#include "JMState.hh"
using namespace std;
class JBasis
{
public:
int J2,M2;
int N_p, N_n;
// vector<JMState> basis_states;
vector<array<int,4>> basis_states;
vector<JMState> jmstates_a, jmstates_b;
vector<MschemeOrbit> m_orbits;
JBasis();
JBasis(int j2, int m2);
JBasis( string sps_file, vector<string> proton_files, vector<string> neutron_files, int j2, int m2 );
void SetupBasis( string sps_file, vector<string> A_files, vector<string> B_files);
void SetUpJMState_ab( string sps_file, vector<string> filenames, vector<JMState>& jmstates, vector<int>& offsets);
JMState GetBasisState(size_t index) const;
};
#define JBasis_h
#endif