Commit Graph
56 Commits
Author SHA1 Message Date
Tzanio Kolev e4c2152419 Update Copyright to 2010-2025 2025-02-03 12:17:26 -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
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
Veselin Dobrev e97ae62dba Fix style 2023-04-17 10:33:40 -07:00
Veselin Dobrev a7d3193263 Fix test failures due to changes in PR #3579 uncovered during testing
in 'next'.
2023-04-17 10:20:41 -07:00
Tzanio Kolev 96e00dc815 Updated COPYRIGHT to 2010-2023 2023-03-11 16:58:18 -08:00
Will Pazner 74a04838fa Merge remote-tracking branch 'origin/master' into typos 2022-09-09 09:57:48 -07:00
Socratis Petrides ba5d2a6152 fix EliminateRowCols 2022-08-30 19:16:29 -07:00
Socratis Petrides 457c3ad80b review comments 2022-08-22 16:24:21 -07:00
Socratis Petrides 57aa5aaae8 remove unused variable 2022-08-16 11:58:10 -07:00
Socratis Petrides 1ab976992b style 2022-08-16 11:45:00 -07:00
Socratis Petrides 7917bc401f fix eliminaterowcols to work with general matrices 2022-08-16 11:44:03 -07:00
Socratis Petrides 639ca8f06a ParMult and ParAddMult 2022-08-16 09:50:33 -07:00
Socratis Petrides aef437100a Eliminate RowCols for blockmatrix 2022-08-16 09:48:26 -07:00
luz paz 476c855bd7 Fix various typos
Found via `codespell -q 3 -L allright,ba,equil,esy,fo,hda,lod,nd,ned,numer,ot,pres,ro,seh,shat,solfes,strat,tbe,te,warmup`
2022-08-05 20:50:51 -04:00
Tzanio 6d2530775b Extended copyright to 2022 2022-02-25 10:24:50 -08:00
Will Pazner 233bee6188 Add comment to PrintMatlab 2021-09-28 14:17:59 -07:00
Will Pazner 9e67380171 Improvements to PrintMatlab
Make Operator::PrintMatlab virtual, output zero entry in last row and column to
preserve matrix size.
2021-09-28 12:01:04 -07:00
Veselin Dobrev c4e5bdf660 Merge pull request #1935 from mfem/blockmatrix-fix
Blockmatrix fix
2021-02-25 14:33:34 -08:00
Adrien M. Bernede 04fb572359 Let's forget about 2020 2021-01-26 11:55:36 -08:00
Gauthier Folzan ca4d9b5ccd returning value through variable static const double zero 2021-01-05 23:49:13 +01:00
Gauthier Folzan 680fcf0f1a Return 0 when element is undefined 2021-01-05 21:16:51 +01:00
Gauthier Folzan e60e9a0a81 Using static_cast instead of a const reference 2020-12-15 10:03:00 +01:00
Gauthier Folzan 307656ae04 Force using const version to prevent error when accessing undefined terms 2020-12-09 09:47:54 +01:00
Gauthier Folzan 2fc7f65dbe Correction in the non const version 2020-12-09 09:09:30 +01:00
Gauthier Folzan 3560806662 Fixing wrong index for null block test 2020-12-08 16:34:51 +01:00
Tzanio 05125e19d5 Removed a space 2020-03-09 15:36:41 -07:00
Tzanio 58872c9e7b Merge branch 'master' into okina-mmu
Conflicts:
	fem/datacollection.cpp
	tests/unit/CMakeLists.txt
2020-03-04 15:19:33 -08: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
camierjs 07889899b2 BlockMatrix CreateMonolithic fix,
Add MFEM_INIT_WARNING and MFEM_INIT_ABORT
Move Backend::DEBUG as last MFEM device
2020-02-04 12:22:22 -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
camierjs 2020335b50 Renaming + free functions in mfem namespace 2019-04-09 18:17:00 -07:00
Will Pazner a5ecb742a0 Revert to using new and delete
Also rename mm::malloc to mm::New and mm::free to mm::Delete.
2019-04-04 13:44:10 -07:00
camierjs a03364e473 MFEM_GPU_CANNOT_PASS cleanup and simplify cuda header 2019-03-25 12:55:19 -07:00
camierjs 3940c55fc3 Cleanup 2019-03-05 09:07:04 -08:00
camierjs eb68f79ee2 MM sanitized 2019-02-28 12:47:09 -08:00
Veselin Dobrev ea0bffa058 Modified the virtual method AbstractSparseMatrix::EliminateZeroRows
and it implementations in derived classes, to accept an optional
'threshold' parameter.

A number of improvements in the doxygen documentation.

Some other minor tweaks.
2018-01-05 20:12:00 -08:00
Tzanio ac9ca824cb Merged mfem's master as of 4/1/18 to resolve conflicts.
Tried to sync similar changes with PR #298.

Merge remote-tracking branch 'upstream/master' into diag-policy
2018-01-04 14:59:18 -08:00
Veselin Dobrev 97ed215aef Merge branch 'master' into elim-colrow-dev 2017-12-25 01:23:00 -08:00
Veselin Dobrev c6dafc6483 A set of small fixes and cleanups uncovered by static analysis with
clang static analyzer.
2017-12-09 16:12:35 -08:00
Tzanio 197441b025 Merge branch 'master' into elim-colrow-dev 2017-12-01 17:40:27 -08:00
Tzanio e9030a0147 Minor styling/comments 2017-12-01 17:40:14 -08:00
kvoronin 19ef297364 Added a missing header 2017-11-11 22:47:44 -08:00
kvoronin 6ecc636d5b Replaced std::cout by mfem::out 2017-11-11 22:46:19 -08:00
kvoronin ac9b20369a Added size checks as assertions into BlockMatrix::Mult() 2017-11-11 12:42:46 -08:00
Tzanio 6c6d600ca7 Merge branch 'master' into elim-colrow-dev 2017-11-10 17:06:02 -08:00
Alexander Grayver 12cb5dcad7 Introduce DiagonalPolicy enum instead of int d argument 2017-11-06 14:27:37 +01:00