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
Ido Akkerman
adf69152c7
Adding finalize to blockmatrix.
2017-10-04 11:20:01 +02:00
Ido Akkerman
f5014a17b9
Adding eliminateRowCol to blockmatrix, similar to the sparsematrix call
2017-10-04 09:54:15 +02:00
Veselin Dobrev
27ffe35369
Merged general/globalcomm.[ch]pp and general/globalostream.[ch]pp into
...
general/globals.[ch].
Renamed class WrappedOStream to OutStream and use a different
implementation in order to support the case when the OutStream is passed
as a parameter of type std::ostream.
In class MPI_Session, added an MPI_Comm parameter to both constructors,
with a default value of MPI_COMM_WORLD.
Hide the global variable MFEM_COMM_WORLD and allow access (read and
write) with global functions: GetGlobalMPI_Comm() and
SetGlobalMPI_Comm() - in the future, we may want to perform some tasks
when changing the "global" MPI communicator.
In mfem_error(), use GetGlobalMPI_Comm() instead of MPI_COMM_WORLD.
Minor formatting changes and #include reordering.
2017-09-29 15:52:51 -07:00
Aaron Fisher
aa040f3e64
Made everything work with the new mfem::out and mfem::err output.
2017-09-27 15:42:37 -07: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