46 fLatticeAtomNumber = 1;
54 if(i<fLatticeAtomNumber){
55 return fLatticeAtomPosition[i];
58 G4cout <<
"XLogicalAtomicLattice::GetAtomPosition - atom " <<
59 i <<
" does not exist!!" <<std::endl;
67 return fLatticeAtomNumber;
75 fLatticeAtomPosition[fLatticeAtomNumber - 1] = vAtomPosition;
83 for(
G4int i=0;i<fLatticeAtomNumber;i++)
84 if(vAtomPosition == fLatticeAtomPosition[i])
86 for(
G4int j=(i+1);j<fLatticeAtomNumber;j++)
88 fLatticeAtomPosition[j-1]=fLatticeAtomPosition[j];
104 for(
G4int i=0;i<fLatticeAtomNumber;i++)
107 vTempDouble += h * fLatticeAtomPosition[i].
x();
108 vTempDouble += k * fLatticeAtomPosition[i].
y();
109 vTempDouble += l * fLatticeAtomPosition[i].
z();
G4int GetLatticeNumberOfAtoms()
G4complex ComputeGeometricalStructureFactorSingleKind(G4int, G4int, G4int)
CLHEP::Hep3Vector G4ThreeVector
void AddAtom(G4ThreeVector)
std::complex< G4double > G4complex
G4GLOB_DLL std::ostream G4cout
void InitializeXLogicalAtomicLattice()
Definition of the XLogicalAtomicLattice class.
void DeleteAtom(G4ThreeVector)
static constexpr double pi
G4ThreeVector GetAtomPosition(G4int i)