Skip to content

Commit d11ac5e

Browse files
authored
Refactor:Remove GlobalC::ucell in module_relax (#5668)
* change ucell in module_relax * change ucell in module_relax/test/relax_test.cpp
1 parent a363fdf commit d11ac5e

File tree

4 files changed

+262
-226
lines changed

4 files changed

+262
-226
lines changed

source/module_relax/relax_driver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ void Relax_Driver::relax_driver(ModuleESolver::ESolver* p_esolver, UnitCell& uce
7979
{
8080
if (PARAM.inp.relax_new)
8181
{
82-
stop = rl.relax_step(force, stress, this->etot);
82+
stop = rl.relax_step(ucell,force, stress, this->etot);
8383
}
8484
else
8585
{

0 commit comments

Comments
 (0)