We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebc3b60 commit 5d92fb0Copy full SHA for 5d92fb0
1 file changed
src/systems/fem_system.C
@@ -266,6 +266,18 @@ void add_element_system(FEMSystem & _sys,
266
libMesh::out.precision(old_precision);
267
}
268
269
+ if (_get_jacobian && _sys.print_element_jacobians)
270
+ {
271
+ std::streamsize old_precision = libMesh::out.precision();
272
+ libMesh::out.precision(16);
273
+ if (_femcontext.has_elem())
274
+ libMesh::out << "Jraw_elem " << _femcontext.get_elem().id();
275
+ else
276
+ libMesh::out << "Jraw_scalar ";
277
+ libMesh::out << " = " << _femcontext.get_elem_jacobian() << std::endl;
278
+ libMesh::out.precision(old_precision);
279
+ }
280
+
281
// We turn off the asymmetric constraint application iff we expect
282
// enforce_constraints_exactly() to be called in the solver
283
const bool constrain_in_solver = _sys.get_constrain_in_solver();
0 commit comments