Commit Graph
121 Commits
Author SHA1 Message Date
Tzanio Kolev 261fd7adcd Merge pull request #919 from mfem/builddoftoarrays-dev
Automatically call BuildDofToArrays() in certain ProjectCoefficient() signatures [builddoftoarrays-dev]
2020-05-21 08:01:06 -07:00
Tzanio Kolev cc49757166 Merge branch 'master' into gf-getvalue-dev 2020-05-19 10:34:14 -07:00
Tzanio 100cae1158 minor 2020-05-19 10:30:47 -07:00
Stowell, Mark L ada4fcca83 Moving field continuity enum to FiniteElementCollection 2020-05-06 14:52:48 -07:00
Stowell, Mark L 0a6113d497 Adding EDGE and FACE cases to GetValue and GetVectorValue for continuous fields 2020-05-06 13:44:46 -07:00
Stowell, Mark L 4619cf228d Using new field continuity information to simplify the logic in the GetValue and GetVectorValue methods 2020-04-29 16:55:57 -07:00
Stowell, Mark L 4f2caaacc1 Merge remote-tracking branch 'origin/master' into lp-error-est-dev
# Conflicts:
#	tests/unit/fem/test_3d_bilininteg.cpp
2020-04-17 13:57:16 -07:00
Stowell, Mark L 0be1846a73 Merge remote-tracking branch 'origin/master' into gf-getvalue-dev
# Conflicts:
#	mesh/pmesh.cpp
2020-04-14 10:29:23 -07:00
Stowell, Mark L bb25ac674c Move a call to GetBdrElementDofs to avoid unneeded function call in DG context 2020-04-08 09:58:01 -07:00
William F Godoy 9c379891bf Resolving conflicts with latest master 2020-03-18 09:41:46 -04:00
Stowell, Mark L c3f42bff3b make style 2020-03-12 23:04:10 -07:00
Stowell, Mark L b6e1430a46 Fixing implementation that was overwritten by merge with master 2020-03-12 21:20:44 -07:00
Stowell, Mark L 8b81c29b2b Merge remote-tracking branch 'origin/master' into gf-getvalue-dev
# Conflicts:
#	fem/datacollection.cpp
#	fem/gridfunc.hpp
2020-03-12 20:56:28 -07:00
Stowell, Mark L 18c9103305 Removing dead code 2020-03-12 15:36:55 -07:00
Tzanio 05125e19d5 Removed a space 2020-03-09 15:36:41 -07:00
Tzanio Kolev 7bb573285a Merge pull request #1315 from mfem/bsd-relicense
Switch from LGPL-2.1 to BSD-3 [bsd-relicense]
2020-03-04 13:55:12 -08:00
Tzanio Kolev d1b37d08b0 Merge pull request #1327 from mfem/acc_and_cnt-bugfix-dev
GridFunction::AccumulateAndCountZones bug fix
2020-03-03 07:07:19 -08:00
Veselin Dobrev d959588bdd Tweak GridFunction::GetTrueDofs and GridFunction::SetFromTrueDofs
to avoid copies when the mesh is conforming.
2020-03-02 17:41:14 -08:00
Tzanio ca55ef0217 The release number for mfem-4.1 is LLNL-CODE-806117 2020-03-02 17:18:46 -08:00
Veselin Dobrev 006a1590ef Comment out unnecessary call to HostReadWrite. 2020-03-02 16:21:08 -08:00
camierjs 3f3013084d Dont need to Host-read tdof vector 2020-03-02 13:55:25 -08:00
camierjs da45d8d6a5 Fix ex24p uninitialized X vector 2020-03-02 11:53:17 -08:00
Tzanio 88a78bb6aa Merge branch 'master' into bsd-relicense
Conflicts:
	CONTRIBUTING.md
2020-03-02 09:28:37 -08:00
rcarson3 d4b1ec5f05 AccumulateAndCount* bug fixes for device runs
Whenever GridFunction::ProjectDiscCoefficient* was called with the device being run the gridfunction didn't necessarily have the gridfunction data on the host thus causing errors when the AccumulateAndCount* functions were called.
2020-02-27 18:57:47 -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
Tzanio e689fd5b28 Merge branch 'master' into bsd-relicense 2020-02-27 09:29:25 -08:00
Tzanio Kolev cfbe0bf5ac Merge pull request #1271 from salazardetroya/zz-with-coeff
Consider the coefficient in the BilinearIntegrator when computing the fluxes in ZienkiewiczZhuEstimator
2020-02-23 17:57:53 -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
Ido Akkerman fe3446d50f Remove white space 2020-02-10 17:33:15 +01:00
Miguel Salazar de Troya 58ed2c2333 adding setter and fixing with_coeff to bool 2020-02-03 16:23:44 -08:00
Dylan Copeland a02409f8c9 Removed absolute value in diagonal assembly, by using a new MultTransposeUnsigned function in ElementRestriction. Made some changes for gpu support. 2020-02-03 09:58:28 -08:00
Miguel Salazar de Troya 32a0104a0d passing the flag to consider the coefficient in the flux computation 2020-01-29 10:06:49 -08:00
Stowell, Mark L 8fb34a4cad Bug fixes in GetValues methods (thanks to unit testing) 2020-01-23 17:03:06 -08:00
Stowell, Mark L 69f6e413f1 Simplifying GetValues methods by using GetValue methods 2020-01-23 14:52:05 -08:00
Stowell, Mark L 08c6d61928 Adding implementation of GetValues method so that examples will compile 2020-01-23 14:29:32 -08:00
Ido Akkerman fef5517ec2 Merge branch 'master' into laplacian_dev 2020-01-09 10:14:25 +01:00
Stowell, Mark L 0486231ce9 Merge remote-tracking branch 'origin/master' into lp-error-est-dev 2020-01-08 14:04:16 -08:00
Stowell, Mark L c0a4a3b0d5 Adding more general GetValue and GetVectorValue methods to GridFunction 2019-12-16 21:52:17 -08:00
Stowell, Mark L d8ed4d4cd2 Adding GridFunction::GetValue methods that take transformation objects rather than simple indices 2019-12-15 23:35:58 -08:00
Stowell, Mark L 7e61ddc5f8 Increasing integration order in element-wise Lp error computations 2019-08-22 14:46:58 -07:00
Stowell, Mark L 484609f57a Merge remote-tracking branch 'origin/master' into lp-error-est-dev 2019-08-22 10:47:55 -07:00
Ido Akkerman c606ff21d5 Merge branch 'master' into laplacian_dev 2019-06-05 09:41:55 +02:00
artv3 80f781df02 first pass at app fixes 2019-05-30 06:29:07 -07:00
Tzanio 9fc570b1cc Merge branch 'master' into builddoftoarrays-dev 2019-05-25 22:23:58 -07:00
Tzanio b3c3c5cf4c Merge branch 'memory-dev' of github.com:mfem/mfem into memory-dev 2019-05-24 14:23:56 -07:00
Tzanio 1a69dcff78 Replaced FIXMEs with TODO or NOTE 2019-05-24 14:23:39 -07:00
camierjs bd08fa9592 Merge branch 'memory-dev' of github.com:mfem/mfem into memory-dev 2019-05-24 14:21:12 -07:00
camierjs 283264ade4 {Read,Write,ReadWrite}Access => {Read,Write,ReadWrite}
Add shortcut for Host{Read,Write,ReadWrite}
2019-05-24 14:08:45 -07: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
Veselin Dobrev 798ded1f55 Merge branch 'master' into memory-dev 2019-05-22 23:53:04 -07:00