Commit Graph
49 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
Dylan Copeland 3b4fc3b1df Generalized for MPI and hypre. 2023-10-31 21:12:15 -07:00
Tzanio Kolev 96e00dc815 Updated COPYRIGHT to 2010-2023 2023-03-11 16:58:18 -08:00
Tzanio Kolev a2ffa0af29 More typos 2022-10-21 15:45:29 -07:00
Mark L. Stowell 168b19fc49 Merge pull request #2815 from mfem/new_ZZ_PR
New ZZ error estimator: SERIAL VERSION
2022-04-05 09:58:36 -07:00
Keith 8b233b8a5e Socratis comments 2022-03-01 14:16:17 -08:00
Yohann Dudouit efba263eac Use references instead of pointers inside ZienkiewiczZhuEstimator and L2ZienkiewiczZhuEstimator. 2022-03-01 12:14:42 -08:00
Tzanio 6d2530775b Extended copyright to 2022 2022-02-25 10:24:50 -08:00
Keith a650de96f8 rename estimator 2022-02-15 14:47:24 -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
Keith c91e698800 small bug fix: total error should be sum of squared local errors 2021-08-04 17:17:33 -07:00
psocratis bdc77f213f Fix small valgrind complaint 2021-05-20 14:29:40 -07:00
Dylan Copeland 6976a7fc6d Enabling serial build of ex15. 2021-05-19 19:36:22 -07:00
Dylan Copeland 717341e5ef Generalized KellyErrorEstimator to work for serial or parallel version, i.e. {Par}FiniteElementSpace, {Par}GridFunction, {Par}Mesh, but only for a parallel build so far. Added Kelly estimator option to ex15. 2021-05-19 18:58:30 -07:00
Adrien M. Bernede 04fb572359 Let's forget about 2020 2021-01-26 11:55:36 -08:00
Veselin Dobrev 7d1bf5a748 Replace 'abs()' with 'std::abs()' to fix an issue with some
compilers (e.g. Intel) using the integer version of `abs()`
instead of the 'double' version causing failures in the unit
tests in tests/unit/fem/test_estimator.cpp.

Use 'auto &' instead of just 'auto' in various places to
avoid copying arrays and structures.

Pass 'Array' parameters by reference instead of by value.

Define ErrorEstimator::GetTotalError() in the base class to
return zero, making it optional to override in derived classes.
This should allow any user defined derived classes to continue
to work without having to define this new method.

Some small formatting edits.
2020-12-09 21:56:14 -08:00
termi-official b7b6d8142f Fix global error computation for the Lp error estimator in parallel and add a mechanism to take ownership of the used FE space in the Kelly error indicator. 2020-11-13 00:15:03 +01:00
termi-official a722d2b704 Remove errnous sign. 2020-11-12 01:34:52 +01:00
termi-official 28667f27f6 Move GetTotalError up one abstraction layer. 2020-11-11 23:17:55 +01:00
termi-official ee7b17f18a Fixed formatting. 2020-11-10 22:40:21 +01:00
termi-official 0c315483e7 Speeding up attribute identification. 2020-11-10 22:29:02 +01:00
termi-official 43ce4436d8 Exchange constructed integration rule with the global one. 2020-11-10 22:04:28 +01:00
termi-official 092b808022 Add error message. 2020-11-08 20:56:08 +01:00
termi-official 455b92546e Fix flux field. 2020-11-08 20:18:20 +01:00
termi-official e1bea63afb Actually include fluxes. 2020-11-08 18:30:31 +01:00
termi-official 162ac70998 Fix signs and increase order of integration. 2020-11-08 18:27:10 +01:00
termi-official a4ced201d0 Fix error estimation for embedded meshes. 2020-11-05 21:42:56 +01:00
termi-official a3b8ebf2db Fixing typos, clarifying docs and adding an additional coefficient to the formulation. 2020-11-03 04:48:56 +01:00
termi-official d5310e7ac3 First try to fix face integrals. Note: P-refinement is still broken. 2020-11-03 03:45:03 +01:00
termi-official af958ec46c Updated style. 2020-09-01 00:24:50 +02:00
termi-official d21c52603f Since there is no general correct way to compute the scaling coefficient for each element, an option to let the user provide it has been added. 2020-08-31 21:55:56 +02:00
termi-official b319fbb1a6 Base implementation of the Kelly error estimator for scalar finite element problems. 2020-08-24 23:08:40 +02:00
Stowell, Mark L 4f2caaacc1 Merge remote-tracking branch 'origin/master' into lp-error-est-dev
# Conflicts:
#	tests/unit/fem/test_3d_bilininteg.cpp
2020-04-17 13:57:16 -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 e689fd5b28 Merge branch 'master' into bsd-relicense 2020-02-27 09:29:25 -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
Miguel Salazar de Troya e25cf20f16 avoid using prefix _ 2020-02-13 14:55:30 -08:00
Miguel Salazar de Troya 32a0104a0d passing the flag to consider the coefficient in the flux computation 2020-01-29 10:06:49 -08:00
Stowell, Mark L be1f96fd0c Set/reset coefficient after object construction 2020-01-13 10:06:55 -08:00
Stowell, Mark L 8b9efac481 Adding error estimator based on comparison to a Coefficent 2019-04-22 13:55:13 -07:00
Veselin Dobrev 634d9431d8 Add support for parallel non-conforming meshes in class
ZienkiewiczZhuEstimator.

This support is based on the update in ParGridFunction::ComputeFlux
which, in turn, is based on the support for GroupCommunicators in
ParFiniteElementSpaces on non-conforming meshes.
2018-12-05 20:11:57 -08:00
Veselin Dobrev 58ca57f0f3 In class ZienkiewiczZhuEstimator, add an option (set using the
method SetFluxAveraging) that corresponds to the optional
parameter 'with_subdomains' of the function ZZErrorEstimator().

In ex22, add a command line flag to set the new flux-averaging
option in class ZienkiewiczZhuEstimator; also, save the reference
and deformed meshes and displacement field at the end of the
adaptivity loop.
2018-11-06 19:46:36 -08:00
Jakub Cerveny 125ff226e4 Version 3.2 2016-06-30 10:37:30 -07:00