Commit Graph
87 Commits
Author SHA1 Message Date
Tzanio ca5a4dff6f Various documentation adjustments 2020-06-07 15:56:56 -07:00
Aaron Fisher 0a1e62b127 Merge branch 'master' into dox-update1 2020-06-02 13:19:31 -07:00
Robert Carson a2a6e38ce9 Merge branch 'master' into qfvc-dev 2020-05-22 13:42:06 -07:00
Tzanio Kolev 1fc6280e9f Merge branch 'master' into dox-update1 2020-05-21 08:10:11 -07:00
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
Aaron Fisher dfddd53892 Merge branch 'master' into dox-update1 2020-05-19 16:38:16 -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
Robert 728777c5be Address comments regarding VQFC, QFC, QF classes 2020-05-18 13:34:54 -07:00
Stowell, Mark L 0bd112160c Removing reference to documentation that no longer exists 2020-05-12 12:07:25 -07:00
Robert Carson 2123041a6a Merge branch 'master' into qfvc-dev 2020-05-12 11:20:28 -07:00
Tzanio e340b7b800 minor 2020-05-11 19:19:19 -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
Aaron Fisher bb2f464ca6 Merge branch 'master' into dox-update1 2020-04-08 15:15:52 -07:00
Stowell, Mark L b0ddd613fd Adding doxygen warnings to GetValue(int i,...) methods 2020-04-08 11:24:17 -07:00
Aaron Fisher c3be660074 Merge branch 'master' into dox-update1 2020-04-07 17:25:23 -07:00
Stowell, Mark L e6fd16e6a5 Rearranging the comments to produce more effective doxygen output 2020-04-07 14:54:17 -07:00
Tomov 8d627d84c1 Minor. 2020-04-07 00:15:07 -07:00
Robert fbdb989776 Fix slow QuadratureFunction::GetElementValues when provided int pt 2020-04-06 13:44:59 -07:00
Robert 0c7796c40c Merge branch 'master' into qfvc-dev 2020-03-20 09:19:27 -07:00
Tzanio 4376a2f456 Small edits 2020-03-18 16:00:03 -07:00
William F Godoy 11afcc6321 Requested changes from PR review
Keep a few examples
Correct function signature in gridfunc and pgridfunc
2020-03-18 09:42:04 -04:00
William F Godoy 9c379891bf Resolving conflicts with latest master 2020-03-18 09:41:46 -04: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 2da035cbdc Rearranging and documenting the various GridFunction::GetValue methods 2020-03-12 18:00: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 ca55ef0217 The release number for mfem-4.1 is LLNL-CODE-806117 2020-03-02 17:18:46 -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
rcarson3 b7ca7c3ca0 Initial QuadratureFunction Coefficient and VectorCoefficient implementations 2020-02-04 09:17:14 -08:00
Miguel Salazar de Troya 58ed2c2333 adding setter and fixing with_coeff to bool 2020-02-03 16:23:44 -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
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 484609f57a Merge remote-tracking branch 'origin/master' into lp-error-est-dev 2019-08-22 10:47:55 -07:00
Aaron Fisher 35d6b0a442 Merge branch 'master' into dox-update1 2019-07-03 14:20:36 -07:00
Veselin Dobrev 6e457ec497 Fix a few issues related to using the classes SparseMatrix,
HypreParVector, HypreParMatrix, and HypreSmoother with GPU backends.

Add 2 versions of a new method: Vector::MakeRef -- one that takes
a Vector and an offset and another that takes a Vector, an offset
and a new size.

Add some simple debugging tools:
 * Add a new output "trace" stream: mfem::trc. By default, the output
   of mfem::trc goes to std::cout; the new function mfem::OpenTraceFile()
   can be used to redirect the output of mfem::trc to a file called
   'mfem-trace-<pid>' where <pid> is the process id. Note that this
   function can be called from a debugger.
 * In class Vector, add a new method Vector::PrintTrace() that prints a
   Vector to the mfem::trc stream -- this method can be called from a
   debugger, unlike Vector::Print with mfem::trc as argument (at least
   in gdb this did not work).
 * In class Memory<T>, add 2 new methods: PrintFlags() and
   CompareHostAndDevice() which are explicitly instantiated for T=int
   and T=double, so that they can be called inside a debugger for
   these two types.
2019-06-17 18:55:17 -07:00
Aaron Fisher eb9abd9cf6 Added a little bit of doxygen for all the element types and some minor documentation fixes elsewhere. 2019-06-10 11:05:43 -07:00
Ido Akkerman c606ff21d5 Merge branch 'master' into laplacian_dev 2019-06-05 09:41:55 +02:00
Tzanio 9fc570b1cc Merge branch 'master' into builddoftoarrays-dev 2019-05-25 22:23:58 -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
Robert W. Anderson bb468f8e8a remove comment about calling preqreq function - moved into body of fns 2019-05-21 12:49:44 -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
Stowell, Mark L 2b7569c900 Generalizing ComputeElementError methods to accept Vectors 2019-04-22 13:36:40 -07:00