#include <G4CrystalExtension.hh>
|
| G4CrystalExtension (G4Material *, const G4String &name="crystal") |
|
| ~G4CrystalExtension () |
|
void | Print () const |
|
G4Material * | GetMaterial () |
|
void | SetMaterial (G4Material *aMat) |
|
void | SetUnitCell (G4CrystalUnitCell *aUC) |
|
G4CrystalUnitCell * | GetUnitCell () const |
|
const Elasticity & | GetElasticity () const |
|
const ReducedElasticity & | GetElReduced () const |
|
G4double | GetCijkl (G4int i, G4int j, G4int k, G4int l) const |
|
void | SetElReduced (const ReducedElasticity &mat) |
|
void | SetCpq (G4int p, G4int q, G4double value) |
|
G4double | GetCpq (G4int p, G4int q) const |
|
G4CrystalAtomBase * | GetAtomBase (const G4Element *anElement) |
|
void | AddAtomBase (const G4Element *anElement, G4CrystalAtomBase *aBase) |
|
G4CrystalAtomBase * | GetAtomBase (G4int anElIdx) |
|
void | AddAtomBase (G4int anElIdx, G4CrystalAtomBase *aLattice) |
|
G4bool | GetAtomPos (const G4Element *anEl, std::vector< G4ThreeVector > &vecout) |
|
G4bool | GetAtomPos (std::vector< G4ThreeVector > &vecout) |
|
G4bool | GetAtomPos (G4int anElIdx, std::vector< G4ThreeVector > &vecout) |
|
G4complex | ComputeStructureFactor (G4double kScatteringVector, G4int h, G4int k, G4int l) |
|
G4complex | ComputeStructureFactorGeometrical (G4int h, G4int k, G4int l) |
|
void | AddAtomicBond (G4AtomicBond *aBond) |
|
G4AtomicBond * | GetAtomicBond (G4int idx) |
|
std::vector< G4AtomicBond * > | GetAtomicBondVector () |
|
| G4VMaterialExtension (const G4String &name) |
|
virtual | ~G4VMaterialExtension () |
|
const std::size_t & | GetHash () const |
|
const G4String & | GetName () const |
|
Definition at line 61 of file G4CrystalExtension.hh.
typedef G4double G4CrystalExtension::Elasticity[3][3][3][3] |
typedef G4double G4CrystalExtension::ReducedElasticity[6][6] |
G4CrystalExtension::G4CrystalExtension |
( |
G4Material * |
mat, |
|
|
const G4String & |
name = "crystal" |
|
) |
| |
G4CrystalExtension::~G4CrystalExtension |
( |
| ) |
|
Definition at line 129 of file G4CrystalExtension.hh.
130 theCrystalAtomBaseMap.insert(std::pair<const G4Element*,G4CrystalAtomBase*>(anElement,aBase));
Definition at line 138 of file G4CrystalExtension.hh.
void AddAtomBase(const G4Element *anElement, G4CrystalAtomBase *aBase)
const G4Element * GetElement(G4int iel) const
Definition at line 52 of file G4CrystalExtension.cc.
66 for(
auto anAtomPos:
GetAtomBase(anElement)->GetPos())
76 SF +=
G4complex(AFF * GFS.real(),AFF * GFS.imag());
const G4ElementVector * GetElementVector() const
std::complex< G4double > G4complex
G4CrystalAtomBase * GetAtomBase(const G4Element *anElement)
static constexpr double pi
Definition at line 84 of file G4CrystalExtension.cc.
const G4ElementVector * GetElementVector() const
std::vector< G4ThreeVector > GetPos()
std::complex< G4double > G4complex
G4CrystalAtomBase * GetAtomBase(const G4Element *anElement)
static constexpr double pi
Definition at line 121 of file G4CrystalExtension.cc.
122 if((theCrystalAtomBaseMap.count(anElement)<1)){
124 +
" is not registered." ;
129 return theCrystalAtomBaseMap[anElement];
void AddAtomBase(const G4Element *anElement, G4CrystalAtomBase *aBase)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
const G4String & GetName() const
Definition at line 134 of file G4CrystalExtension.hh.
const G4Element * GetElement(G4int iel) const
G4CrystalAtomBase * GetAtomBase(const G4Element *anElement)
std::vector<G4AtomicBond*> G4CrystalExtension::GetAtomicBondVector |
( |
| ) |
|
|
inline |
Definition at line 134 of file G4CrystalExtension.cc.
135 std::vector<G4ThreeVector>
pos;
139 vecout.insert(std::end(vecout), std::begin(pos), std::end(pos));
G4bool FillAtomicPos(G4ThreeVector &pos, std::vector< G4ThreeVector > &vecout)
G4CrystalAtomBase * GetAtomBase(const G4Element *anElement)
static const G4double pos
Definition at line 146 of file G4CrystalExtension.cc.
147 std::vector<G4ThreeVector>
pos;
152 vecout.insert(std::end(vecout), std::begin(pos), std::end(pos));
G4bool GetAtomPos(const G4Element *anEl, std::vector< G4ThreeVector > &vecout)
const G4ElementVector * GetElementVector() const
static const G4double pos
Definition at line 149 of file G4CrystalExtension.hh.
G4bool GetAtomPos(const G4Element *anEl, std::vector< G4ThreeVector > &vecout)
const G4Element * GetElement(G4int iel) const
const Elasticity& G4CrystalExtension::GetElasticity |
( |
| ) |
const |
|
inline |
void G4CrystalExtension::Print |
( |
void |
| ) |
const |
|
inlinevirtual |
Definition at line 115 of file G4CrystalExtension.cc.
const XML_Char int const XML_Char * value
ReducedElasticity fElReduced
Definition at line 105 of file G4CrystalExtension.cc.
106 for (
size_t i=0; i<6; i++) {
107 for (
size_t j=0; j<6; j++) {
ReducedElasticity fElReduced
The documentation for this class was generated from the following files: