Commit Graph
39 Commits
Author SHA1 Message Date
Tzanio Kolev e4c2152419 Update Copyright to 2010-2025 2025-02-03 12:17:26 -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
Tzanio Kolev d983b34924 Renamed ftype -> real_t 2023-12-13 12:51:43 -08:00
Dylan Copeland 9017b9700d Finished generalizing type in fem directory. 2023-11-01 15:54:41 -07:00
Tzanio Kolev 96e00dc815 Updated COPYRIGHT to 2010-2023 2023-03-11 16:58:18 -08:00
Yohann Dudouit b5025ea8b0 Add mixed mesh support to MF NLConvection. 2022-04-06 16:02:09 -07:00
Yohann Dudouit 5adc33c8a5 Reorganize libCEED integration. 2022-03-31 17:18:06 -07:00
Tzanio 6d2530775b Extended copyright to 2022 2022-02-25 10:24:50 -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
Yohann Dudouit a3a1640c1d Revert "Rename MFNonlinearFormExtension to UANonlinearFormExtension."
This reverts commit 726ede0e37.
2021-02-08 10:18:56 -08:00
Yohann Dudouit 726ede0e37 Rename MFNonlinearFormExtension to UANonlinearFormExtension. 2021-02-05 15:04:19 -08:00
Yohann Dudouit aab4cb154a Rename Setup to Assemble. 2021-02-05 11:21:05 -08:00
Yohann Dudouit ab7ebe5556 Merge branch 'master' into yohann/ceed-convection 2021-02-03 16:52:26 -08:00
Veselin Dobrev 6b1ff3f0d6 In class NonlinearFormIntegrator, rename GetStateEnergyPA to
GetLocalStateEnergyPA.

Fix typos.
2021-02-02 18:10:24 -08:00
Yohann Dudouit 36225982b7 Rename libceed folder to ceed. 2021-02-02 10:14:48 -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
Veselin Dobrev 86895821b9 Re-worked class PANonlinearFormExtension::Gradient to implement
an Update method, reuse vectors from PANonlinearFormExtension,
and support FormSystemOperator by implementing GetProlongation.

Fix the size of the NonlinearFormExtension operator -- it is an
L-to-L operator.

In class NonlinearForm, add methods to access the interior and
boundary face integrators.

Small tweaks the methods (Par)NonlinearForm::GetGradient,
ConstrainedOperator::AssembleDiagonal, and
RAPOperator::AssembleDiagonal.

Add more doxygen documentation and other comments.
2021-01-27 13:07:45 -08:00
Veselin Dobrev 2384dea3b4 Remove the methods NonlinearForm::SetupGradient and
NonlinearFormExtension::AssembleGradient -- in both cases
the method GetGradient should be sufficient.

Add method NonlinearFormExtension::Update and use it in
NonlinearForm::Update.

Simplify a bit class PANonlinearFormExtension::Gradient.

Update some doxygen documentation.
2021-01-26 17:28:01 -08:00
Adrien M. Bernede 04fb572359 Let's forget about 2020 2021-01-26 11:55:36 -08:00
Yohann Dudouit 8c4dd7e929 Initialize Context coefficient in InitCeedCoeff. 2021-01-06 13:47:58 -08:00
Vladimir Z Tomov c4ca658fe4 Added argument x to NonlinearForm::SetupGradient(), propagated it down. 2020-10-20 16:28:40 -07:00
Vladimir Z Tomov b81e85cb24 Fixed an error that came up during tests.
Now the gradient operator always works on ldofs, including the diagonal computation.
2020-10-20 16:06:29 -07:00
Yohann Dudouit 0533bafa67 Rename Assemble to Setup. 2020-09-24 10:21:05 -07:00
Yohann Dudouit b35cc7222a Add support for MF in NonlinearForm. 2020-09-24 10:07:00 -07:00
Yohann Dudouit 11fcf14ba1 Rename AssemblePA to Assemble and support MF. 2020-09-21 16:15:50 -07:00
Tomov 5b627c4443 Avoid recreation of the gradient Operator. 2020-09-15 23:36:13 -07:00
Tomov 1932692c75 Comments and minor corrections. 2020-09-10 17:13:43 -07:00
Tomov e4d6911eff Introduced Operator::AssembleDiagonal and connected that
to OperatorJacobiSmoother and PANonlinearFormExtension.
2020-09-10 12:45:14 -07:00
Tomov 30a0468482 Changes in OperatorJacobi. Added Operator::AssembleDiagonal(). 2020-09-08 19:17:19 -07:00
Tomov f2c919f7e7 Updates in the gradient interface. 2020-09-02 13:43:55 -07:00
Tomov bf8db7f87f Renamed Setup() to Assemble() in the NonlinearExtensions. 2020-09-02 11:25:57 -07:00
Tomov b7dc77fe41 Extended interface for PANonlinearFormExtention and its gradient.
Extracted from the [tmopt] branch.
2020-08-31 16:52:21 -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 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
Julian Andrej adeef50ecd Remove MultPA and switch to AddMultPA 2019-12-13 11:20:36 -08:00
Julian Andrej c64e533e63 Renamed Setup() to AssemblePA() in NonlinearForm PA methods 2019-12-11 16:18:45 -08:00
Julian Andrej f14c15ad7a Add PA for nonlinear integrators and an example vector convection integrator 2019-11-18 14:47:20 -08:00