Commit Graph
314 Commits
Author SHA1 Message Date
Sohail Reddy 96a1cf8c93 updated vectors in WeightedInnerProduct to use different weighting operators 2025-10-21 10:18:11 -07:00
Sohail Reddy 253a5b4b79 Added operator weighted inner product. Moved inner product defintions to solvers.hpp/cpp 2025-10-19 13:37:39 -07:00
Sohail Reddy 1808ca1f3a Added class for user-defined inner products. Updated IterativeSolver to use custom inner products. 2025-10-19 01:14:50 -07:00
Veselin Dobrev 00d35316b9 Merge branch 'master' into dev/abs-diag-smoothers 2025-04-18 13:43:42 -07:00
Jan Nikl 58453228f3 Fixed FGMRES update. 2025-04-14 13:05:59 -07:00
Jan Nikl 3db3013271 Added a helper method for indication of requirement on update. 2025-04-11 13:26:02 -07:00
Jan Nikl 9c08ccf864 Renamed monitor to controller and added a setter. 2025-04-11 13:17:03 -07:00
Jan Nikl b38fa26468 Removed unnecessary final indication of final flag. 2025-04-11 12:36:43 -07:00
Jan Nikl 5330247ae8 Fixed IterativeSolverController to be able to indicate updated solution is needed. 2025-04-11 12:33:04 -07:00
Gabriel Pinochet-Soto 4c0def024c Monitor SLI (akin to CG) 2025-03-28 22:13:22 -07:00
Veselin Dobrev 0a0117d4bc In SLISolver::Mult, support optimized handling of the case b = 0 by
providing empty b (i.e. b.Size() == 0) as the input; this is allowed
only in iterative mode where it makes sense for smoothing operations.

In class OperatorChebyshevSmoother, in the constructor using the
power method to estimate the maximal eigenvalue, add an optional
random seed parameter used to initialize the starting random vector.

Fix a warning in mfem::internal::sqrt for dual numbers.

Fix a doxygen warning in the definition of SparseMatrix::handle.
2025-03-20 19:55:47 -07:00
Tzanio Kolev 7415254146 Merge branch 'master' into solver-monitor-controller 2025-03-11 14:21:30 -07:00
Julian Andrej b5fec915cd fix the fix 2025-02-24 11:11:04 -08:00
Julian Andrej eae2eae657 remove lbfgs monitor 2025-02-12 11:28:20 -08:00
Julian AndrejandJan Nikl 23bce015d9 Update linalg/solvers.cpp
Co-authored-by: Jan Nikl <nikl1@llnl.gov>
2025-02-12 10:59:44 -08:00
Julian Andrej d8f489013b added final monitor calls to common solver implementation 2025-02-12 09:57:07 -08:00
Julian Andrej b3c333df22 Merge branch 'solver-monitor-controller' of github.com:mfem/mfem into solver-monitor-controller 2025-02-12 09:45:42 -08:00
Julian Andrej 3b24d0d7cf removed wrong converged flag 2025-02-12 09:45:16 -08:00
camierjs bc56be2092 Replace GetIJData with HostReads 2025-02-06 20:21:21 -08:00
Tzanio Kolev 8669338cca Merge branch 'master' into solver-monitor-controller 2025-02-04 14:53:17 -08:00
camierjs 999d6e9e94 Merge branch 'master' into bltp 2025-02-04 12:53:53 -08:00
camierjs ea041467ae Address reviewers comments 2025-02-04 10:32:44 -08:00
Julian Andrej 9dfd486f55 move monitor call into if condition in bicgstab 2025-02-04 08:53:39 -08:00
Tzanio Kolev e4c2152419 Update Copyright to 2010-2025 2025-02-03 12:17:26 -08:00
camierjs 27c526578d Use device vectors in solvers 2025-01-29 11:45:24 -08:00
Jan Nikl 2d998865be Merge branch 'master' into solver-monitor-controller 2025-01-28 16:39:24 -08:00
Julian Andrej 861d3d1422 rename and other reviewer comments 2025-01-28 13:53:12 -08:00
adam-sim-dev 1262d17e8b Merge branch 'master' into warning 2024-11-22 11:18:32 +08:00
adam-sim-dev e90cff6413 static_cast _Ty (it's int) to int 2024-11-18 08:42:56 +08:00
Mittal, Ketan 59a033b3ea rel norm at the end of Newton and LBFGS 2024-11-16 13:18:20 -08:00
adam-sim-dev b4dfb8660d static_cast size_t to int 2024-10-31 18:07:45 +08:00
Julian Andrej 33cb37689b double -> real 2024-10-15 13:00:46 -07:00
Julian Andrej f460048de7 Merge branch 'master' into solver-monitor-controller
# Conflicts:
#	linalg/solvers.cpp
#	linalg/solvers.hpp
2024-10-15 12:52:48 -07:00
Tzanio Kolev 5fc313d2f2 Merge pull request #4401 from adam-sim-dev/solvers_verify
Use MFEM_VERIFY instead of MFEM_ASSERT inside the solvers
2024-07-18 16:05:25 +01:00
adam-sim-dev fbc4083001 Use MFEM_VERIFY 2024-07-13 08:33:28 +08:00
adam-sim-dev ffa4f84108 It should be the logical || operator 2024-07-11 16:20:36 +08:00
Will Pazner e4b8584a16 Formatting 2024-06-05 21:20:59 -07:00
Will Pazner 4aa0ed52af Don't duplicate single and double precision LAPACK code
Introduce MFEM_LAPACK_PREFIX and MFEM_LAPACK_COMPLEX to prepend 's', 'd', 'c',
or 'z' to the BLAS/LAPACK function name according to the precision.

Add new header lapack.hpp with declarations of the LAPACK functions.
2024-06-02 13:06:51 -07:00
Jan Nikl b849f79ccf Limited the number of iters reported by FGMRES without convergence. 2024-04-11 14:52:03 -07:00
Jan Nikl 5f75e11609 Made the number of iters reporting more consistent in FGMRES. 2024-04-11 14:50:27 -07:00
Jan Nikl 26dcdff1fb Merge branch 'master' into najlkin-pr14 2024-03-28 09:43:39 -07:00
Jan Nikl 9ecd621e5b Merge branch 'master' into najlkin-pr14 2024-02-09 13:39:13 -08:00
Dylan Copeland 046a874cfb Merge branch 'master' of github.com:mfem/mfem into float 2024-02-06 10:56:41 -08:00
Tzanio Kolev 87290fbf56 Update Copyright to 2010-2024 2024-01-27 13:06:49 -08:00
Jan Nikl cd9dfb4a25 Reworked the fix of FGMRES. 2024-01-24 17:29:02 -08:00
Jan Nikl 391bc38039 Merge branch 'master' into najlkin-pr14 2024-01-24 16:47:33 -08:00
Will Pazner 6e4baa3e4a Allow IterativeSolverMonitor to indicate early convergence 2024-01-04 14:13:50 -08:00
Dylan Copeland 7c81683d1b Introducing MFEM_USE_DOUBLE. 2024-01-02 14:40:33 -08:00
dylan-copeland 9beaa836b0 MFEM_USE_FLOAT -> MFEM_USE_SINGLE 2023-12-19 17:51:19 -08:00
Tzanio Kolev d983b34924 Renamed ftype -> real_t 2023-12-13 12:51:43 -08:00