Skip to content

Commit 715affc

Browse files
committed
Remove unnecessary copies to self
1 parent 32899b7 commit 715affc

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/structure_new/src/nonlinear_solver/4C_structure_new_nln_solver_nox.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,9 +197,6 @@ enum Inpar::Solid::ConvergenceStatus Solid::Nln::SOLVER::Nox::solve()
197197
if (data_sdyn().get_divergence_action() == Inpar::Solid::divcont_stop)
198198
problem_->check_final_status(finalstatus);
199199

200-
// copy the solution group into the class variable
201-
group() = nlnsolver_->getSolutionGroup();
202-
203200
return convert_final_status(finalstatus);
204201
}
205202

src/structure_new/src/nonlinear_solver/4C_structure_new_nln_solver_singlestep.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,6 @@ enum Inpar::Solid::ConvergenceStatus Solid::Nln::SOLVER::SingleStep::solve()
115115
//// do one non-linear step using solve
116116
::NOX::StatusTest::StatusType stepstatus = nlnsolver_->solve();
117117

118-
// copy the solution group into the class variable
119-
group() = nlnsolver_->getSolutionGroup();
120-
121118
integrator().set_state(Core::LinAlg::Vector<double>(x_epetra.getEpetraVector()));
122119

123120
return convert_final_status(stepstatus);

0 commit comments

Comments
 (0)