Commit Graph
97 Commits
Author SHA1 Message Date
Tzanio Kolev e4c2152419 Update Copyright to 2010-2025 2025-02-03 12:17:26 -08:00
David Kamensky d9fef7f574 Avoiding unnecessary dynamic cast in Integrator::GetIntegrationRule; minor adjacent formatting changes. 2025-01-21 08:59:12 -07:00
David Kamensky 56bc30fa75 Changing const pointer arguments to Integrator::Get(Default)IntegrationRule to const references. 2025-01-17 13:23:40 -07:00
David Kamensky b249a4de62 Wrapping some existing GetRule methods of Integrator subclasses with overrides of Integrator::GetDefaultIntegrationRule. 2025-01-03 13:30:58 -07:00
David Kamensky 5bcba26e08 Additional minor changes requested during review. 2025-01-03 12:49:25 -07:00
David Kamensky ca48beb934 Adding integrator base class to unify quadrature rule selection. 2024-12-12 09:30:58 -07: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 f106c03dd1 Generalized floating point type. So far, ex1 works for a serial build without lapack. 2023-10-09 14:19:25 -07:00
Tzanio Kolev 96e00dc815 Updated COPYRIGHT to 2010-2023 2023-03-11 16:58:18 -08:00
Tzanio 6d2530775b Extended copyright to 2022 2022-02-25 10:24:50 -08:00
Stowell, Mark L 00622b78fc Fixing shadow variables in fem classes 2021-12-23 16:32:09 -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 62fb3bce31 Merge branch 'master' into yohann/ceed-convection 2021-02-09 09:55:09 -08:00
Tzanio Kolev b2090cc839 Merge pull request #1983 from mfem/NSE-nonlinear-update
Add convective and skew-symmetric integrator for Navier-Stoke equations [NSE-nonlinear-update]
2021-02-07 15:00:50 -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
Michael Schneier 7654126ff8 added code optimizations 2021-02-01 14:07:35 -05: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
Michael Schneier a7c7b28819 fixed formatting and comments 2021-01-21 13:29:05 -05:00
Michael Schneier ace270d7c1 fixed formatting and comments 2021-01-21 13:23:41 -05:00
Michael Schneier 41f52fcf46 switch integrator to inherit from VectorConvectionNLFIntegrator 2021-01-13 18:39:18 -05:00
Michael SchneierandYohann 73c9ea57a6 Update fem/nonlininteg.cpp
Co-authored-by: Yohann <dudouit1@llnl.gov>
2021-01-13 18:31:00 -05:00
Michael SchneierandYohann b20caa4c32 Update fem/nonlininteg.cpp
Co-authored-by: Yohann <dudouit1@llnl.gov>
2021-01-13 18:29:18 -05:00
Michael SchneierandYohann b6e6df4ef0 Update fem/nonlininteg.cpp
Co-authored-by: Yohann <dudouit1@llnl.gov>
2021-01-13 18:21:54 -05:00
Michael SchneierandYohann d2f1d647c7 Update fem/nonlininteg.cpp
Co-authored-by: Yohann <dudouit1@llnl.gov>
2021-01-13 18:21:46 -05:00
Michael Schneier 1fcdd61d11 add convective and skew-symmetric integrator 2021-01-06 23:24:32 -05:00
Vladimir Z Tomov c4ca658fe4 Added argument x to NonlinearForm::SetupGradient(), propagated it down. 2020-10-20 16:28:40 -07:00
camierjs 25e65e19b8 Update fem/nonlininteg AssembleGradDiagonalPA error message 2020-10-15 15:36:17 -07:00
Yohann Dudouit b35cc7222a Add support for MF in NonlinearForm. 2020-09-24 10:07:00 -07:00
Yohann Dudouit 489536a681 Remove warnings 2020-09-21 16:28:39 -07:00
Yohann Dudouit 8b8d2b13a4 Add MF support to nonlininteg. 2020-09-21 16:15:00 -07:00
Tomov 13e53ad7db Minor. 2020-09-15 23:11:13 -07:00
Tomov e4d6911eff Introduced Operator::AssembleDiagonal and connected that
to OperatorJacobiSmoother and PANonlinearFormExtension.
2020-09-10 12:45:14 -07:00
Tomov f2c919f7e7 Updates in the gradient interface. 2020-09-02 13:43:55 -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 8e3c3f8b32 Remove AddMultTransposePA in impl 2019-12-13 10:39:20 -08:00
Julian Andrej c64e533e63 Renamed Setup() to AssemblePA() in NonlinearForm PA methods 2019-12-11 16:18:45 -08:00
Will Pazner 9f61cd440a Get rid of explicit template kernel instantiations
Instead use the generic fallback kernel with bounds known only at runtime
2019-11-19 17:11:50 -08:00
Will Pazner 50ea6dc081 Add 3D shared memory kernel for nonlinear convection 2019-11-19 17:10:59 -08:00
Julian Andrej f14c15ad7a Add PA for nonlinear integrators and an example vector convection integrator 2019-11-18 14:47:20 -08:00
Jamie A. Bramwell dee36cfae8 Changed increment ordering for performance 2018-01-19 10:13:47 -08:00
Veselin Dobrev 65bc4ab158 A class BlockNonlinearFormIntegrator, make the output Array parameters
also const. This way the size of the Array or the pointers it holds
cannot be changed but the objects that the pointers point to can be
modified.
2018-01-18 11:32:28 -08:00
Tzanio c1d9e20ada Some styling 2018-01-16 13:01:55 -08:00
Jamie A. Bramwell 3e3b9f8d92 Added const to some block nonlinear form calls 2018-01-16 10:08:32 -08:00