Commit Graph
25 Commits
Author SHA1 Message Date
Tzanio f0bd9b287f Some edits in fem/ 2020-03-09 19:30:02 -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
Jan Nikl e64233bae6 Fixed boundary attribute marker in LinearForm. 2019-05-30 15:24:25 +02:00
Tzanio e36d1ea8fd Several change to (hopefully) simplify the interface:
* The parameter of Vector::UseDevice(bool) no longer has a default value. All
  the calls to UseDevice() in operator.cpp bilinearform_ext.cpp gridfunc.?pp and
  linearform.?pp have been replaced with UseDevice(true).

* Added shortcuts for the device flags of the Memory objects inside the Vector
  and Array classes:

    bool Array::UseDevice()
    bool Vector::UseDevice()

* The internal device flag in Memory::FlagMask is now called USE_DEVICE (it was
  previously called EXEC_FLAG). The accessor function for this flag have been
  renamed:

    bool Memory::GetExecFlag()     -> bool Memory::UseDevice()
    void Memory::SetExecFlag(bool) -> void Memory::UseDevice(bool)

* Further renamed:

    Memory::SyncWith         -> Memory::Sync
    Memory::SyncAliasToBase  -> Memory::SyncAlias
    Memory::SyncAliasToBase_ -> Memory::SyncAlias_

* Replaced FIXME with TODO in general/mem_manager.cpp
2019-05-24 14:01:15 -07:00
Tzanio 3d88be85bc Removed MFEM_USE_MM -- it is no longer necessary 2019-05-21 19:18:50 -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 562434aabb Simplify the implementation of one of the LinearForm ctors. 2018-11-20 18:58:55 -08:00
Stowell, Mark L ccc5883cca Merge remote-tracking branch 'origin/master' into shared-integ-dev 2018-11-08 18:02:44 -08:00
Tzanio Kolev 18994df30a Merge pull request #318 from IdoAkkerman/form_marker_dev
Boundary integrals only on indicated boundaries [form_marker_dev]
2018-10-22 07:22:29 -07:00
Veselin Dobrev 6e9fb6abb0 Update the error message in LinearForm::Assemble for the case of
boundary face integrators.
2018-10-16 14:54:42 -07:00
Stowell, Mark L 32793336bd Removing unneeded operator= operload 2018-10-15 14:30:50 -07:00
Stowell, Mark L 696694f124 Duplicating GridFunction::operator=() methods in LinearForm 2018-10-10 20:48:24 -07:00
Stowell, Mark L 1faf3f3073 make style 2018-08-02 20:20:01 -07:00
Stowell, Mark L 3bf8a815b5 Adding Integrator copy Constructors to MixedBilinearForm and LinearForm. Also adding marker array copying 2018-08-02 17:55:05 -07:00
Tzanio f291244bc1 boundary face integrator -> boundary integrator 2018-05-07 17:57:47 -07:00
Ido Akkerman 82f591d2df Added boundary marker to linearform 2017-10-13 11:50:15 +02:00
Veselin Dobrev fa9b867764 Proposal for a new implementation of the support for delta
coefficients in linear forms.
2017-08-28 21:01:38 -07:00
Stefano Zampini 333387b67d Added capability to integrate delta funtions 2017-07-23 13:19:49 +03:00
Tzanio 1569425857 Version 3.3 2017-01-28 22:05:47 -08:00
Jakub Cerveny 125ff226e4 Version 3.2 2016-06-30 10:37:30 -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
Tzanio Kolev 6bfa95b718 Version 1.0 2010-07-21 13:14:05 -07:00