What does this comment mean? Is it still true? If yes, should we open a PETSc issue? If not, can we get rid of this and use PETSc.Options(self.options_prefix) instead?
|
# Now update parameters from options, so that they're |
|
# available to solver setup (for, e.g., matrix-free). |
|
# Can't ask for the prefixed guy in the options object, |
|
# since that does not DTRT for flag options. |
|
for k, v in self.options_object.getAll().items(): |
|
if k.startswith(self.options_prefix): |
|
self.parameters[k[len(self.options_prefix):]] = v |
What does this comment mean? Is it still true? If yes, should we open a PETSc issue? If not, can we get rid of this and use
PETSc.Options(self.options_prefix)instead?petsctools/petsctools/options.py
Lines 277 to 283 in f4db79a