Commit Graph
512 Commits
Author SHA1 Message Date
Stowell, Mark L 16c183df36 Adding a few missed vdim vs spaceDim instances 2022-03-08 15:20:05 -08:00
Stowell, Mark L 8af5dcf5a4 Fixing a few missed or new shadow variables 2022-03-08 11:27:09 -08:00
Tzanio 6fa650fef5 Fix some warnings from https://lgtm.com/projects/g/mfem/mfem 2022-03-08 10:26:23 -08:00
Stowell, Mark L fa8be935c9 Using max of space dim and new vector dim to fix support for ND and RT on surfaces 2022-03-04 13:55:38 -08:00
Tzanio 27e4b547c4 Merge branch 'master' into lo-dim-em-dev 2022-03-01 17:48:01 -08:00
Stowell, Mark L 5fa73ccc17 Merge remote-tracking branch 'origin/master' into lo-dim-em-dev
# Conflicts:
#	fem/bilininteg.cpp
#	fem/fe/fe_base.hpp
#	fem/fe/fe_nd.cpp
#	fem/fe/fe_nd.hpp
#	fem/fe/fe_rt.cpp
#	fem/fe/fe_rt.hpp
2022-02-28 09:49:07 -08:00
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
Stowell, Mark L f1aac89a3c Merge remote-tracking branch 'origin/master' into lo-dim-em-dev 2022-02-17 14:35:18 -08:00
Keith a650de96f8 rename estimator 2022-02-15 14:47:24 -08:00
Keith 862ea577a6 style 2022-02-15 09:50:40 -08:00
Keith fd15c06fc4 fix merge conflict in CHANGELOG 2022-02-15 09:47:16 -08:00
Keith 625fe40bdf Socratis comments 2022-02-14 15:01:18 -08:00
Keith b5e9cb878c ZZ files from previous branch 2022-02-08 11:55:28 -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
Stowell, Mark L 60f5eecb6c Merge remote-tracking branch 'origin/master' into lo-dim-em-dev
# Conflicts:
#	.gitignore
#	examples/CMakeLists.txt
#	examples/makefile
2021-11-09 08:37:54 -08:00
Stowell, Mark L 4c25cfb50b Merge remote-tracking branch 'origin/master' into lo-dim-em-dev
# Conflicts:
#	fem/fe.cpp
#	fem/fe.hpp
#	fem/gridfunc.cpp
#	tests/unit/fem/test_lin_interp.cpp
2021-10-04 11:44:27 -07: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
Stowell, Mark L 96e05a1cbb Merge remote-tracking branch 'origin/master' into lo-dim-em-dev
# Conflicts:
#	examples/makefile
#	linalg/hypre.cpp
2021-07-30 10:54:02 -07:00
Stowell, Mark L b1727831bc Merge remote-tracking branch 'origin/master' into lo-dim-em-dev
# Conflicts:
#	fem/fe.cpp
2021-07-24 09:42:06 -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 46456a122e Renaming GetCDim to GetCurlDim 2021-06-10 15:55:57 -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
Stowell, Mark L d4a11d59ec Merge remote-tracking branch 'origin/master' into lo-dim-em-dev
# Conflicts:
#	fem/fe.cpp
#	fem/fe.hpp
2021-05-19 09:33:51 -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
Stowell, Mark L 481c6e2c2c Merge remote-tracking branch 'origin/master' into lo-dim-em-dev
# Conflicts:
#	examples/makefile
2021-05-05 18:55:47 -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
Stowell, Mark L 157dbc7c33 Merge remote-tracking branch 'origin/master' into lo-dim-em-dev
# Conflicts:
#	examples/makefile
#	tests/unit/fem/test_2d_bilininteg.cpp
#	tests/unit/fem/test_lin_interp.cpp
2021-04-07 11:26:48 -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