Geant4
9.6.p02
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
geant4_9_6_p02
examples
extended
exoticphysics
phonon
include
XLogicalLattice.hh
Go to the documentation of this file.
1
//
2
// ********************************************************************
3
// * License and Disclaimer *
4
// * *
5
// * The Geant4 software is copyright of the Copyright Holders of *
6
// * the Geant4 Collaboration. It is provided under the terms and *
7
// * conditions of the Geant4 Software License, included in the file *
8
// * LICENSE and available at http://cern.ch/geant4/license . These *
9
// * include a list of copyright holders. *
10
// * *
11
// * Neither the authors of this software system, nor their employing *
12
// * institutes,nor the agencies providing financial support for this *
13
// * work make any representation or warranty, express or implied, *
14
// * regarding this software system or assume any liability for its *
15
// * use. Please see the license in the file LICENSE and URL above *
16
// * for the full disclaimer and the limitation of liability. *
17
// * *
18
// * This code implementation is the result of the scientific and *
19
// * technical work of the GEANT4 collaboration. *
20
// * By using, copying, modifying or distributing the software (or *
21
// * any work based on the software) you agree to acknowledge its *
22
// * use in resulting scientific publications, and indicate your *
23
// * acceptance of all terms of the Geant4 Software license. *
24
// ********************************************************************
25
//
28
//
29
// $Id$
30
//
31
#ifndef XLogicalLattice_h
32
#define XLogicalLattice_h
33
34
#define MAXRES 322 //maximum one dimensional map resolution
35
36
#include <iostream>
37
#include <fstream>
38
#include <string>
39
#include "
G4ThreeVector.hh
"
40
41
42
using namespace
std;
43
44
class
XLogicalLattice
{
45
46
private
:
47
48
int
fVresTheta;
//velocity map theta resolution (inclination)
49
int
fVresPhi;
//velocity map phi resolution (azimuth)
50
int
fDresTheta;
//direction map theta resn
51
int
fDresPhi;
//direction map phi resn
52
53
double
fMap[3][
MAXRES
][
MAXRES
];
//map for group velocity scalars
54
double
fN_map[3][
MAXRES
][
MAXRES
][3];
//normalized map containing group V direction unit vectors
55
56
double
fA;
//Scaling constant for Anh.Dec. mean free path
57
double
fB;
//Scaling constant for Iso.Scat. mean free path
58
double
fDosL;
//Density of states for L-phonons
59
double
fDosST;
//Density of states for ST-phonons
60
double
fDosFT;
//Density of states for FT-phonons
61
double
fBeta, fGamma, fLambda, fMu;
//dynamical constants for material
62
63
64
ifstream fMapFile;
65
int
fThetaRes, fPhiRes;
66
67
68
public
:
69
70
71
72
XLogicalLattice
();
73
~
XLogicalLattice
();
74
75
void
SetDynamicalConstants(
double
,
double
,
double
,
double
);
76
void
SetScatteringConstant(
G4double
);
77
void
SetAnhDecConstant(
G4double
);
78
void
SetLDOS(
double
);
79
void
SetSTDOS(
double
);
80
void
SetFTDOS(
double
);
81
82
double
GetBeta();
83
double
GetGamma();
84
double
GetLambda();
85
double
GetMu();
86
G4double
GetScatteringConstant();
87
G4double
GetAnhDecConstant();
88
double
GetLDOS();
89
double
GetSTDOS();
90
double
GetFTDOS();
91
92
bool
LoadMap(
int
,
int
,
int
,
string
);
93
bool
Load_NMap(
int
,
int
,
int
,
string
);
94
double
MapKtoV(
int
,
G4ThreeVector
);
//Get full group velocity vector
95
G4ThreeVector
MapKtoVDir(
int
,
G4ThreeVector
);
//Get normalized group velocity direction so that normalisatioon does not have to be done at run time
96
97
};
98
99
#endif
Generated on Sat May 25 2013 14:32:24 for Geant4 by
1.8.4