[cig-commits] r15299 - short/3D/PyLith/trunk/libsrc/problems
brad at geodynamics.org
brad at geodynamics.org
Tue Jun 16 10:04:28 PDT 2009
Author: brad
Date: 2009-06-16 10:04:28 -0700 (Tue, 16 Jun 2009)
New Revision: 15299
Modified:
short/3D/PyLith/trunk/libsrc/problems/Formulation.cc
Log:
Fixed comment.
Modified: short/3D/PyLith/trunk/libsrc/problems/Formulation.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/problems/Formulation.cc 2009-06-16 16:58:24 UTC (rev 15298)
+++ short/3D/PyLith/trunk/libsrc/problems/Formulation.cc 2009-06-16 17:04:28 UTC (rev 15299)
@@ -171,7 +171,7 @@
solution.scatterVectorToSection(*tmpSolutionVec);
} // if
- // Set residual to zero.
+ // Set jacobian to zero.
_jacobian->zero();
// Add in contributions that do not require assembly.
@@ -182,7 +182,7 @@
for (int i=0; i < numIntegrators; ++i)
_submeshIntegrators[i]->integrateJacobianAssembled(_jacobian, _t, _fields);
- // Assemble residual.
+ // Flush assembled portion.
_jacobian->assemble("flush_assembly");
// Add in contributions that require assembly.
@@ -193,7 +193,7 @@
for (int i=0; i < numIntegrators; ++i)
_submeshIntegrators[i]->integrateJacobian(_jacobian, _t, _fields);
- // Assemble residual.
+ // Assemble jacobian.
_jacobian->assemble("final_assembly");
} // reformJacobian
More information about the CIG-COMMITS
mailing list