1 #ifndef PARALLELCHECKPOINTARGS_H 2 #define PARALLELCHECKPOINTARGS_H 33 this->nx =
nx;
return *
this;
37 this->ny =
ny;
return *
this;
41 this->nz =
nz;
return *
this;
45 this->xmin =
xmin;
return *
this;
49 this->ymin =
ymin;
return *
this;
53 this->zmin =
zmin;
return *
this;
57 this->xmax =
xmax;
return *
this;
61 this->ymax =
ymax;
return *
this;
65 this->zmax =
zmax;
return *
this;
69 this->endTime =
endTime;
return *
this;
73 this->cfl =
cfl;
return *
this;
77 this->Ng =
Ng;
return *
this;
81 this->gamma =
gamma;
return *
this;
85 this->sigma =
sigma;
return *
this;
89 this->cp =
cp;
return *
this;
93 this->mu1 =
mu1;
return *
this;
97 this->mu2 =
mu2;
return *
this;
109 this->gam =
gam;
return *
this;
113 this->frameSkip =
frameSkip;
return *
this;
ParallelCheckpointArgs & sZmax(double zmax)
ParallelCheckpointArgs & sOptionalSimArgs(std::vector< double > optionalSimArgs, std::vector< std::string > optionalSimArgNames, int nOptionalSimArgs)
int Ng
Number of ghost cells.
ParallelCheckpointArgs & sNx(int nx)
ParallelCheckpointArgs & sSigma(double sigma)
double xmax
Positional limits of domain in specified direction.
ParallelCheckpointArgs & sNz(int nz)
ParallelCheckpointArgs & sZmin(double zmin)
Object containing parameters required to populate Data from a restart file in parallel ...
ParallelCheckpointArgs & sEndTime(double endTime)
int ny
Number of physical cells in specified direction.
ParallelCheckpointArgs & sXmax(double xmax)
ParallelCheckpointArgs & sGam(double gam)
ParallelCheckpointArgs & sYmax(double ymax)
double cfl
Courant factor.
ParallelCheckpointArgs & sCp(double cp)
int nz
Number of physical cells in specified direction.
ParallelCheckpointArgs & sFrameSkip(double frameSkip)
int nx
Number of physical cells in specified direction.
ParallelCheckpointArgs & sfunctionalSigma(bool functionalSigma)
ParallelCheckpointArgs(const char *name, ParallelEnv *env)
Constructor.
ParallelCheckpointArgs & sCfl(double cfl)
double zmin
Positional limits of domain in specified direction.
double endTime
End time of simulation.
int reportItersPeriod
Period with which time step data is reported to screen during program execution.
ParallelCheckpointArgs & sMu1(double mu1)
double ymax
Positional limits of domain in specified direction.
double frameSkip
Number of timesteps per file output.
std::vector< std::string > optionalSimArgNames
Names of optionalSimArgs array elements.
bool functionalSigma
Are we using a functional (vs homogeneous) conductivity?
double xmin
Positional limits of domain in specified direction.
std::vector< double > optionalSimArgs
Array of optional arguments that depend on the simulation being run.
ParallelCheckpointArgs & sMu2(double mu2)
ParallelCheckpointArgs & sReportItersPeriod(int reportItersPeriod)
double cp
Constant divergence cleaning term.
double gamma
Adiabatic index.
double gam
Exponent in the functional conductivity.
int nOptionalSimArgs
Number of elements to include in optionalSimArgs array.
double zmax
Positional limits of domain in specified direction.
ParallelCheckpointArgs & sYmin(double ymin)
double mu2
Charge mass ratio of specified fluid species, q/m (for two fluid model)
ParallelCheckpointArgs & sNg(double Ng)
double ymin
Positional limits of domain in specified direction.
Object containing parameters required to populate Data, including from a restart file ...
ParallelCheckpointArgs & sGamma(double gamma)
ParallelCheckpointArgs & sNy(int ny)
ParallelCheckpointArgs & sXmin(double xmin)