typo
This commit is contained in:
@ -97,7 +97,7 @@ void ComputeRHEOInterface::init()
|
|||||||
auto fixes = modify->get_fix_by_style("rheo/pressure");
|
auto fixes = modify->get_fix_by_style("rheo/pressure");
|
||||||
fix_pressure = dynamic_cast<FixRHEOPressure *>(fixes[0]);
|
fix_pressure = dynamic_cast<FixRHEOPressure *>(fixes[0]);
|
||||||
|
|
||||||
if (!fix_pressure->invertable_pressure)
|
if (!fix_pressure->invertible_pressure)
|
||||||
error->all(FLERR, "RHEO interface reconstruction incompatible with pressure equation of state");
|
error->all(FLERR, "RHEO interface reconstruction incompatible with pressure equation of state");
|
||||||
|
|
||||||
neighbor->add_request(this, NeighConst::REQ_DEFAULT);
|
neighbor->add_request(this, NeighConst::REQ_DEFAULT);
|
||||||
|
|||||||
@ -46,7 +46,7 @@ FixRHEOPressure::FixRHEOPressure(LAMMPS *lmp, int narg, char **arg) :
|
|||||||
|
|
||||||
comm_forward = 1;
|
comm_forward = 1;
|
||||||
variable_csq = 0;
|
variable_csq = 0;
|
||||||
invertable_pressure = 1;
|
invertible_pressure = 1;
|
||||||
background_flag = 0;
|
background_flag = 0;
|
||||||
|
|
||||||
// Currently can only have one instance of fix rheo/pressure
|
// Currently can only have one instance of fix rheo/pressure
|
||||||
@ -96,7 +96,7 @@ FixRHEOPressure::FixRHEOPressure(LAMMPS *lmp, int narg, char **arg) :
|
|||||||
c_cubic[i] = c_cubic_one;
|
c_cubic[i] = c_cubic_one;
|
||||||
}
|
}
|
||||||
|
|
||||||
invertable_pressure = 0;
|
invertible_pressure = 0;
|
||||||
} else if (strcmp(arg[iarg + 1], "ideal/gas") == 0) {
|
} else if (strcmp(arg[iarg + 1], "ideal/gas") == 0) {
|
||||||
if (iarg + 2 >= narg) utils::missing_cmd_args(FLERR, "fix rheo/pressure ideal/gas", error);
|
if (iarg + 2 >= narg) utils::missing_cmd_args(FLERR, "fix rheo/pressure ideal/gas", error);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user