Commit Graph
234 Commits
Author SHA1 Message Date
Tzanio 6d2530775b Extended copyright to 2022 2022-02-25 10:24:50 -08:00
Tzanio Kolev 232d46ac77 Merge pull request #2731 from mfem/shadow-out-dev
Fixing shadow warnings about "out/err" globals [shadow-out-dev]
2022-02-23 11:55:25 -08:00
Stowell, Mark L f07e137d89 Merge remote-tracking branch 'origin/master' into shadow-fem-dev
# Conflicts:
#	fem/prestriction.cpp
#	fem/restriction.cpp
2022-02-18 09:55:58 -08:00
Will Pazner 14b48da4d2 Merge remote-tracking branch 'origin/master' into shadow-out-dev 2022-02-18 08:20:52 -08:00
Will Pazner a5f85a865b Use raw string literals for XML 2022-02-08 10:26:07 -08:00
Stowell, Mark L 63381b366a Renaming ostream variables from out to os 2022-01-18 15:06:46 -08:00
Will Pazner 9b6a80c193 VTU output of multi-component QuadratureFunctions 2021-12-24 11:15:27 -08:00
Stowell, Mark L 00622b78fc Fixing shadow variables in fem classes 2021-12-23 16:32:09 -08:00
Will Pazner 703706762b Save QuadratureFunctions in VTU format 2021-12-23 14:46:26 -08:00
Stowell, Mark L f7c9bdab17 Renaming "out" and "err" local variables to avoid globals 2021-12-22 15:19:20 -08:00
Vladimir Z Tomov 654663a221 Parallel implementation of GridFunction::GetDerivative(). 2021-09-20 14:22:48 -07:00
Tzanio Kolev db6f2b3ce6 Merge pull request #2520 from mfem/nd-project-fix
Fix ProjectBdrCoefficientTangent
2021-09-18 18:58:52 -07:00
Robert W. Anderson d69c48be40 remove redundant outer loop in GetValues() 2021-09-09 11:41:11 -07:00
Sebastian Grimberg 2cda4083b8 Fix ProjectBdrCoefficientTangent 2021-09-08 11:15:07 -07:00
Stowell, Mark L ef1ddbceea Merge remote-tracking branch 'origin/master' into no-tet-reorder-dev 2021-07-30 11:06:20 -07:00
Veselin Dobrev 7e18e0daab Bugfix for ex10p running on 1 processor. 2021-07-23 20:22:43 -07:00
Stowell, Mark L 9c97b6cca0 Merge remote-tracking branch 'origin/master' into no-tet-reorder-dev
# Conflicts:
#	fem/bilinearform.cpp
#	fem/linearform.cpp
2021-07-23 14:42:08 -07:00
Stowell, Mark L 89301ba3ca Removing outdated code 2021-07-19 20:47:33 -07:00
Tzanio cc9fda7d8f Merge branch 'master' into form-linear-system-tweak 2021-07-15 18:29:13 -07:00
Stowell, Mark L c2f2f0a769 Switching to in-place transformations 2021-07-03 12:05:18 -07:00
Stowell, Mark L cb8566ed91 Merge remote-tracking branch 'origin/master' into no-tet-reorder-dev
# Conflicts:
#	fem/fespace.cpp
#	fem/gridfunc.cpp
#	fem/pfespace.cpp
#	tests/unit/fem/test_domain_int.cpp
2021-05-21 10:02:19 -07:00
Veselin Dobrev b7ab371c80 Tweak the impementation of Vector::NewMemoryAndSize to create
an alias when the 'own_mem' parameter is fasle.

Several simplifications/tweaks related to Vector::NewMemoryAndSize
and Vector::MakeRef in BlockVector, GridFunction, LinearForm, and
ParBlockNonlinearForm.

Add more MFEM_ASSERTs in MemoryManager::Delete_.

Remove MemoryManager::RegisterAliasBases().

In Memory<T>::MakeAlias, register the 'base' when the globally
configured device memory type (which can be a host type, e.g. when
running on host) is a device memory type. Always registering the
'base' creates errors in the unit tests:
   "alias already exists with different base/offset!"
which are probably due to dangling aliases. If we want to always
register the 'base', we need to address these errors.

Updated the unit test "MemoryManager/Scopes" to test for the new
behavior of Vector::NewMemoryAndSize.

Disable the unit test "MemoryManager" since it defined a Device
object which destroys the MemoryManager at the end of the test.
2021-05-12 13:47:11 -07:00
Aaron Fisher e758c37691 Removed nearly all leading underscores for variable names. Every once in a while one of these will confilct with standard libraries in an oddball compiler and it's best to just avoid this problem alltogether. 2021-05-10 16:06:51 -07:00
Veselin Dobrev 8ca6247b3e When FormLinearSystem methods define the true-dof versions of
X and B, use Vector's MakeRef instead of NewMemoryAndSize in the
case when the FE space prolongation is identity.

In MemoryManager::Insert, when re-inserting the same host pointer
allow the new pointer to have d_mt == MemoryType::DEFAULT in the
debug check.

In GridFunction::{MakeRef,MakeTRef} check for identity prolongation
with the method IsIdentityProlongation.
2021-04-27 12:36:49 -07:00
Stowell, Mark L 1b16d8fbca Merge remote-tracking branch 'origin/master' into no-tet-reorder-dev
# Conflicts:
#	fem/fespace.cpp
#	fem/fespace.hpp
#	fem/pfespace.cpp
#	linalg/densemat.hpp
#	mesh/mesh.cpp
#	mesh/pmesh.cpp
#	mesh/pmesh.hpp
#	tests/unit/fem/test_3d_bilininteg.cpp
#	tests/unit/fem/test_get_value.cpp
#	tests/unit/fem/test_lin_interp.cpp
2021-04-08 19:44:11 -07:00
Tucker Babcock f1a513f8dc make style 2021-04-08 13:48:36 -07:00
Tucker Babcock 8d0bbbda90 adding ProjectCoefficient method to GridFunction that projects only onto elements of a specified attribute 2021-04-08 13:33:13 -07:00
Will Pazner 7718379825 Replace SaveWithMesh with separate Save functions 2021-03-24 15:17:47 -07:00
Will Pazner 6ad0620806 Add GridFunction::SaveWithMesh
Simplify ex0 and ex0p
2021-03-16 17:16:25 -07:00
Stowell, Mark L b942c04bbe Merge remote-tracking branch 'origin/master' into no-tet-reorder-dev 2021-02-22 14:01:16 -08:00
Will Pazner 1fe12d8ff9 Merge remote-tracking branch 'origin/master' into var-order-space-dev
# Conflicts:
#	CHANGELOG
#	mesh/mesh.cpp

Allow creation of LOR mixed meshes with variable p
2021-02-16 15:09:04 -08:00
psocratis ad2090f20a fix parallel H1/Hdiv/Hcurl 2021-02-09 20:00:24 -08:00
Stowell, Mark L e9637d1780 Merge remote-tracking branch 'origin/master' into no-tet-reorder-dev
# Conflicts:
#	fem/gridfunc.cpp
2021-02-08 16:37:37 -08:00
Jakub Cerveny 313d167344 Reworked detection of mesh/space changes. Space now has its own "sequence"
as well as "mesh_sequence". GridFunction depends only on "fes_sequence".
This is because the space can now change (orders) without any mesh change.
2021-02-05 18:01:29 +01:00
Jakub Červený 91e1d6ec1d Merge branch 'master' into var-order-space-dev 2021-02-04 17:41:01 +01:00
Veselin Dobrev 3454f1061d Merge pull request #1392 from mfem/par-ncmesh-saving-dev
ParNCMesh I/O and new NC mesh format [par-ncmesh-saving-dev]
2021-02-03 18:01:50 -08:00
Adrien M. Bernede 04fb572359 Let's forget about 2020 2021-01-26 11:55:36 -08:00
Jakub Červený bed65fd34d Legacy GridFunctions are now automatically converted to new vertex ordering on load. 2021-01-15 17:35:20 +01:00
Tzanio Kolev 759987ef31 Merge pull request #1931 from mfem/test-lin-interp-dev
Broadening support for linear interpolators [test-lin-interp-dev]
2021-01-12 15:58:25 -08:00
Stowell, Mark L ad79a151ff Merge remote-tracking branch 'origin/master' into no-tet-reorder-dev
# Conflicts:
#	examples/ex25.cpp
#	examples/ex25p.cpp
#	fem/gridfunc.cpp
2021-01-11 13:30:33 -08:00
Veselin Dobrev 3d946569a1 Merge pull request #1829 from mfem/face-nbr-fix
Fix GridFunction::GetGradient for face neighbor elements
2020-12-30 15:28:17 -08:00
Veselin Dobrev 73ff58db37 Merge branch 'master' into kelly-error-indicator-dev 2020-12-09 22:12:51 -08:00
Will Pazner a5806ea9eb Rename GridFunction::GetElementDofs to GridFunction::GetElementDofValues 2020-12-09 10:22:55 -08:00
Stowell, Mark L 83c9d7289a Adding FiniteElement::INTEGRAL support to GridFunction::GetVectorValues 2020-12-08 15:08:44 -08:00
Stowell, Mark L 0bbbc43ebf Adding FiniteElement::INTEGRAL support to GridFunction::GetValues 2020-12-08 15:07:45 -08:00
Jakub Červený 917bdf9588 Merge branch 'master' into var-order-space-dev 2020-12-04 17:20:08 +01:00
Stowell, Mark L 15f839e349 Merge remote-tracking branch 'origin/master' into no-tet-reorder-dev 2020-12-01 09:22:41 -08:00
Will Pazner 906e82f099 Merge remote-tracking branch 'origin/master' into face-nbr-fix 2020-11-30 13:12:47 -08:00
Veselin Dobrev ffc0a9ee7d Merge pull request #1873 from mfem/QuadratureFunction_size-fix
Quadrature function size fix
2020-11-18 13:15:43 -08:00
Jakub Červený 5a8b15785e Merge branch 'master' into var-order-space-dev 2020-11-13 13:26:11 +01:00