Commit Graph
31 Commits
Author SHA1 Message Date
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
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
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
Tzanio dbae60fe32 Version 3.1 2016-02-16 15:45:48 -08:00
Tzanio Kolev 9d7774a03e Version 3.0 2015-01-26 15:07:34 -08:00