#include <XLogicalLattice.hh>
|
| | XLogicalLattice () |
| |
| | ~XLogicalLattice () |
| |
| void | SetDynamicalConstants (double, double, double, double) |
| |
| void | SetScatteringConstant (G4double) |
| |
| void | SetAnhDecConstant (G4double) |
| |
| void | SetLDOS (double) |
| |
| void | SetSTDOS (double) |
| |
| void | SetFTDOS (double) |
| |
| double | GetBeta () |
| |
| double | GetGamma () |
| |
| double | GetLambda () |
| |
| double | GetMu () |
| |
| G4double | GetScatteringConstant () |
| |
| G4double | GetAnhDecConstant () |
| |
| double | GetLDOS () |
| |
| double | GetSTDOS () |
| |
| double | GetFTDOS () |
| |
| bool | LoadMap (int, int, int, string) |
| |
| bool | Load_NMap (int, int, int, string) |
| |
| double | MapKtoV (int, G4ThreeVector) |
| |
| G4ThreeVector | MapKtoVDir (int, G4ThreeVector) |
| |
Definition at line 40 of file XLogicalLattice.hh.
◆ XLogicalLattice()
| XLogicalLattice::XLogicalLattice |
( |
| ) |
|
◆ ~XLogicalLattice()
| XLogicalLattice::~XLogicalLattice |
( |
| ) |
|
◆ GetAnhDecConstant()
| G4double XLogicalLattice::GetAnhDecConstant |
( |
| ) |
|
◆ GetBeta()
| double XLogicalLattice::GetBeta |
( |
| ) |
|
◆ GetFTDOS()
| double XLogicalLattice::GetFTDOS |
( |
| ) |
|
◆ GetGamma()
| double XLogicalLattice::GetGamma |
( |
| ) |
|
◆ GetLambda()
| double XLogicalLattice::GetLambda |
( |
| ) |
|
◆ GetLDOS()
| double XLogicalLattice::GetLDOS |
( |
| ) |
|
◆ GetMu()
| double XLogicalLattice::GetMu |
( |
| ) |
|
◆ GetScatteringConstant()
| G4double XLogicalLattice::GetScatteringConstant |
( |
| ) |
|
◆ GetSTDOS()
| double XLogicalLattice::GetSTDOS |
( |
| ) |
|
◆ Load_NMap()
| bool XLogicalLattice::Load_NMap |
( |
int |
tRes, |
|
|
int |
pRes, |
|
|
int |
polarizationState, |
|
|
string |
m |
|
) |
| |
Definition at line 227 of file XLogicalLattice.cc.
233 G4cout<<
"\nk-V map exceeds maximum resolution of "<<
MAXRES<<
234 " by "<<
MAXRES<<
" terminating."<<endl;
244 if(!
fMapFile.is_open())
return false;
246 for(
int theta = 0; theta<
fThetaRes; theta++){
247 for(
int phi = 0; phi<
fPhiRes; phi++){
248 for(
int coord = 0; coord<3; coord++){
255 G4cout<<
"\nXLogicalLattice::Load_NMap() sucessful"<<endl;
G4GLOB_DLL std::ostream G4cout
double fN_map[3][MAXRES][MAXRES][3]
◆ LoadMap()
| bool XLogicalLattice::LoadMap |
( |
int |
tRes, |
|
|
int |
pRes, |
|
|
int |
polarizationState, |
|
|
string |
m |
|
) |
| |
Definition at line 190 of file XLogicalLattice.cc.
196 G4cout<<
"\nk-V fMap exceeds maximum resolution of "<<
MAXRES<<
197 " by "<<
MAXRES<<
". terminating."<<endl;
207 if(!
fMapFile.is_open())
return false;
209 for(
int theta = 0; theta<
fThetaRes; theta++){
210 for(
int phi = 0; phi<
fPhiRes; phi++){
215 G4cout<<
"\nXLogicalLattice::LoadMap() sucessful (Vg scalars)."<<endl;
double fMap[3][MAXRES][MAXRES]
G4GLOB_DLL std::ostream G4cout
◆ MapKtoV()
| double XLogicalLattice::MapKtoV |
( |
int |
polarizationState, |
|
|
G4ThreeVector |
k |
|
) |
| |
Definition at line 265 of file XLogicalLattice.cc.
271 double theta, phi, tRes, pRes;
280 if(phi<0) phi = phi + 2*
pi;
281 if(theta>pi) theta=theta-
pi;
283 if(
fMap[polarizationState][
int(theta/tRes)][
int(phi/pRes)]==0){
284 G4cout<<
"\nFound v=0 for polarization "<<polarizationState
285 <<
" theta "<<theta<<
" phi "<<phi<<
" translating to map coords " 286 <<
"theta "<< int(theta/tRes) <<
" phi " << int(phi/pRes)<<endl;
289 return fMap[polarizationState][int(theta/tRes)][int(phi/pRes)];
double fMap[3][MAXRES][MAXRES]
G4GLOB_DLL std::ostream G4cout
◆ MapKtoVDir()
Definition at line 296 of file XLogicalLattice.cc.
302 double theta, phi, tRes, pRes;
310 if(theta>
pi) theta=theta-
pi;
312 if(phi<0) phi = phi + 2*
pi;
314 G4int iTheta = int(theta/tRes+0.5);
315 G4int iPhi = int(phi/pRes+0.5);
319 fN_map[polarizationState][iTheta][iPhi][1],
320 fN_map[polarizationState][iTheta][iPhi][2]);
double fN_map[3][MAXRES][MAXRES][3]
◆ SetAnhDecConstant()
| void XLogicalLattice::SetAnhDecConstant |
( |
G4double |
a | ) |
|
◆ SetDynamicalConstants()
| void XLogicalLattice::SetDynamicalConstants |
( |
double |
Beta, |
|
|
double |
Gamma, |
|
|
double |
Lambda, |
|
|
double |
Mu |
|
) |
| |
◆ SetFTDOS()
| void XLogicalLattice::SetFTDOS |
( |
double |
FTDOS | ) |
|
◆ SetLDOS()
| void XLogicalLattice::SetLDOS |
( |
double |
LDOS | ) |
|
◆ SetScatteringConstant()
| void XLogicalLattice::SetScatteringConstant |
( |
G4double |
b | ) |
|
◆ SetSTDOS()
| void XLogicalLattice::SetSTDOS |
( |
double |
STDOS | ) |
|
◆ fA
| double XLogicalLattice::fA |
|
private |
◆ fB
| double XLogicalLattice::fB |
|
private |
◆ fBeta
| double XLogicalLattice::fBeta |
|
private |
◆ fDosFT
| double XLogicalLattice::fDosFT |
|
private |
◆ fDosL
| double XLogicalLattice::fDosL |
|
private |
◆ fDosST
| double XLogicalLattice::fDosST |
|
private |
◆ fDresPhi
| int XLogicalLattice::fDresPhi |
|
private |
◆ fDresTheta
| int XLogicalLattice::fDresTheta |
|
private |
◆ fGamma
| double XLogicalLattice::fGamma |
|
private |
◆ fLambda
| double XLogicalLattice::fLambda |
|
private |
◆ fMap
◆ fMapFile
| ifstream XLogicalLattice::fMapFile |
|
private |
◆ fMu
| double XLogicalLattice::fMu |
|
private |
◆ fN_map
◆ fPhiRes
| int XLogicalLattice::fPhiRes |
|
private |
◆ fThetaRes
| int XLogicalLattice::fThetaRes |
|
private |
◆ fVresPhi
| int XLogicalLattice::fVresPhi |
|
private |
◆ fVresTheta
| int XLogicalLattice::fVresTheta |
|
private |
The documentation for this class was generated from the following files: