Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4AtomicBond Class Reference

#include <G4AtomicBond.hh>

Public Types

enum  theBondType { Ionic = 0 , Covalent = 1 , Metallic = 2 , NA = -1 }
 

Public Member Functions

 G4AtomicBond (theBondType aType, G4Element *firstAtomKind, G4int firstAtomNumber, G4Element *secondAtomKind, G4int secondAtomNumber)
 
virtual ~G4AtomicBond ()=default
 
G4ElementGetFirstAtomKind () const
 
void SetFirstAtomKind (G4Element *aElement)
 
G4int GetFirstAtomNumber () const
 
void SetFirstAtomNumber (G4int aInt)
 
G4ElementGetSecondAtomKind () const
 
void SetSecondAtomKind (G4Element *aElement)
 
G4int GetSecondAtomNumber () const
 
void SetSecondAtomNumber (G4int aInt)
 
theBondType GetType () const
 
void SetType (theBondType aType)
 
G4bool GetAromaticity () const
 
void SetAromaticity (G4bool aBool)
 

Detailed Description

Definition at line 38 of file G4AtomicBond.hh.

Member Enumeration Documentation

◆ theBondType

Enumerator
Ionic 
Covalent 
Metallic 
NA 

Definition at line 41 of file G4AtomicBond.hh.

42 {
43 Ionic = 0,
44 Covalent = 1,
45 Metallic = 2,
46 NA = -1
47 };

Constructor & Destructor Documentation

◆ G4AtomicBond()

G4AtomicBond::G4AtomicBond ( theBondType aType,
G4Element * firstAtomKind,
G4int firstAtomNumber,
G4Element * secondAtomKind,
G4int secondAtomNumber )
inline

Definition at line 49 of file G4AtomicBond.hh.

51 : theFirstAtomKind(firstAtomKind),
52 theFirstAtomNumber(firstAtomNumber),
53 theSecondAtomKind(secondAtomKind),
54 theSecondAtomNumber(secondAtomNumber),
55 theType(aType)
56 {}

◆ ~G4AtomicBond()

virtual G4AtomicBond::~G4AtomicBond ( )
virtualdefault

Member Function Documentation

◆ GetAromaticity()

G4bool G4AtomicBond::GetAromaticity ( ) const
inline

Definition at line 75 of file G4AtomicBond.hh.

75{ return theAromaticity; };

◆ GetFirstAtomKind()

G4Element * G4AtomicBond::GetFirstAtomKind ( ) const
inline

Definition at line 60 of file G4AtomicBond.hh.

60{ return theFirstAtomKind; };

◆ GetFirstAtomNumber()

G4int G4AtomicBond::GetFirstAtomNumber ( ) const
inline

Definition at line 63 of file G4AtomicBond.hh.

63{ return theFirstAtomNumber; };

◆ GetSecondAtomKind()

G4Element * G4AtomicBond::GetSecondAtomKind ( ) const
inline

Definition at line 66 of file G4AtomicBond.hh.

66{ return theSecondAtomKind; };

◆ GetSecondAtomNumber()

G4int G4AtomicBond::GetSecondAtomNumber ( ) const
inline

Definition at line 69 of file G4AtomicBond.hh.

69{ return theSecondAtomNumber; };

◆ GetType()

theBondType G4AtomicBond::GetType ( ) const
inline

Definition at line 72 of file G4AtomicBond.hh.

72{ return theType; };

◆ SetAromaticity()

void G4AtomicBond::SetAromaticity ( G4bool aBool)
inline

Definition at line 76 of file G4AtomicBond.hh.

76{ theAromaticity = aBool; };

◆ SetFirstAtomKind()

void G4AtomicBond::SetFirstAtomKind ( G4Element * aElement)
inline

Definition at line 61 of file G4AtomicBond.hh.

61{ theFirstAtomKind = aElement; };

◆ SetFirstAtomNumber()

void G4AtomicBond::SetFirstAtomNumber ( G4int aInt)
inline

Definition at line 64 of file G4AtomicBond.hh.

64{ theFirstAtomNumber = aInt; };

◆ SetSecondAtomKind()

void G4AtomicBond::SetSecondAtomKind ( G4Element * aElement)
inline

Definition at line 67 of file G4AtomicBond.hh.

67{ theSecondAtomKind = aElement; };

◆ SetSecondAtomNumber()

void G4AtomicBond::SetSecondAtomNumber ( G4int aInt)
inline

Definition at line 70 of file G4AtomicBond.hh.

70{ theSecondAtomNumber = aInt; };

◆ SetType()

void G4AtomicBond::SetType ( theBondType aType)
inline

Definition at line 73 of file G4AtomicBond.hh.

73{ theType = aType; };

The documentation for this class was generated from the following file: