Commit Graph
28 Commits
Author SHA1 Message Date
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