Commit Graph
222 Commits
Author SHA1 Message Date
Yohann Dudouit 6e70e2883b Set diagonal policy to DIAG_ONE when using Full assembly. 2022-11-07 12:32:53 -08:00
Tzanio KolevandWill Pazner 8784555248 [SQUASH] Assembly levels for LinearForm (#3235)
* Assembly levels for LinearForm

* Typo

* Switched to Mesh::Update in methods like Mesh::SetNodes

* Update mesh/mesh.hpp

Co-authored-by: Will Pazner <11493037+pazner@users.noreply.github.com>

* Addressing Will's comments

* Update mesh/mesh.hpp

Co-authored-by: Will Pazner <11493037+pazner@users.noreply.github.com>

* Changes in linform-pa-fix after 10/14/22 meeting

* Update fem/linearform.hpp

Co-authored-by: Will Pazner <11493037+pazner@users.noreply.github.com>

* Update fem/linearform.hpp

Co-authored-by: Will Pazner <11493037+pazner@users.noreply.github.com>

* Some fixes from Will

* More fixes from Will

* Have LinearForm::Assemble check the value of fast_assembly

* Final reviewer comments for PR 3235

Co-authored-by: Will Pazner <11493037+pazner@users.noreply.github.com>
2022-10-20 16:50:47 -07:00
Yohann Dudouit caa79bf801 feedback from @pazner 2022-08-31 17:17:18 -07:00
Yohann Dudouit e77d32c307 Replace HostRead with HostReadWrite. 2022-08-02 11:50:39 -07:00
Yohann Dudouit d0189bdf70 Add "host" reads in BilinearForm::EliminateVDofs 2022-08-01 18:07:13 -07:00
Will Pazner a1e215e94f Bugfix: use TransposeMult instead of Mult 2022-04-15 09:33:18 -07:00
Will Pazner 5d48bdc807 Fix TODO item in MixedBilinearForm::FormRectangularSystemMatrix 2022-04-15 09:06:56 -07:00
Tzanio Kolev dccaa399f6 Merge pull request #2648 from mfem/domain-marker-fix
Fix for linear/bilinear form domain integrators with markers
2022-03-16 20:07:00 -07:00
Tzanio Kolev 5308d285f7 Merge pull request #2855 from mfem/copyright-2022
Extended copyright to 2022
2022-03-01 07:41:29 -08:00
YohannandWill Pazner 83d741ea38 Update fem/bilinearform.cpp
Co-authored-by: Will Pazner <11493037+pazner@users.noreply.github.com>
2022-02-25 11:02:23 -08:00
Tzanio 6d2530775b Extended copyright to 2022 2022-02-25 10:24:50 -08:00
Tzanio c18a8b4b55 Merge branch 'master' into yohann/pa-convection-transpose 2022-02-24 19:03:59 -08:00
Yohann Dudouit 53ec318455 Modify BilinearForm::MultTranspose to work with ext. 2022-02-24 12:34:14 -08:00
Stowell, Mark L 00622b78fc Fixing shadow variables in fem classes 2021-12-23 16:32:09 -08:00
Sebastian Grimberg cac8a64804 Fix for linear/bilinear form domain integrators with markers 2021-12-20 10:30:47 -05:00
Tzanio f491fe30c3 Merge branch 'master' into lor-solvers-p-ref 2021-09-28 16:31:10 -07:00
Stowell, Mark L 772ed7d894 Deprecating Mesh::ReorientTetMesh and other small changes 2021-08-19 17:53:34 -07:00
Will Pazner ca01ef44bf Merge branch 'ads-cuda-use-jacobi' into lor-solvers-p-ref 2021-08-18 17:28:48 -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
Tzanio cc9fda7d8f Merge branch 'master' into form-linear-system-tweak 2021-07-15 18:29:13 -07:00
Veselin Dobrev d25c9ffff0 Formatting adjustments 2021-07-09 19:04:19 -07:00
Stowell, Mark L c2f2f0a769 Switching to in-place transformations 2021-07-03 12:05:18 -07:00
Will Pazner 06032d9340 Add HostRead in BilinearForm::EliminateVDofs 2021-06-30 18:30:59 -07:00
Ketan Mittal 0c639efcd5 formatting 2021-06-30 16:24:54 -07:00
Ketan Mittal 16cca1a724 fix line wrap 2021-06-30 15:55:51 -07:00
Ketan Mittal 157e3dc151 renaming the integrators and fixing indexing of interiorfaceintegs in parlinearform 2021-06-30 15:52:23 -07:00
Stowell, Mark L 6a6a59f612 Merge remote-tracking branch 'origin/master' into no-tet-reorder-dev
# Conflicts:
#	fem/bilinearform.cpp
#	fem/linearform.cpp
2021-06-15 13:24:33 -07:00
Tzanio 0c907148e0 Fix permissions 2021-06-04 09:32:43 -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
Ketan Mittal 7b69fb0276 Merge branch 'master' into sbm-solveronly 2021-04-19 13:44:15 -07:00
Ketan Mittal 44ac1b957a reviewer comments 2021-04-12 19:39:07 -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
Ketan Mittal f61e9a59f2 move SBM Dirichlet integrator out of mfem source 2021-03-24 10:48:09 -07:00
Vladimir Z Tomov 2195afda40 Merge branch 'master' into sbm-solveronly 2021-03-22 13:46:05 -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
Stowell, Mark L 95c5e19748 Removing whitespace in 'if' conditions 2021-02-18 09:39:06 -08:00
Veselin Dobrev 656b976340 Merge branch 'master' into tmopt-split-api
Resolved conflicts:
   fem/nonlinearform.cpp
   fem/nonlinearform.hpp
   fem/nonlinearform_ext.cpp
   fem/nonlinearform_ext.hpp
   fem/nonlininteg.cpp
   fem/nonlininteg.hpp
2021-02-16 23:31:53 -08:00
Ketan Mittal 49ed44f6c3 changing integrator name and other cosmetic changes 2021-02-10 09:55:22 -08:00
Ketan Mittal df5fba4f47 documentation and style changes to bilinearform and bilininteg 2021-02-09 12:23:26 -08:00
Ketan Mittal c36986ccce change how element attributes are specified 2021-02-09 12:02:35 -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
Yohann Dudouit 30f0264449 Rename LEGACYFULL to LEGACY. 2021-02-05 15:03:42 -08:00
Ketan Mittal 05ba4c5ad2 shifted boundary method initial commit (from another branch) 2021-02-04 14:00:36 -08:00
Veselin Dobrev e777e874e3 In thre abstract base class NonlinearFormIntegrator:
* rename the method GetGridFunctionEnergyPA to GetStateEnergyPA
* in the methods AddMultGradPA and AssembleGradDiagonalPA, remove
  the parameter 'g' since it is already set by the method
  AssembleGradPA
* update the doxygen docs.

In class PANonlinearFormExtension::Gradient, remove the auxiliary
vector 'ge' which is now unnecessary.

Add/tweak the doxygen documentation in NonlinearFormExtension and
PANonlinearFormExtension.

Override the method AssembleDiagonal in class ParBilinearForm to
enable support for the case of no extension (LEGACYFULL assembly
level). Update the doxygen docs for AssembleDiagonal in the
classes (Par)BilinearForm.

Add implementation of the method AssembleDiagonal in class
HypreParMatrix -- simply calls GetDiag.

In class OperatorJacobiSmoother:
* add a new default constructor (with optional damping parameter)
  that replaces the constructor that takes 'size' and
  'ess_tdof_list'
* update SetOperator to handle properly all Operator that support
  the method AssembleDiagonal including (Par)BilinearForm as a
  special case
* for backward compatibility the previously existing constructors
  (using a BilinearForm and Vector, 'diag') will set a flag to
  disallow SetOperator from changing the OperatorJacobiSmoother
  to replicate the original behavior of the class for objects
  created with those constructors
* tweak the implementation in a few places
* update the doxygen docs.
2021-01-29 10:17:01 -08:00
Adrien M. Bernede 04fb572359 Let's forget about 2020 2021-01-26 11:55:36 -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
Andrew T. Barker 83669def7d Merge remote-tracking branch 'origin/master' into pa-id-interp 2021-01-11 08:20:08 -08:00
Veselin Dobrev d28d6e4641 Remove the use of the deprecated field 'Face' in the class
FaceElementTransformations.
2020-11-16 17:41:36 -08:00
Veselin Dobrev 647fda9c97 Merge branch 'master' into najlkin-pr11 2020-11-16 17:33:56 -08:00
Dylan CopelandandWill Pazner 5594557196 Add LEGACYFULL case.
Co-authored-by: Will Pazner <11493037+pazner@users.noreply.github.com>
2020-11-16 11:50:10 -08:00