My Project
Loading...
Searching...
No Matches
read_data.h
1//#include "VDW_Coulomb.cuh"
2
3void Check_Inputs_In_read_data_cpp(std::string& exepath);
4
5void read_number_of_sims_from_input(size_t *NumSims, bool *SingleSim);
6
7void read_FFParams_from_input(ForceField& FF, double& precision);
8
9void read_Gibbs_Stats(Gibbs& GibbsStatistics, bool& SetMaxStep, size_t& MaxStepPerCycle);
10
11void read_simulation_input(bool *UseGPUReduction, bool *Useflag, bool *noCharges, int *InitializationCycles, int *EquilibrationCycles, int *ProductionCycles, size_t *NumberOfTrialPositions, size_t *NumberOfTrialOrientations, double *Pressure, double *Temperature, size_t *AllocateSize, bool *ReadRestart, int *RANDOMSEED, bool *SameFrameworkEverySimulation, int3& NumberOfComponents);
12
13void ReadFramework(Boxsize& Box, PseudoAtomDefinitions& PseudoAtom, size_t FrameworkIndex, Components& SystemComponents);
14
15void ReadFrameworkComponentMoves(Move_Statistics& MoveStats, Components& SystemComponents, size_t comp);
16
17//void POSCARParser(Boxsize& Box, Atoms& Framework, PseudoAtomDefinitions& PseudoAtom);
18
19void ForceFieldParser(ForceField& FF, PseudoAtomDefinitions& PseudoAtom);
20
21void PseudoAtomParser(ForceField& FF, PseudoAtomDefinitions& PseudoAtom);
22
23void MoleculeDefinitionParser(Atoms& Mol, Components& SystemComponents, std::string MolName, PseudoAtomDefinitions PseudoAtom, size_t Allocate_space);
24
25void read_component_values_from_simulation_input(Components& SystemComponents, Move_Statistics& MoveStats, size_t AdsorbateComponent, Atoms& Mol, PseudoAtomDefinitions PseudoAtom, size_t Allocate_space);
26
27void ReadRestartInputFileType(Components& SystemComponents);
28
29void LMPDataFileParser(Boxsize& Box, Components& SystemComponents);
30
31void RestartFileParser(Boxsize& Box, Components& SystemComponents);
32
33void read_Ewald_Parameters_from_input(double CutOffCoul, Boxsize& Box, double precision);
34
35void OverWriteFFTerms(Components& SystemComponents, ForceField& FF, PseudoAtomDefinitions& PseudoAtom);
36
37void read_movies_stats_print(Components& SystemComponents);
38
39std::vector<double2> ReadMinMax();
40void ReadDNNModelSetup(Components& SystemComponents);
41//###PATCH_LCLIN_READDATA_H###//
42//###PATCH_ALLEGRO_READDATA_H###//
43
44//Weird issues with using vector.data() for double and double3//
45//So we keep this function, for now//
46template<typename T>
47T* convert1DVectortoArray(std::vector<T>& Vector)
48{
49 size_t Vectorsize = Vector.size();
50 T* result=new T[Vectorsize];
51 T* walkarr=result;
52 std::copy(Vector.begin(), Vector.end(), walkarr);
53 //printf("done convert Mol Type, Origin: %zu, copied: %zu\n", MoleculeTypeArray[0], result[0]);
54 return result;
55}
56
57//void write_ReplicaPos(auto& pos, auto& ij2type, size_t ntotal, size_t nstep);
58
59//void write_edges(auto& edges, auto& ij2type, size_t nedges, size_t nstep);
Definition data_struct.h:746
Definition data_struct.h:819
Definition data_struct.h:843
Definition data_struct.h:794
Definition data_struct.h:61
Definition data_struct.h:416
Definition data_struct.h:767