save the work;CPU version compiled; to be tested

This commit is contained in:
Rex Zhe Li
2020-08-16 11:20:11 -04:00
parent 3adde14ecf
commit 85fc59190c
13 changed files with 361 additions and 101 deletions

View File

@@ -30,9 +30,10 @@ public:
void Initialize();
void Run(double *Velocity, double *ElectricField);
bool Restart,pBC;
//bool Restart,pBC;
int timestep,timestepMax;
int BoundaryCondition;
int BoundaryConditionSolid;
double h;//domain resolution, unit [um/lu]
double time_conv;
double kb,electron_charge,T,Vt;
@@ -64,6 +65,7 @@ public:
double *fq;
double *Ci;
double *ChargeDensity;
double *IonSolid;
private:
MPI_Comm comm;
@@ -75,4 +77,5 @@ private:
//int rank,nprocs;
void LoadParams(std::shared_ptr<Database> db0);
void AssignSolidBoundary(double *ion_solid);
};