We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f223c84 commit 7662586Copy full SHA for 7662586
trunk/libmesh/src/solvers/fem_system.C
@@ -551,6 +551,9 @@ void FEMSystem::assemble_qoi_derivative()
551
AutoPtr<DiffContext> con = this->build_context();
552
FEMContext &_femcontext = libmesh_cast_ref<FEMContext&>(*con);
553
554
+ // In case there's already a rhs in use
555
+ rhs->zero();
556
+
557
// Loop over every active mesh element on this processor
558
MeshBase::const_element_iterator el =
559
mesh.active_local_elements_begin();
0 commit comments