Debugging BPM coupling

This commit is contained in:
jtclemm
2023-11-06 16:22:02 -07:00
parent 16a3abdadd
commit 92ff79af08
5 changed files with 101 additions and 63 deletions

View File

@ -150,7 +150,7 @@ void FixRHEO::post_constructor()
compute_kernel->fix_rheo = this;
std::string cmd = "rheo_grad all RHEO/GRAD velocity rho viscosity";
if (thermal_flag) cmd += "temperature";
if (thermal_flag) cmd += " temperature";
compute_grad = dynamic_cast<ComputeRHEOGrad *>(modify->add_compute(cmd));
compute_grad->fix_rheo = this;
@ -254,7 +254,7 @@ void FixRHEO::setup(int /*vflag*/)
covered = 0;
for (auto fix : therm_fixes)
if (mask[i] & fix->groupbit) covered = 1;
if (!covered) v_coverage_flag = 0;
if (!covered) t_coverage_flag = 0;
}
}