66 for(
auto anAtomPos:
GetAtomBase(anElement)->GetPos())
76 SF +=
G4complex(AFF * GFS.real(),AFF * GFS.imag());
106 for (
size_t i=0; i<6; i++) {
107 for (
size_t j=0; j<6; j++) {
116 if (p>0 && p<7 && q>0 && q<7)
fElReduced[p-1][q-1] = value;
124 +
" is not registered." ;
135 std::vector<G4ThreeVector>
pos;
139 vecout.insert(std::end(vecout), std::begin(pos), std::end(pos));
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)
void AddAtomBase(const G4Element *anElement, G4CrystalAtomBase *aBase)
void SetCpq(G4int p, G4int q, G4double value)
G4complex ComputeStructureFactor(G4double kScatteringVector, G4int h, G4int k, G4int l)
G4CrystalUnitCell * theUnitCell
const char * name(G4int ptype)
G4CrystalExtension(G4Material *, const G4String &name="crystal")
const G4ElementVector * GetElementVector() const
std::vector< G4ThreeVector > GetPos()
std::complex< G4double > G4complex
G4complex ComputeStructureFactorGeometrical(G4int h, G4int k, G4int l)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
std::map< const G4Element *, G4CrystalAtomBase * > theCrystalAtomBaseMap
G4bool FillAtomicPos(G4ThreeVector &pos, std::vector< G4ThreeVector > &vecout)
void SetElReduced(const ReducedElasticity &mat)
G4CrystalAtomBase * GetAtomBase(const G4Element *anElement)
static constexpr double pi
const G4String & GetName() const
ReducedElasticity fElReduced
static const G4double pos