Commit Graph
52 Commits
Author SHA1 Message Date
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
Tzanio Kolev e4c2152419 Update Copyright to 2010-2025 2025-02-03 12:17:26 -08:00
camierjs 4e16e5edd1 Add block operators tests 2025-01-28 16:29:36 -08:00
Jan Nikl 6c6b053c0f Merge branch 'master' into najlkin-pr14 2024-04-11 14:30:42 -07:00
Jan Nikl cf5af75215 Revert "Added const qualifiers to Operator arguments of BlockOperator."
This reverts commit d843cd6e8a.
2024-04-03 09:24:42 -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 3dda9a5042 Merge pull request #4078 from mfem/najlkin/misc-bugfix
Various minor bug/deficiency fixes
2024-02-03 14:22:35 -08:00
Tzanio Kolev 87290fbf56 Update Copyright to 2010-2024 2024-01-27 13:06:49 -08:00
Jan Nikl 391bc38039 Merge branch 'master' into najlkin-pr14 2024-01-24 16:47:33 -08:00
Jan Nikl d843cd6e8a Added const qualifiers to Operator arguments of BlockOperator. 2024-01-22 14:38:02 -08:00
Dylan Copeland 80449bbd15 Merge branch 'master' of github.com:mfem/mfem into float 2023-12-21 13:20:38 -08:00
Victor DeCaria aea91bf9dc make block operator own the offsets 2023-12-18 14:50:47 -07:00
Tzanio Kolev d983b34924 Renamed ftype -> real_t 2023-12-13 12:51:43 -08:00
Dylan Copeland f106c03dd1 Generalized floating point type. So far, ex1 works for a serial build without lapack. 2023-10-09 14:19:25 -07:00
Tzanio Kolev 96e00dc815 Updated COPYRIGHT to 2010-2023 2023-03-11 16:58:18 -08:00
Veselin Dobrev e75ab127c8 Bugfix for GitHub issue #3516 2023-03-02 17:25:15 -08:00
Tzanio 6d2530775b Extended copyright to 2022 2022-02-25 10:24:50 -08:00
Stowell, Mark L e5558895dc Suggestions made by @YohannDudouit 2022-02-17 16:02:57 -08:00
Stowell, Mark L 61215468f3 Fixing shadow variables in linalg classes 2021-12-23 16:25:02 -08:00
Jan Nikl 6a1ef0e539 Merge branch 'master' into najlkin-pr14 2021-10-30 22:49:53 +02:00
Veselin Dobrev e83b35d460 Remove cleanup code for dangling aliases which is no longer needed. 2021-07-20 21:51:01 -07:00
Adrien M. Bernede 04fb572359 Let's forget about 2020 2021-01-26 11:55:36 -08:00
Jan Nikl eff2788d80 Improved BlockOperator to not compute blocks with zero coefficient. 2020-12-15 16:25:31 +01:00
stefanhenneking b6a3a119a1 Minor change in comments. 2020-07-22 14:18:59 -05:00
stefanhenneking 33b413042a Destroying aliased block vectors to avoid issues with dangling references in memory manager. 2020-07-14 18:32:26 -05:00
Stefan Henneking d949f69a4b Modifying BlockOperator and BlockDiagonalPreconditioner MultTranspose for device support. 2020-06-30 15:53:41 -07:00
Stefan Henneking a6c6fb18cf Using alias to compute BlockOperator and BlockDiagonalPreconditioner Mult on device. 2020-06-30 15:20:28 -07:00
stefanhenneking 30ad68af20 Merge branch 'master' of github.com:mfem/mfem into blockop_cuda
Merging master into feature branch.
2020-06-30 14:59:44 -05:00
Stowell, Mark L 872e044a69 Avoiding memory leak in BlockDiagonalPreconditioner 2020-05-21 11:08:10 -07:00
Stowell, Mark L 93d9683931 Avoiding memory leak in BlockOperator 2020-05-21 11:03:22 -07:00
Dylan Copeland 039a04b3e2 New BlockOperator implementation based on using MakeRef in BlockVector. 2020-05-19 16:52:13 -07:00
Dylan Copeland 1ec02f0b23 Changed BlockOperator and BlockDiagonalPreconditioner to copy data to and from separate vectors for each block multiplication, in order to work on device. Updated MINRES for device runs. Now ex5 works on device. 2020-05-08 13:20:37 -07:00
Tzanio 05125e19d5 Removed a space 2020-03-09 15:36:41 -07:00
Tzanio ca55ef0217 The release number for mfem-4.1 is LLNL-CODE-806117 2020-03-02 17:18:46 -08:00
Tzanio 2caa222edf A number of changes to switch the code from LGPL-2.1 to BSD-3:
- Updated LICENSE, README, CHANGELOG and CONTRIBUTING.md
- Removed COPYRIGHT, added NOTICE
- Updated the headers in all source files, makefiles, etc.
2020-02-23 11:16:46 -08:00
Veselin Dobrev 40378a046b Introduce a new Memory class for handling host + device allocations
and transfers.

The Memory class is now used by some MFEM classes (like Array and
Vector) which can be used on the Device. Such classes now provide
methods to access the underlying Memory object, e.g. GetMemory.

Updated ex1/ex1p and ex6/ex6p to not need to enable/disable the
Device at specific points -- the Device is now enabled just at the
start. Also, the same examples can now run on Device (e.g. -d cuda)
without the partial assembly option (-pa) -- full assembly will
be still done on CPU but the sparse matrix action and vector
operations will be done using the Device.

Reverted changes in class DenseMatrix related to using the Device.
At this point, DenseMatrix operations are only used for small matrices
and using the Device in this case is not a good option.
2019-05-16 14:53:39 -07:00
Tzanio bf2d8bb275 Few small fixes. 2017-04-18 16:55:37 -07:00
Scott MacLachlan c62c45d510 Fixing bug in range of loop for MultTranspose in BlockLowerTriangular preconditioner 2017-04-17 20:54:51 -04:00
Tzanio Kolev 5d10ea83d7 Merge pull request #130 from mfem/blockprec-dev
Adding block lower triangular preconditioner to blockoperator.?pp [blockprec-dev]
2017-03-10 16:38:23 -08:00
Veselin Dobrev 6374536e13 In class BlockOperator:
* add method SetBlockCoef
* add 'const' to GetBlockCoeff
* fuse vector operations in Mult and MultTranspose.
2017-03-03 18:55:16 -08:00
Tzanio 196c147e47 Small updates in the comments 2017-03-02 08:32:57 -08:00
Veselin Dobrev 000bf74160 Update CHANGELOG.
Tweak doxygen docs, and 'make style'.
2017-03-01 12:36:03 -08:00
Scott MacLachlan 867c697111 Added check on BlockLowerTriangularPreconditioner::SetBlock to ensure only lower triangle is filled. Also added missing dimension check for SetDiagonalBlock. 2017-03-01 14:04:22 -03:30
Scott MacLachlan f07d80f556 Updating to remove redundant row/column block counts and offset arrays. Also updated documentation to reflect difference between diagonal and off-diagonal blocks in the preconditioner.
Not done (because I'm waiting for confirmation on it) is adding a check in SetBlock to ensure we only fill the lower triangular.
2017-02-28 11:23:25 -03:30
Tzanio dfaf0251b6 make style 2017-02-27 07:59:19 -08:00
Scott MacLachlan a082b99efa Adding block lower triangular preconditioner to blockoperator.?pp 2017-02-27 10:03:36 -03:30
Stowell, Mark L 7c8bfaeeb3 Augmenting BlockOperator
Adding an optional scalar multiple for each individual block.  For
example, block operators where different blocks differ only by a
constant multiple.
2017-02-26 16:54:05 -08:00