RASPA3 3.0.12
A molecular simulation code for computing adsorption and diffusion in nanoporous materials
|
Represents a pseudo-atom in the simulation system. More...
Public Member Functions | |
PseudoAtom () | |
Default constructor for the PseudoAtom struct. | |
PseudoAtom (std::string name, bool framework, double mass, double charge, double polarizability, std::size_t atomicNumber, bool printToPDB, std::string source="") | |
Constructs a PseudoAtom with specified parameters. | |
bool | operator== (const PseudoAtom &other) const |
Friends | |
Archive< std::ofstream > & | operator<< (Archive< std::ofstream > &archive, const PseudoAtom &a) |
Archive< std::ifstream > & | operator>> (Archive< std::ifstream > &archive, PseudoAtom &a) |
Represents a pseudo-atom in the simulation system.
The PseudoAtom struct encapsulates the properties of an atom used in simulations, including name, mass, charge, polarizability, atomic number, oxidation state, and other attributes. It provides constructors for initializing pseudo-atoms and methods for serialization and comparison.
|
inline |
Default constructor for the PseudoAtom struct.
Initializes a PseudoAtom object with default values.
|
inline |
Constructs a PseudoAtom with specified parameters.
Initializes a PseudoAtom with the provided name, framework flag, mass, charge, polarizability, atomic number, printToPDB flag, and source.
name | The name of the pseudo-atom. |
framework | Indicates if the atom is part of the framework. |
mass | The mass of the pseudo-atom. |
charge | The electric charge of the pseudo-atom. |
polarizability | The polarizability of the pseudo-atom. |
atomicNumber | The atomic number of the pseudo-atom. |
printToPDB | Flag indicating whether to include the atom in PDB output. |
source | The source of the pseudo-atom data. |