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 7bc6dff commit 474bfdbCopy full SHA for 474bfdb
libsrc/pylith/faults/FaultCohesiveKin.cc
@@ -258,6 +258,9 @@ pylith::faults::FaultCohesiveKin::updateAuxiliaryField(pylith::topology::Field*
258
PYLITH_METHOD_BEGIN;
259
PYLITH_COMPONENT_DEBUG("updateAuxiliaryField(auxiliaryField="<<auxiliaryField<<", t="<<t<<")");
260
261
+
262
+ auxiliaryField->zeroLocal(); // :KLUDGE: :TEMPORARY: Slip field is only auxiliary field, so we can zero entire field.
263
264
// Compute slip field at current time step
265
const srcs_type::const_iterator rupturesEnd = _ruptures.end();
266
for (srcs_type::iterator r_iter = _ruptures.begin(); r_iter != rupturesEnd; ++r_iter) {
0 commit comments