Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
e164b41
OptimizationProblem should assume AbstractReducedFunctional not Reduc…
JHopeCollins Jul 1, 2025
3a9e3e0
WIP: PETSc python ReducedFunctionalMat for TAOSolver
JHopeCollins Jul 1, 2025
806598c
Merge branch 'master' into JHopeCollins/tao-rf-mats
JHopeCollins Oct 14, 2025
225e019
tidy up petsc python RF mat
JHopeCollins Oct 14, 2025
e44b3df
Merge branch 'master' into JHopeCollins/tao-rf-mats
JHopeCollins Oct 14, 2025
a3c3736
Apply suggestions from code review - require named kwargs
JHopeCollins Oct 15, 2025
b69de0c
correct docstring for optimization.tao_solver.valid_comm
JHopeCollins Oct 15, 2025
b57591f
split ReducedFunctionalMat into separate base classes for each action…
JHopeCollins Oct 15, 2025
f870144
remove apply_riesz kwarg for ReducedFunctionalTLMMat
JHopeCollins Oct 15, 2025
fbc8cac
do not assume that tao pmat is ReducedFunctionalMat
JHopeCollins Oct 16, 2025
0cd9c9f
remove old ReducedFunctionalMatCtx implementation
JHopeCollins Oct 21, 2025
99b5539
Merge branch 'JHopeCollins/tao-rf-mats' of github.com:dolfin-adjoint/…
JHopeCollins Oct 21, 2025
8a84e7c
RFMat naming and docstring updates from code review
JHopeCollins Oct 23, 2025
6109e9f
ReducedFunctionalMat.multHermitian
JHopeCollins Oct 23, 2025
efdbdd3
Merge branch 'master' into JHopeCollins/tao-rf-mats
JHopeCollins Oct 23, 2025
ba5b56b
Update docstring pyadjoint/optimization/tao_solver.py
JHopeCollins Oct 24, 2025
5d99fcb
Update pyadjoint/optimization/tao_solver.py
JHopeCollins Oct 24, 2025
9bb846f
Update pyadjoint/optimization/tao_solver.py
JHopeCollins Oct 24, 2025
e63affb
remove action attribute from ReducedFunctionalMat base class
JHopeCollins Oct 24, 2025
d2d720d
petsc mat docstrings and error messages
JHopeCollins Oct 24, 2025
3e8662d
petsc mat docstrings correction
JHopeCollins Oct 24, 2025
96f75e0
petsc mat update fix
JHopeCollins Oct 24, 2025
3a214eb
make update_adjoint a class method for ReducedFunctionalMat
JHopeCollins Oct 31, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyadjoint/optimization/optimization_problem.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def __check_arguments(self, reduced_functional, bounds, constraints):
raise TypeError("Instantiate a MinimizationProblem or MaximizationProblem.")

if not isinstance(reduced_functional, AbstractReducedFunctional):
raise TypeError("reduced_functional should be a AbstractReducedFunctional")
raise TypeError("reduced_functional should be an AbstractReducedFunctional")

if bounds is not None:
if len(bounds) != len(reduced_functional.controls):
Expand Down
Loading