Commit Graph
32 Commits
Author SHA1 Message Date
Veselin Dobrev 2d021685de Fix a bug in QuadratureFunction::GetValues when getting a reference to
the data for one mesh element as a DenseMatrix.

Added new methods:
- Array<T>::MakeRef(Memory<T> &base, int offset, int size_)
- DenseMatrix::MakeRef(Memory<real_t> &base, int offset, int h, int w)
2026-02-02 08:42:58 -08:00
Tzanio Kolev 19e4c53acd Merge branch 'master' into qf-project-gf-fallback 2025-11-07 13:34:56 -08:00
Arturo Vargas 4c9769a927 add contructor that takes device memory type 2025-10-24 11:13:33 -07:00
Jan Nikl 440d552e85 Merge branch 'master' into qf-project-gf-fallback 2025-10-15 10:04:34 -07:00
Will Pazner 86b16c8989 Add fallback for QuadratureFunction::ProjectGridFunction
The (slower) fallback will be used when QuadratureInterpolator is not supported
for the finite element space.
2025-04-29 10:35:44 -07:00
Andrew Ho 1f7f394f4e Merge remote-tracking branch 'base/master' into qspace-device 2025-02-24 18:47:58 -08:00
Tzanio Kolev e4c2152419 Update Copyright to 2010-2025 2025-02-03 12:17:26 -08:00
Andrew Ho 0ead1d9c77 Implemented offset compression in qspace 2024-11-22 11:40:33 -08:00
Dylan Copeland d2e89166f9 Merge branch 'master' of github.com:mfem/mfem into float 2024-03-05 10:23:02 -08:00
Will Pazner eea68c8b96 Merge remote-tracking branch 'origin/master' into integrate-qfunction 2024-02-08 10:27:39 -08:00
Dylan Copeland 046a874cfb Merge branch 'master' of github.com:mfem/mfem into float 2024-02-06 10:56:41 -08:00
Tzanio Kolev 87290fbf56 Update Copyright to 2010-2024 2024-01-27 13:06:49 -08:00
Will Pazner 975f03b0f0 Support QuadratureFunction::Integrate with vdim > 1 2024-01-08 11:56:41 -08:00
Tzanio Kolev d983b34924 Renamed ftype -> real_t 2023-12-13 12:51:43 -08:00
Dylan Copeland f106c03dd1 Generalized floating point type. So far, ex1 works for a serial build without lapack. 2023-10-09 14:19:25 -07:00
Will Pazner dda1002ff1 Add QuadratureFunction::Integrate 2023-09-20 11:48:58 -07:00
Will Pazner df8b9928f8 Save QFields with correct name in VTU format 2023-08-09 22:04:47 -07:00
Veselin Dobrev f3bd409b18 Merge pull request #3510 from mfem/qfunction-use-device
Set `UseDevice(true)` by default in `QuadratureFunction`
2023-04-25 17:43:19 -07:00
Tzanio Kolev 96e00dc815 Updated COPYRIGHT to 2010-2023 2023-03-11 16:58:18 -08:00
Will Pazner 14716699fd Set UseDevice(true) by default in QuadratureFunction 2023-02-26 14:52:57 -08:00
Will Pazner b9efa256b4 Add comment that QuadratureFunction constructor takes a host pointer 2022-12-27 15:08:03 -08:00
Kenneth Weiss d8a223bd56 Adds a QuadratureFunction constructor over an external data pointer
This was present in mfem@4.4, but missing in mfem@4.5.
The following call: `QuadratureFunction(qspace, qf_data, vdim);`
is equivalent to: `QuadratureFunction qf; qf.SetSpace(qspace, qf_data, vdim);`
2022-12-12 19:17:32 -08:00
Veselin Dobrev a7501a08d6 Fix style 2022-10-29 21:01:34 -07:00
Robert Carson 6e9f62ca86 bug fix qfunction inline funcs in wrong file 2022-10-28 14:31:02 -04:00
Will Pazner e0d8ee2bcd Better host/device memory management in QuadratureFunction::GetValues 2022-09-06 17:00:08 -07:00
Will Pazner 9593742ca7 QuadratureFunction comment improvements 2022-08-02 17:12:41 -07:00
Will Pazner 65f75f558a Combine QuadratureFunction and FaceQuadratureFunction into one class 2022-07-13 17:31:14 -07:00
Will Pazner 6932fa1da3 make style 2022-06-09 15:42:43 -07:00
Will Pazner acf9b51fe9 Prototype for FaceQuadratureSpace and FaceQuadratureFunction 2022-04-20 12:07:46 -07:00
Will Pazner 7d503a3dc9 Merge branch 'quadrature-function-coefficient' into face-quadrature-space-coefficient
# Conflicts:
#	fem/fespace.cpp
#	fem/fespace.hpp
#	fem/gridfunc.cpp
#	fem/gridfunc.hpp
2022-04-05 15:52:08 -07:00
Will Pazner 69c1822084 Add FaceQuadratureSpace and FaceQuadratureFunction
Also add base classes for QuadratureSpace and QuadratureFunction
2022-04-05 15:14:57 -07:00
Will Pazner 4e658ee85e Move QuadratureSpace and QuadratureFunction to their own files 2022-04-05 12:44:24 -07:00