Commit Graph
118 Commits
Author SHA1 Message Date
Tzanio 05125e19d5 Removed a space 2020-03-09 15:36:41 -07:00
Tzanio 2e37ba7d97 Merge branch 'master' into yohann/dg
Conflicts:
x	fem/bilinearform_ext.cpp
2020-03-04 20:42:09 -08: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
Yohann Dudouit 155808ccf8 Merge branch 'master' into yohann/dg 2020-03-02 10:51:32 -08:00
Tzanio 88a78bb6aa Merge branch 'master' into bsd-relicense
Conflicts:
	CONTRIBUTING.md
2020-03-02 09:28:37 -08:00
camierjs e4d0496931 Merge branch 'master' into okina-mmu 2020-02-29 10:20:37 -08:00
Yohann Dudouit 6e5bda0743 Merge branch 'master' into yohann/dg 2020-02-27 16:38:19 -08:00
camierjs 1e8da55823 Merge branch 'master' into okina-mmu 2020-02-27 11:34:06 -08:00
Tzanio 2bcd8b5293 Merge branch 'master' into ndpa-dev
Conflicts:
	examples/CMakeLists.txt
	examples/makefile
	fem/bilinearform_ext.cpp
2020-02-27 10:32:08 -08:00
Yohann Dudouit 52ac7a9768 Move the check for pa inside Finalize. 2020-02-27 09:31:49 -08:00
Tzanio e689fd5b28 Merge branch 'master' into bsd-relicense 2020-02-27 09:29:25 -08:00
camierjs d068670360 Update fem/bilinearform to use InitTVectors with Pi 2020-02-24 16:03:32 -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 fb4a4348c5 bilinearform.cpp, bilinearform.cpp, bilinearform.cpp sparsemat memory fix 2020-02-04 12:39:42 -08:00
camierjs c376da4427 Revert LF in fem/bilinearform.cpp 2020-02-01 15:47:00 -08:00
camierjs 0aee38c60c All serial examples with valgrind and debug/host32 allocators 2020-01-31 18:51:31 -08:00
camierjs 88c40b9705 Wrap picks existing registered host memory type or fall back to MemoryType::HOST 2020-01-29 14:20:10 -08:00
camierjs 764b34c1a8 Cleanup + all tests 2020-01-28 17:44:28 -08:00
Dylan Copeland c1f7ed3097 Merge branch 'master' of github.com:mfem/mfem into ndpa-dev 2020-01-28 12:08:01 -08:00
Tzanio 25e67d568d Renamed areColumnsSorted() to ColumsAreSorted(). Small comments and typos. 2020-01-21 17:49:58 -08:00
Tzanio 5446ce63e3 Merge branch 'master' into rectop-bc-dev
Conflicts:
	linalg/operator.cpp
2020-01-17 18:33:45 -08:00
camierjs 20a63b218a GetProlongationMatrix returns IdentityOperator when NRanks ==1
Add IsIdentityProlongation in operator.hpp
2020-01-16 16:11:51 -08:00
Dylan Copeland 393b2d6601 Merge branch 'master' of https://github.com/mfem/mfem into ndpa-dev 2020-01-16 12:43:48 -08:00
Julian Andrej 046b990a7d Merge branch 'master' into rectop-bc-dev
Resolved conflicts:
	CHANGELOG
	fem/bilininteg.hpp
	tests/unit/fem/test_pa_kernels.cpp
2020-01-15 15:18:29 -08:00
Veselin Dobrev eaea9d53a4 Merge branch 'master' into vecmass-vecdiff-dev
Resolved conflicts:
   CHANGELOG
2020-01-13 21:00:47 -08:00
camierjs 0f02f21229 Merge branch 'master' into ndpa-dev 2020-01-13 10:16:19 -08:00
Veselin Dobrev 94da8d4a90 Fix an issue in class OperatorJacobiSmoother.
Unified the implementation of AssembleDiagonal in one place
in BilinearForm which also works in parallel (using the virtual
call GetProlongationMatrix).
2020-01-09 16:16:30 -08:00
Tzanio 5534584ef8 Merge branch 'master' into rectop-bc-dev 2020-01-08 16:44:22 -08:00
Tzanio b0a79d993b Final adjustments 2020-01-05 21:50:25 -08:00
Tzanio 80552e0d7c Small edits 2020-01-02 12:54:16 -08:00
Dylan Copeland e08da5720d Implemented PA for mixed bilinear form in Nedelec and H^1 spaces. Added test exNDH1 for mixed bilinear form. 2019-12-19 09:49:38 -08:00
Andrew T. Barker 912e2391c6 BilinearForm::AssembleDiagonal() now runs on AMR meshes and gives wrong answer
The diagonal produced has the correct size but not the correct values, and in
this case the code gives a warning.
2019-12-17 14:32:37 -08:00
Andrew T. Barker 12260d84f2 Typos + don't compute unnecessary intermediate quantities. 2019-12-17 13:33:56 -08:00
Dylan Copeland 2515ac8fca Implemented diagonal assembly for 2D and 3D Nedelec mass matrices. Copied OperatorJacobiSmoother from branch flow-miniapp. 2019-12-17 09:49:51 -08:00
Dylan Copeland 98ba928a8b Implemented PA for Nedelec mass matrices on hexahedra in VectorFEMassIntegrator. Generalized ElementRestriction to handle negative DOFs and the corresponding sign flips. 2019-12-10 15:52:11 -08:00
Tomov 242557fe13 Minor. 2019-12-10 10:47:43 -08:00
Vladimir Tomov 453876a32c Minor. 2019-12-03 19:09:14 -08:00
Julian Andrej a8e9ed5576 removed unnecessary comments 2019-12-03 11:00:26 -08:00
Will Pazner a4e33dd8ad Bugfix for BilinearForm::Mult with PA 2019-11-20 14:02:39 -08:00
Julian Andrej c84af9586d first step picking hunks for rectangular operators 2019-11-18 16:49:44 -08:00
camierjs be15513f1f Merge branch 'master' into feature/okina-jacobi 2019-09-23 10:40:56 -07:00
Veselin Dobrev 8bb5309cbc In MixedBilinearForm::Assemble, use local loop variables everywhere. 2019-07-30 16:58:19 -07:00
Jan Nikl 4f8678c9e4 Fixed for-init scoping in bilinearform.cpp 2019-07-25 20:25:53 +02:00
Veselin Dobrev ef67de8c61 Merge branch 'master' into najlkin/pr6 2019-07-19 20:44:21 -07:00
Andrew T. Barker 21065c2334 bilinearform: add some boilerplate for device-based diagonal assembly 2019-06-26 13:26:25 -07:00
Michael Franco 29d2fdee65 Fix const correctness in eliminate* functions 2019-06-25 11:34:45 -07:00
Tzanio c3999ba78b A few shortcuts for Vector + Memory 2019-05-22 08:16:12 -07: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
Veselin Dobrev 5b5769dea3 In class SparseMatrix:
* Add methods BuildTranspose() and ResetTranspose() that control
  the use of the internal transpose matrix, At.
* The method AddMultTranspose() will always use At, if it is built.
  If At is not build and the Device is enabled, an error will be
  generated pointing to BuildTranspose().
* Introduce separate non-const and const versions of the methods
  GetI(), GetJ(), and GetData().
* Made the method ActualWidth() const.
* Some edits in the documentation, the code formatting, and the
  error messages.

In the method BilinearForm::FormLinearSystem(), call the method
SparseMatrix::BuildTranspose() for the nonconforming prolongation
matrix, when necessary.
2019-04-23 17:48:40 -07:00