24 #ifndef EQUILIBRATION_H
25 #define EQUILIBRATION_H
48 void fillDelidsLocalVec( LAMMPS_NS::LAMMPS *lmp ,
const double &desorb_cut , std::vector< LAMMPS_NS::tagint > &delids_local ,
ATOM2BONDS_MAP &atomID2bonds );
50 void gatherAndTrimDelIdsOnDriverProc(
const int &proc_id ,
const int &nprocs , std::vector< LAMMPS_NS::tagint > &delids_local , std::vector< LAMMPS_NS::tagint > &delids_global );
51 int fillDelidsVec( LAMMPS_NS::LAMMPS *lmp ,
const int &proc_id ,
const double &desorb_cut , std::vector< LAMMPS_NS::tagint > &delids ,
ATOM2BONDS_MAP &atomID2bonds );
52 void broadcastDelidsFromMasterProc( LAMMPS_NS::LAMMPS *lmp ,
const int &proc_id ,
int &delids_num , std::vector< LAMMPS_NS::tagint > &delids );
56 void equilibrate( LAMMPS_NS::LAMMPS *lmp ,
int &proc_id ,
const int &nprocs ,
double &time , PaprecaConfig &papreca_config ,
double &film_height ,
int &zero_rate ,
const int &KMC_loopid ,
ATOM2BONDS_MAP &atomID2bonds );
Declarations for PAPRECA::Bond.
Declarations for LAMMPS wrapper functions.
void gatherAndTrimDelIdsOnDriverProc(const int &proc_id, const int &nprocs, std::vector< LAMMPS_NS::tagint > &delids_local, std::vector< LAMMPS_NS::tagint > &delids_global)
Definition: equilibration.cpp:77
int fillDelidsVec(LAMMPS_NS::LAMMPS *lmp, const int &proc_id, const double &desorb_cut, std::vector< LAMMPS_NS::tagint > &delids, ATOM2BONDS_MAP &atomID2bonds)
Definition: equilibration.cpp:142
std::unordered_map< LAMMPS_NS::tagint, BOND_VECTOR > ATOM2BONDS_MAP
maps atom IDs to their associated PAPRECA::BOND_VECTOR to allow easy access of bonds and bond types.
Definition: bond.h:46
void equilibrateFluidAtoms(LAMMPS_NS::LAMMPS *lmp, PaprecaConfig &papreca_config, double &time)
Definition: equilibration.cpp:286
bool delidsLocalVectorsAreEmpty(std::vector< LAMMPS_NS::tagint > &delids_local)
Definition: equilibration.cpp:61
void equilibrate(LAMMPS_NS::LAMMPS *lmp, int &proc_id, const int &nprocs, double &time, PaprecaConfig &papreca_config, double &film_height, int &zero_rate, const int &KMC_loopid, ATOM2BONDS_MAP &atomID2bonds)
Definition: equilibration.cpp:308
void fillDelidsLocalVec(LAMMPS_NS::LAMMPS *lmp, const double &desorb_cut, std::vector< LAMMPS_NS::tagint > &delids_local, ATOM2BONDS_MAP &atomID2bonds)
Definition: equilibration.cpp:28
void broadcastDelidsFromMasterProc(LAMMPS_NS::LAMMPS *lmp, const int &proc_id, int &delids_num, std::vector< LAMMPS_NS::tagint > &delids)
Definition: equilibration.cpp:198
Declarations for PAPRECA::PaprecaConfig class storing settings and global variables.
Declarations for functions that (stochastically) advance the simulation time.
Utility functions (e.g., for arrays, strings etc.) and typedefs used in papreca.cpp main and in the o...