Compare commits

..
Author SHA1 Message Date
Joseph Signorelli 86ba47cbb9 style 2024-03-17 18:20:51 -05:00
Joseph Signorelli 04ea231d3b Backward compatibility for SymmetricMatrixCoefficient 2024-03-17 18:20:22 -05:00
Joseph Signorelli 0aaa0b4353 Prevent overloaded-virtual warning 2024-03-17 17:53:32 -05:00
Joseph Signorelli fd8b529c11 sundials + petsc examples changes propagated through 2024-03-17 17:45:48 -05:00
Joseph Signorelli 94b5f2dad8 style 2024-03-14 18:18:32 -05:00
Joseph Signorelli 6de569ce93 Backward compatibility for codes w/ custom coeffs 2024-03-14 18:17:41 -05:00
Joseph Signorelli 13d4976b3e Merge branch 'master' into constcoeff-dev 2024-03-14 15:33:13 -05:00
Tzanio Kolev ac88580605 Merge pull request #4187 from mfem/fix/block-solver-hypre-error
Fix hypre error in block solver
2024-03-14 09:12:54 -07:00
Tzanio Kolev ad0feb11ac Merge pull request #4067 from mfem/diagonal-pa-markers
Add attribute marker support for AssembleDiagonalPA
2024-03-14 09:12:38 -07:00
Sebastian Grimberg 8c41990e58 Fix bug for libCEED backends 2024-03-12 11:46:48 -07:00
Chak Shing Lee 3f5e45242a fix the way we eliminate Hcurl essential dofs 2024-03-11 20:56:18 -07:00
Veselin Dobrev 58aaa226e5 Merge pull request #4156 from mfem/feature/iterative-solver-virtual-norm
Make IterativeSolver::Dot virtual to enable custom inner products in derived solvers
2024-03-11 19:46:54 -07:00
Tzanio Kolev 70941b49b1 Merge pull request #4084 from mfem/mem_inact
[Enzyme] Mark additional memmanager fn/vars as inactive
2024-03-07 08:09:06 -08:00
Joseph Signorelli 596923be2c Propogate changes through miniapps 2024-03-05 17:03:12 -06:00
Joseph Signorelli 8d612acd5e Propogate changes through examples 2024-03-05 16:42:05 -06:00
Joseph Signorelli 094542ac8b Propogate changes through fem + mesh
- Make const and add `mutable` to appropriate member vars
2024-03-05 16:41:28 -06:00
Joseph Signorelli 841a546bfa Make VectorSumCoefficient member variables mutable to ensure backward compatibility
Not clean but there may be situations where one calls GetAlpha, GetBeta, GetA, or GetB specifically after an Eval call to get those variables at a given point (when ACoeff,BCoeff, AlphaCoeff, BetaCoeff exist).

An alternative option is to use separate auxiliary variables for coefficient evaluations instead.
2024-03-05 16:23:46 -06:00
Joseph Signorelli af29df2b4d *Make access to internal coefficients + member function const-ness consistent
**This may be a breaking change for existing codes. Ex:

```
const SumCoefficient* coeff = ....;
Coefficient* a_coeff = coeff->GetACoef(); // Cannot do this anymore unless a_coeff is also const
```

GetACoef was previously declared const, so it makes more sense to not allow non-const calls to ACoef when this is called.
2024-03-05 16:18:07 -06:00
Joseph Signorelli 88d43f0b97 Add SetTime for VectorFunctionCoefficient 2024-03-05 16:03:00 -06:00
Joseph Signorelli 316572693a Remove any calls setting internal coefficient times' in Eval
These internal coefficients' times' should already have been set in SetTime for each given class, so it is not necessary
2024-03-05 16:00:46 -06:00
Joseph Signorelli f8335862ac Appropriate member functions of coefficients made const
- Eval, Project, + more specific ones
2024-03-05 15:49:58 -06:00
Tzanio Kolev 94aeedce94 Merge pull request #3648 from mfem/nurbs-ref-formula
NURBS refinement by formulas
2024-03-05 09:11:57 -08:00
Seth Watts 80d0281784 Fix formatting 2024-03-04 15:21:41 -08:00
Seth Watts 3106d3883b Further docs updates from PR request; fix formatting 2024-03-04 15:19:49 -08:00
Seth Watts 97bdd3c188 Attempt to manually fix styling 2024-03-04 12:43:02 -08:00
Seth Watts 936f0f3f9f Update documentation based on PR feedback 2024-03-04 12:11:05 -08:00
Seth Watts 0fb42c387b Switch from virtual Norm to virtual Dot
Based on PR feedback, switch to virtual Dot so that Norm method is always
consistent, i.e., it is always an inner product norm. This is important to
avoid inconsistent inner products and norms in concrete derived solvers.
2024-03-04 11:11:14 -08:00
Dylan Copeland cd2d93e822 Fix partially overriden NURBSUniformRefinement function. 2024-03-03 19:57:15 -08:00
Dylan Copeland a71af01887 Bug fix for linear spacing. 2024-03-03 19:45:14 -08:00
William S. Moses e6f687d5af fix style 2024-03-01 16:10:01 -05:00
Julian Andrej 6dc01f9737 prefix macros with MFEM_ 2024-03-01 13:00:53 -08:00
William S. Moses 7bd4738564 fix 2024-03-01 14:41:17 -05:00
William S. Moses e1e4ec6f95 try again 2024-03-01 14:34:45 -05:00
William S. Moses 925f4dc7de try docs again 2024-03-01 14:27:01 -05:00
Julian Andrej a14fea50f6 Revert "change order of attribute and comment for doxygen"
This reverts commit fdc724036d.
2024-03-01 08:50:37 -08:00
Julian Andrej fdc724036d change order of attribute and comment for doxygen 2024-03-01 08:42:01 -08:00
Julian Andrej 2c4672dd26 fix compilation 2024-02-29 10:49:35 -08:00
Julian Andrej 2260cbbdd4 Merge remote-tracking branch 'origin/master' into mem_inact
# Conflicts:
#	general/error.hpp
2024-02-29 10:45:32 -08:00
Julian Andrej b5e9b21370 make style 2024-02-29 10:41:22 -08:00
Tzanio Kolev edcd7ee0ea Merge pull request #4149 from mfem/old-doxygen-filter-fix
Support older doxygen versions to some extend: fix the INPUT_FILTER handling
2024-02-27 21:28:38 -08:00
William S. Moses cfde6fed39 fixup 2024-02-27 20:08:45 -05:00
Seth Watts cc5dcee3b3 Make IterativeSolver::Norm virtual to enable custom norms in derived solvers 2024-02-27 07:51:58 -08:00
dylan-copeland d9fa483c70 Update copyright year. 2024-02-26 10:13:00 -08:00
dylan-copeland c866fefed1 Merge branch 'master' of github.com:mfem/mfem into nurbs-ref-formula 2024-02-26 10:03:47 -08:00
Tzanio Kolev 44e9f62af1 Merge pull request #4073 from mfem/nlf-boundaryintegrators-dev
Addition of Boundary Integration to `NonlinearForm`s [nlf-boundaryintegrators-dev]
2024-02-25 16:08:28 -08:00
Tzanio Kolev c512d36e70 Merge pull request #4139 from mfem/fix-smem-pa-hdiv-mass-apply-2d
In SmemPAHdivMassApply2D<D1D,Q1D>, fix the case when D1D < Q1D
2024-02-25 16:07:25 -08:00
Tzanio Kolev 57fee17ad7 Merge pull request #4134 from mfem/FindPointsGSLIB-empty-partition-fix
FindPoints fix for empty partition
2024-02-25 16:06:59 -08:00
Veselin Dobrev d8733d4bf9 Add quotes to the command for the INPUT_FILTER doxygen setting.
This allows older versions of Doxygen (tested with 1.8.14) to apply
the filter correctly.
2024-02-22 14:40:44 -08:00
Tzanio Kolev 9a21f59e60 Merge pull request #4126 from mfem/nurbs-helper-dev
NURBS dof functions [nurbs-helper-dev]
2024-02-21 12:23:56 -08:00
Tzanio Kolev 5b7e80c3d1 Merge pull request #4059 from mfem/integrate-qfunction
QuadratureFunction::Integrate
2024-02-21 12:23:27 -08:00
Tzanio Kolev 409e8328f4 Merge pull request #4103 from mfem/doxy-math-dev
Better math in code comments
2024-02-19 15:51:11 -08:00
Tzanio Kolev f238ba54ec Merge branch 'master' into doxy-math-dev 2024-02-19 15:08:45 -08:00
Tzanio Kolev 1be2cea900 Merge pull request #4034 from mfem/getbdrelementadjacentelement2-rename
Rename Mesh::GetBdrElementAdjacentElement2 to Mesh::GetBdrElementAdjacentElementWithInverseOrientation
2024-02-19 15:06:56 -08:00
Tzanio Kolev 8132d10cdd Fix math style in comments 2024-02-19 15:05:20 -08:00
Tzanio Kolev 04abf688f7 Merge branch 'master' into doxy-math-dev 2024-02-19 15:00:50 -08:00
Tzanio Kolev 28527c59c6 Merge pull request #4120 from mfem/cmake-cxx-std-fix
In CMake, allow users to configure the C++ standard and some related options
2024-02-19 14:59:48 -08:00
Veselin Dobrev de445cbeb2 In SmemPAHdivMassApply2D<D1D,Q1D>, fix the case when D1D < Q1D.
Note: such cases are currently not instatiated in the library.

Reported-by: Tom Stitt <tomstitt@users.noreply.github.com>
2024-02-17 13:41:41 -08:00
Will Pazner d461ee1bca Update nodes_sequence more places in Mesh 2024-02-15 17:15:10 -08:00
Veselin Dobrev db77249ac0 Merge pull request #4003 from mfem/multigrid-ess-dof-fix
Fix handling of essential DOFs in GeometricMultigrid
2024-02-13 12:51:43 -08:00
Tzanio Kolev b32b9f0517 Merge pull request #4089 from mfem/det-surface
Make GeometricFactors::DETERMINANTS work with surface meshes
2024-02-13 12:13:31 -08:00
Tzanio Kolev f3022bcf43 Merge pull request #4101 from mfem/sjg/elasticity-integ-using
Silence partial override warnings from #3806
2024-02-13 12:12:56 -08:00
Tzanio Kolev 8ba0ca7f84 Merge pull request #4058 from mfem/sjg/getnodalvalues-device-fix
Fix GridFunction::GetNodalValues when the vector has use_dev = true
2024-02-13 12:12:05 -08:00
Will Pazner 4df15bf526 Early return in QuadratureSpaceBase::GetWeights with empty mesh partitions 2024-02-12 17:12:42 -08:00
Veselin Dobrev 1b76dbd97c In the constructor of class GeometricMultigrid, allow the input
array ess_bdr to be empty.
2024-02-11 21:02:43 -08:00
Tzanio Kolev dd49332094 Merge pull request #3862 from mfem/block-solvers/bramble-pasciak-dev
Add Bramble-Pasciak solver to the block-solvers miniapp [block-solvers/bramble-pasciak-dev]
2024-02-10 18:31:40 -08:00
Tzanio Kolev 3cb5367a63 Merge pull request #4040 from mfem/constrained-transpose-dev
Implement `MultTranspose` for `ConstrainedOperator`.
2024-02-10 18:31:06 -08:00
Will Pazner 57e3102935 Deprecate GeometricMultigrid constructor without essential boundaries 2024-02-09 10:43:58 -08:00
Will Pazner b785573016 Merge remote-tracking branch 'origin/master' into multigrid-ess-dof-fix 2024-02-09 10:42:34 -08:00
Tzanio Kolev 0b75f6caca Merge pull request #4109 from mfem/bugfix/submesh-issue-4107
Fix for issue 4107 in ParSubMesh
2024-02-09 08:16:43 -08:00
Tzanio Kolev 53693305dd Merge pull request #4098 from mfem/mesh-geom-comment
Update mesh file comments
2024-02-09 08:15:50 -08:00
JacobLotz 3cdc57e906 clean up 2024-02-09 14:00:45 +01:00
JacobLotz 26a480f831 Add two functions 2024-02-09 13:58:06 +01:00
Tzanio Kolev f5f62ac93c Update tests/unit/mesh/test_geometric_factors.cpp 2024-02-08 10:42:53 -08:00
Will Pazner eea68c8b96 Merge remote-tracking branch 'origin/master' into integrate-qfunction 2024-02-08 10:27:39 -08:00
Will Pazner fbe53c7548 Move forall kernel out of QuadratureSpaceBase::ConstructWeights
Fix nvcc issue: '__host__ __device__ lambda cannot have private or
protected access within its class'
2024-02-08 09:09:11 -08:00
Will Pazner a67d9f9158 Replace all calls to Mesh::GetBdrElementBaseGeometry with Mesh::GetBdrElementGeometry 2024-02-07 10:38:41 -08:00
Will PaznerandVeselin Dobrev 11f6944a82 Update fem/geom.cpp
Co-authored-by: Veselin Dobrev <v-dobrev@users.noreply.github.com>
2024-02-07 10:38:06 -08:00
Will Pazner 76006e9b14 Fix typo 2024-02-07 09:32:45 -08:00
Veselin Dobrev ec804f711f In the CMake build system, fix a bug where the C++ standard,
CMAKE_CXX_STANDARD, and related CMake flags cannot be set at
config time by the user.

Reported-by: @cyrush (issue #4117)
2024-02-07 09:21:43 -08:00
victor-decaria-nnl 5957cf2e43 Update test_operator.cpp
explicitly write 0 as 0.0
2024-02-07 11:01:34 -05:00
victor-decaria-nnl 7039f52ed6 Update operator.hpp
Make override notation consistent with rest of class
2024-02-07 10:40:32 -05:00
victor-decaria-nnl db5ba25e2f Merge branch 'master' into constrained-transpose-dev 2024-02-07 10:33:05 -05:00
Will Pazner b553219eb9 Merge remote-tracking branch 'origin/master' into getbdrelementadjacentelement2-rename
# Conflicts:
#	mesh/mesh.cpp
2024-02-06 16:10:43 -08:00
Will Pazner 231b0970e1 Wrap long lines 2024-02-06 16:06:49 -08:00
Will Pazner 74e31a4216 Check for compatible dimensions in QuadratureInterpolator determinant computation 2024-02-06 16:03:51 -08:00
Mittal, Ketan 66d8a7a958 fix ptr for empty partition 2024-02-06 15:45:25 -08:00
Vladimir Z Tomov 706ef524c7 Merge branch 'master' into nlf-boundaryintegrators-dev 2024-02-06 12:31:03 -08:00
Tomov b90039cbbf style 2024-02-06 12:17:57 -08:00
Tomov 2a75319cc9 minor 2024-02-06 12:14:42 -08:00
Tomov df69bdacd0 Added a unit test. 2024-02-06 12:13:09 -08:00
Tzanio Kolev 5339837bd3 Merge pull request #4053 from mfem/solvers-dox
Solvers dox
2024-02-05 16:53:56 -08:00
Will Pazner 6db3c3b136 Bugfix 2024-02-05 11:31:23 -08:00
Will Pazner 2e71be8a83 Split Det2D into Det2D and Det2DSurface 2024-02-05 11:24:15 -08:00
Justin Laughlin 7e7f1df500 Merge branch 'master' into mesh-geom-comment 2024-02-05 10:40:02 -08:00
Sebastian Grimberg 5480f0833f Fix missing using in ElasticityComponentIntegrator 2024-02-05 08:38:18 -08:00
Stowell, Mark L ef07982ea4 Removing variants of multidomain miniapp 2024-02-04 20:16:40 -08:00
Stowell, Mark L 5ddf07f7cd Merge branch 'bugfix/submesh-issue-4107' of github.com:mfem/mfem into bugfix/submesh-issue-4107 2024-02-04 13:04:46 -08:00
Stowell, Mark L 4107b6605c ND and RT variants of multidomain miniapp 2024-02-04 13:03:08 -08:00
Gabriel Esteban Pinochet Soto 4e247edd8a Small typo 2024-02-04 00:25:41 -08:00
Gabriel Esteban Pinochet Soto 9857d6a987 Apply correction from d53f982
- Remove repeated constructors from the wrapper ex5 in
  div_free_solver.xpp
- Append "const" in concordance to d53f982 in file darcy_solver.xpp
2024-02-04 00:09:16 -08:00
Gabriel Pinochet SotoandTzanio Kolev 60aa4a04fc Apply suggestions from code review
Co-authored-by: Tzanio Kolev <tzanio@llnl.gov>
2024-02-04 00:06:14 -08:00
Tzanio Kolev 444815b74b Typo 2024-02-03 16:05:12 -08:00
Tzanio Kolev 0aa21d66c4 Update CONTRIBUTING.md 2024-02-03 16:01:53 -08:00
Tzanio Kolev b86173353c Converted a few Doxygen-style math formulas 2024-02-03 15:56:34 -08:00
Tzanio Kolev 3f6f94f7a2 Mention math in comments in CONTRIBUTING, add a check for old style 2024-02-03 15:54:00 -08:00
Gabriel Esteban Pinochet Soto 5637e30f96 Remove typos. Update Copyright. 2024-02-03 14:58:25 -08:00
Gabriel Esteban Pinochet Soto 2a86934778 Update CHANGELOG. Update Copyright. 2024-02-03 14:44:38 -08:00
Tzanio Kolev d53f982761 Merge branch 'master' into block-solvers/bramble-pasciak-dev 2024-02-03 14:31:32 -08:00
Tzanio Kolev 1f4ff30101 Merge branch 'master' into bugfix/submesh-issue-4107 2024-02-03 14:27:46 -08:00
Tzanio Kolev 33617ce3a7 Merge pull request #4066 from mfem/el_transform_back
Add optional tolerance to ElmentTransformation::TransformBack
2024-02-03 14:24:07 -08:00
Tzanio Kolev bc3373ec09 Merge pull request #4064 from mfem/constrained-operator-addmult
Override AddMult for ConstrainedOperator
2024-02-03 14:23:34 -08:00
Tzanio Kolev 3dda9a5042 Merge pull request #4078 from mfem/najlkin/misc-bugfix
Various minor bug/deficiency fixes
2024-02-03 14:22:35 -08:00
Stowell, Mark L b87027927f Uncommenting calls to earlier communication code 2024-02-02 17:13:56 -08:00
Gabriel Esteban Pinochet Soto 91b9d9dc92 Update copyright 2024-02-02 13:16:40 -08:00
Tzanio KolevandDennis Ogiermann 7d2b5b8e07 Update doc/CodeDocumentation.conf.in
Co-authored-by: Dennis Ogiermann <termi-official@users.noreply.github.com>
2024-02-02 11:25:09 -08:00
Tzanio Kolev b666ec0c93 Merge pull request #4077 from mfem/najlkin/sparsemat-print-fix
Fix and improvement of the print methods in SparseMatrix
2024-02-01 17:52:55 -08:00
Tzanio Kolev a1ceea97fb Trying to fix Doxygen GitHub CI 2024-02-01 17:35:25 -08:00
Jan Nikl 4a421e6c1f Added notes about synchronization to the print methods. 2024-02-01 14:41:03 -08:00
Gabriel Pinochet Soto ca46e03800 Merge branch 'master' into block-solvers/bramble-pasciak-dev 2024-02-01 12:44:47 -08:00
Tzanio Kolev 44d33d17f3 Switch to MathJax_3 2024-02-01 11:48:14 -08:00
Sebastian Grimberg 4caab0f153 Resolve Doxygen error (docstring is already in the base class) 2024-02-01 08:55:18 -08:00
Will Pazner 58319e5f94 Mark ConstrainedOperator::~ConstrainedOperator as override 2024-02-01 06:48:52 -08:00
Tzanio KolevandWill Pazner c03968e614 Update doc/CodeDocumentation.conf.in
Co-authored-by: Will Pazner <11493037+pazner@users.noreply.github.com>
2024-01-31 16:16:40 -08:00
Vladimir Tomov 04a7dad296 Update amgxsolver.hpp 2024-01-31 15:43:50 -08:00
Tzanio Kolev eaec7fcbba Merge branch 'master' into doxy-math-dev 2024-01-31 14:50:04 -08:00
Tzanio Kolev 71ab3f2856 Filter to use plain instead of Doxygen-style LaTeX in comments 2024-01-31 14:44:37 -08:00
Tzanio Kolev b17f011297 Merge branch 'master' into sjg/getnodalvalues-device-fix 2024-01-31 13:19:06 -08:00
Tzanio Kolev 8ec618739c Merge branch 'master' into najlkin/sparsemat-print-fix 2024-01-31 13:19:01 -08:00
Tzanio Kolev 9bd163dc1d Merge branch 'master' into el_transform_back 2024-01-31 13:18:52 -08:00
Tzanio Kolev 4e4c97b4dd Merge branch 'master' into constrained-operator-addmult 2024-01-31 13:18:29 -08:00
Sebastian Grimberg eed6842c00 Silence many compiler warnings about partial overrides 2024-01-31 11:25:03 -08:00
Aaron Fisher 208db48024 Fixed a capitalization in the dox 2024-01-31 11:07:04 -08:00
Aaron Fisher bfe3c8f070 Merge branch 'master' into solvers-dox 2024-01-31 11:04:10 -08:00
Tzanio Kolev da1a96477f Merge pull request #4093 from mfem/2024-copyright
Update COPYRIGHT to 2010-2024
2024-01-31 06:34:05 -08:00
Tzanio Kolev 1fcb4e4d03 Merge pull request #4090 from mfem/actions-nodejs-update
Bump GitHub actions versions
2024-01-31 06:33:45 -08:00
Dylan Copeland 6c07599447 Replace mesh/geom.hpp with fem/geom.hpp in mesh file comments. 2024-01-30 21:01:34 -08:00
Robert Carson d64fb2c5a5 Merge branch 'master' into el_transform_back 2024-01-30 17:31:23 -08:00
Robert Carson 1deac8c6bf Add documentation for new param in ElementTransformation::TransformBack 2024-01-30 17:30:28 -08:00
Tzanio Kolev 7261837f95 Merge branch 'master' into 2024-copyright 2024-01-30 11:52:35 -08:00
Tzanio Kolev 2458a62361 Merge pull request #3972 from mfem/bilinearform-dox
Doxygen improvements to bilinearform
2024-01-27 19:37:23 -08:00
Tzanio Kolev de328c333c Merge pull request #4087 from mfem/quartz-timeout
Increase time for testing on Quartz from 45 to 60 minutes
2024-01-27 13:23:53 -08:00
Tzanio Kolev 87290fbf56 Update Copyright to 2010-2024 2024-01-27 13:06:49 -08:00
Veselin Dobrev f345e14543 Merge pull request #4081 from mfem/bugfix-lorelast
Bugfix for lor elasticity miniapp kernel
2024-01-26 11:01:07 -08:00
Will Pazner b2c17a5c3a Bump GitHub actions versions
Node.js 16 actions are deprecated, this updates to the versions of the actions
using Node.js 20.
2024-01-26 10:13:58 -08:00
Will Pazner 7a8294dd42 Make GeometricFactors::DETERMINANTS work with surface meshes 2024-01-25 23:38:33 -08:00
Tzanio Kolev 77c8eeb8ea Use CI reservation on Quartz 2024-01-25 14:50:23 -08:00
Dylan Copeland 81054158c9 Remove unnecessary copy constructors. 2024-01-25 11:54:29 -08:00
dylan-copeland f6266d9c86 Copy constructors for all classes derived from SpacingFunction. 2024-01-25 10:11:36 -08:00
William S. Moses 372358f7e9 mark read/write as dynamic-cast like 2024-01-25 12:36:58 -05:00
William S. Moses 549774f4c2 make docs okay with attributes 2024-01-25 12:09:16 -05:00
Tzanio Kolev d959baa18a Increase time for testing on Quartz from 45 to 60 minutes 2024-01-25 09:03:13 -08:00
Jan Nikl 3ae6ec61e5 Changed using to stub for ParMesh::FaceIsTrueInterior(). 2024-01-25 08:59:41 -08:00
dylan-copeland 3cc2fbe2aa Fix mac build. 2024-01-24 22:00:01 -08:00
Dylan Copeland a8bb51b18e Reformat long lines. 2024-01-24 21:14:20 -08:00
William S. Moses cc2365869d [Enzyme] Mark additional memmanager fn/vars as inactive 2024-01-25 00:08:46 -05:00
Dylan Copeland 6e269b0cef Using unique_ptr instead of raw pointers. 2024-01-24 20:58:12 -08:00
Jan Nikl ae2443eded Added a unit test for sparse matrix printing. 2024-01-24 15:22:06 -08:00
Jan Nikl c3a455d86f Fixed auto reference in div_free_solver. 2024-01-24 12:23:20 -08:00
Aaron Fisher 650387111d Addressing some more copy edits. 2024-01-24 11:58:16 -08:00
Aaron Fisher 6239b924ad Merge branch 'master' into solvers-dox 2024-01-23 16:49:33 -08:00
Aaron Fisher 332528b068 Addressed typos found in review, broke up comments to keep within the 80 line limit. 2024-01-23 16:48:26 -08:00
Dylan Copeland ba37ea1ec1 Write v1.0 file when there are no spacing formulas. Update CHANGELOG. 2024-01-23 13:19:05 -08:00
Julian Andrej 2950d62c49 bugfix for lor elasticity miniapp kernel 2024-01-23 13:10:47 -08:00
Aaron Fisher ecfe032565 make style 2024-01-23 12:29:25 -08:00
Aaron Fisher c0f969def9 Fixed a doxygen error and some link warnings. 2024-01-23 12:28:24 -08:00
Aaron Fisher 44c6cf4c13 make style 2024-01-23 11:40:09 -08:00
Aaron Fisher 15e887969a Fixed lines that were longer than 80 chars. 2024-01-23 11:38:56 -08:00
Aaron Fisher c613091a32 Merge branch 'master' into bilinearform-dox 2024-01-23 11:22:32 -08:00
Dylan Copeland 424f1306dd GetFineKnots return by value. 2024-01-23 10:59:32 -08:00
Dylan Copeland 3b0db206dd Merge branch 'master' of github.com:mfem/mfem into nurbs-ref-formula 2024-01-23 10:47:40 -08:00
dylan-copeland d2c1ead422 Restore destructors. 2024-01-23 09:27:59 -08:00
Tzanio Kolev 0de295d6e1 Merge pull request #3806 from mfem/full-assembly-elast-dev
Miniapp for block preconditioned elasticity with partial and full assembly on GPUs [full-assembly-elast-dev]
2024-01-23 09:09:20 -08:00
dylan-copeland 9ab210fcee Another attempt at SpacingFunction initialization. 2024-01-23 09:09:05 -08:00
dylan-copeland 765c23e9f3 Doxygen fix 2024-01-22 23:17:07 -08:00
dylan-copeland 773be1fa98 Adjust last commit. 2024-01-22 23:13:09 -08:00
dylan-copeland d74f6f03d4 Review suggestions. 2024-01-22 23:01:40 -08:00
Jan Nikl 7a2ab45ae0 Fixed div-free solver miniapp to work with constant operators. 2024-01-22 16:55:41 -08:00
Jan Nikl a0ae98f400 Added const qualifier to boundary attributes in ParGridFunction projection methods. 2024-01-22 16:23:43 -08:00
Jan Nikl 20dbb8efba Added support of integral elements to L2 error. 2024-01-22 14:38:02 -08:00
Jan Nikl 2d582d80c9 Added const qualifier for boundary attributes in GridFunction projection methods. 2024-01-22 14:38:02 -08:00
Jan Nikl 63c9716056 Fixed VectorDiffusionOperator::AssembleElementVector(). 2024-01-22 14:38:02 -08:00
Jan Nikl 55a35c8818 Fixed boundary trace integration in MixedBilinearForm. 2024-01-22 14:38:02 -08:00
Jan Nikl e311b00349 Added closed GL quadrature into the closed ones. 2024-01-22 14:38:02 -08:00
Jan Nikl 34aac72833 Added default NULL value of the integration rule for quadrature integrators as it is not used anyway. 2024-01-22 14:38:02 -08:00
Jan Nikl 755eb9d65f Added const qualifier to quadrature function coefficient. 2024-01-22 14:38:02 -08:00
Jan Nikl f8040db3ec Made available FaceIsTrueInterior in ParMesh as it is supposed to be probably. 2024-01-22 14:38:02 -08:00
Jan Nikl d843cd6e8a Added const qualifiers to Operator arguments of BlockOperator. 2024-01-22 14:38:02 -08:00
Jan Nikl 1a9cf065d9 Adding printing of non-finalized sparse matrices. 2024-01-22 13:38:50 -08:00
Jan Nikl 19d1c7226e Fixed printing methods of sparse matrices on devices. 2024-01-22 13:38:35 -08:00
Jan Nikl 4c547f52c2 Minor optimization of SparseMatrix::EliminateCol(). 2024-01-22 10:16:37 -08:00
Tzanio Kolev 4ba0c28a6a Merge pull request #4055 from mfem/hughcars/pncmesh-update-fix
Fix for ParNCMesh::Update()
2024-01-21 13:04:48 -08:00
Joseph Signorelli 88fe87f4bc Application of make style 2024-01-20 17:48:20 -06:00
Victor DeCaria 77d409b4c6 added documentation link 2024-01-19 12:45:55 -07:00
Victor DeCaria 238a9da6d9 added to changelog 2024-01-19 12:11:39 -07:00
dylan-copeland 7ad98e4952 Fix shadowed variable. 2024-01-18 15:33:32 -08:00
Dylan Copeland 1959a5c613 New NURBS mesh file format with spacing formulas in their own section. 2024-01-18 13:12:20 -08:00
Tzanio Kolev 15be3d493c Merge pull request #4069 from mfem/error-noreturn-fix
Fix [[noreturn]] for MFEM_ABORT with Intel compilers
2024-01-18 04:38:12 -08:00
Will Pazner 8d234b5358 Make sure cache in QuadratureSpaceBase::GetWeights is invalidated properly
Add unit test to test this case
2024-01-17 22:17:25 -08:00
Will Pazner 6d35c65f95 Add Mesh::nodes_sequence to track geometric factor invalidation 2024-01-17 22:16:35 -08:00
Will Pazner 4bfe05a9a5 Use InnerProduct instead of operator* in QuadratureFunction::Integrate 2024-01-17 21:47:00 -08:00
dylan-copeland 64fcc9d3b3 Remove spacing keyword. 2024-01-17 17:49:20 -08:00
dylan-copeland cc33cfdfc6 Reverting to sign trick, to eliminate "spacing" keyword in knotvectors. Reverting appveyor.yml. 2024-01-17 17:34:48 -08:00
Aaron Fisher 404db17f43 Merge branch 'master' into bilinearform-dox 2024-01-17 16:18:02 -08:00
Aaron Fisher 56d59c8e71 make style 2024-01-17 16:15:17 -08:00
dylan-copeland a8c0f7122b appveyor 2024-01-16 21:18:32 -08:00
Dylan Copeland 9c5d160ebc Merge branch 'master' of github.com:mfem/mfem into nurbs-ref-formula 2024-01-16 21:00:07 -08:00
Dylan Copeland 0c14bb478b Only debug build for appveyor. 2024-01-16 20:15:58 -08:00
Dylan Copeland b3bec4d97e appveyor.yml 2024-01-16 19:08:48 -08:00
Will Pazner dd83719b58 Merge pull request #4063 from mfem/array-doc
Array documentation improvement
2024-01-16 11:12:01 -08:00
Will Pazner cce2d98fce Merge pull request #3994 from mfem/grad-integr-transpose-pa
PA for `GradientIntegrator` transpose
2024-01-16 11:11:43 -08:00
Tzanio Kolev 7d0c0199d8 Merge pull request #4068 from mfem/const-mesh-fix
Fix compilation errors from const changes in PR #4019
2024-01-16 10:44:08 -08:00
Gabriel Pinochet Soto 5f79b7b9be Merge branch 'master' into block-solvers/bramble-pasciak-dev 2024-01-14 01:43:22 -08:00
Will Pazner f6e89b638e Add attribute marker support for AssembleDiagonalPA
Add unit test for PA diagonal assembly with element and boundary attribute
markers.

Resolves #3998.
2024-01-12 21:56:25 -08:00
Will Pazner 629bb6a2a7 Fix [[noreturn]] for MFEM_ABORT with Intel compilers 2024-01-12 11:58:01 -08:00
Will Pazner 8a5c5523ee Fix compilation errors from const changes in PR #4019
These errors only show up when compiling with LAPACK support.

Also fix some shadow variable warnings.
2024-01-11 14:54:37 -08:00
Will Pazner 2b27d4815f Merge pull request #4019 from mfem/sjg/mesh-const-fix
Const correctness fixes for `Mesh` and `ParMesh`
2024-01-11 13:24:42 -08:00
Robert Carson 6c4f179751 make style 2024-01-11 10:56:53 -08:00
Robert Carson c54bc0aa55 Add ability to set tolerance in TransformBack func of the ElementTransformation class 2024-01-11 10:48:14 -08:00
Will Pazner 68e513c40e Use Write instead of ReadWrite in TensorProductPRefinementTransferOperator
Can avoid some unnecessary H to D memcpy
2024-01-11 10:06:28 -08:00
Will Pazner 9bd2fd3cc3 Minor style changes 2024-01-10 21:09:43 -08:00
stefanhenneking 6095d41779 using enum for fec_type 2024-01-10 16:42:06 -06:00
stefanhenneking 217e644b29 Merging master into feature branch 2024-01-10 15:57:46 -06:00
stefanhenneking c54f0ee11a refactored pa_divergence_transpose_testnd and pa_gradient_testnd 2024-01-10 15:50:24 -06:00
stefanhenneking 4eed7c754e using GENERATE instead of loops in "PA Gradient" 2024-01-10 14:48:39 -06:00
stefanhenneking 90bc29a976 using unique_ptr in pa_gradient_testnd 2024-01-10 14:43:51 -06:00
stefanhenneking 96d516a1a8 using GENERATE instead of loop in "FormRectangular" 2024-01-10 14:39:35 -06:00
stefanhenneking 56fcc5dcef Using unique_ptr 2024-01-10 14:25:18 -06:00
Will Pazner a8708fc6ca Override AddMult for ConstrainedOperator
Use existing workspace vector to avoid extra allocations
2024-01-10 09:43:43 -08:00
dylan-copeland 9f5b282c7a Minor improvement to documentation. 2024-01-09 17:11:05 -08:00
Will Pazner 2fc95046d4 Add QuadratureSpaceBase::Integrate for vdim > 1 2024-01-08 12:02:20 -08:00
Will Pazner 975f03b0f0 Support QuadratureFunction::Integrate with vdim > 1 2024-01-08 11:56:41 -08:00
Will Pazner ee0118f954 QuadratureFunction::Integrate in parallel 2024-01-08 11:55:44 -08:00
Will Pazner e37048bfdd Merge remote-tracking branch 'origin/master' into integrate-qfunction 2024-01-08 11:13:16 -08:00
Will Pazner 8a4c9ca23c Merge branch 'face-qfunction-coefficient' into integrate-qfunction
# Conflicts:
#	fem/qspace.hpp
#	tests/unit/fem/test_quadf_coef.cpp
2024-01-08 11:12:56 -08:00
victor-decaria-nnl 5a34b0f236 Merge branch 'master' into full-assembly-elast-dev 2024-01-08 12:22:59 -05:00
Sebastian Grimberg c6b1d45b25 Fix GridFunction::GetNodalValues when the vector has use_dev = true 2024-01-05 16:00:20 -08:00
Sebastian Grimberg 39add0f7a9 Resolve a breaking interface change 2024-01-05 11:05:12 -08:00
Sebastian Grimberg e26f72da36 Address PR feedback: Change pointers to references and add notes for consistency with other Mesh methods 2024-01-04 17:40:58 -08:00
Sebastian Grimberg cbe12d1419 Address PR feedback: Doxygen style 2024-01-04 17:28:50 -08:00
Tzanio Kolev d5aa18f762 Merge pull request #3746 from mfem/hughcars/ncmesh-interior-boundary-dev
Add internal boundary element support for NCMesh
2024-01-04 16:09:52 -08:00
Hugh Carson 918622a430 Clear entity_conf_group and entity_elem_local on Update() 2024-01-04 17:38:13 -05:00
Aaron Fisher 46d15e9b7c make style 2024-01-04 11:57:40 -08:00
Aaron Fisher 25e0fe3a8d Merge branch 'master' into solvers-dox 2024-01-03 14:12:18 -08:00
Aaron Fisher 3ac5bf85a6 Did an editing pass on the solver documentation I just added. 2024-01-03 14:11:15 -08:00
Joseph Signorelli 18301c0dbc BNFI for GetGridFunctionEnergy and GetEnergyBlocked 2024-01-03 16:05:55 -06:00
Joseph Signorelli 1f65d89031 Delete bnfi added to destructors 2024-01-03 15:47:17 -06:00
Joseph Signorelli 018da9aee1 Addition of bnfi to MultBlocked + ComputeGradientBlocked 2024-01-03 15:46:09 -06:00
Aaron Fisher 8a1f7aacbf Improved doxygen for superlu integration. 2024-01-03 13:15:00 -08:00
Joseph Signorelli 5ee2001860 Addition of bnfi to Mult and GetGradient 2024-01-03 15:09:08 -06:00
Joseph Signorelli 3472238513 Addition of bdr integrator vars, and get + add methods 2024-01-03 15:03:48 -06:00
Tzanio Kolev 144bc29496 Merge pull request #4027 from mfem/bdr-lf-fast-assembly-fix
Boundary LF Integrators fast assembly bug fix
2024-01-02 13:10:50 -08:00
Tzanio Kolev b732c3ffe8 Merge pull request #3957 from mfem/hip-abort-msg-fix
Workaround for an issue in certain HIP builds
2024-01-02 13:10:31 -08:00
Aaron Fisher f058ab27cf Merge branch 'master' into bilinearform-dox 2024-01-02 12:28:50 -08:00
Aaron Fisher 40326625a6 Fixed a dox bug in VectorBoundaryLFIntegrator. 2024-01-02 12:24:45 -08:00
Aaron Fisher d49bb363e1 Clarified a couple of dox messages. 2024-01-02 12:17:36 -08:00
Aaron FisherandDennis Ogiermann 810b05fbe7 Update fem/bilinearform.hpp
Co-authored-by: Dennis Ogiermann <termi-official@users.noreply.github.com>
2024-01-02 12:08:56 -08:00
Aaron FisherandDennis Ogiermann d46c264e5b Update fem/bilinearform.hpp
Co-authored-by: Dennis Ogiermann <termi-official@users.noreply.github.com>
2024-01-02 12:08:45 -08:00
Aaron FisherandDennis Ogiermann 4499e1ff36 Update fem/bilinearform.hpp
Co-authored-by: Dennis Ogiermann <termi-official@users.noreply.github.com>
2024-01-02 12:03:42 -08:00
Hugh Carson 5736f3832b Fix bug for segment boundary faces 2024-01-02 15:47:46 +00:00
Hugh Carson 38e9c0951b Merge remote-tracking branch 'origin/master' into hughcars/ncmesh-interior-boundary-dev 2024-01-02 11:13:31 +00:00
Will Pazner 81d1a2fc1f Refactor Mesh::GetBdrElementAdjacentElement2 2023-12-28 14:29:41 -08:00
Veselin Dobrev 148047f692 Merge pull request #4016 from mfem/periodic-mesh-kdtree
Faster periodic meshes with k-d trees
2023-12-27 13:32:32 -08:00
Aaron Fisher 4add47bb17 Improved doxygen for the strumpack integration. 2023-12-21 17:20:56 -08:00
Aaron Fisher 8a4e8ba308 Improved the doxygen for the slepc interface. 2023-12-21 13:53:40 -08:00
victor-decaria-nnl abb466d2f7 Merge pull request #4043 from mfem/full-assembly-elast-dev-changes
Proposed changes for PR #3806
2023-12-21 15:35:38 -05:00
Will Pazner 79b609872a Merge pull request #4032 from mfem/sjg/ceed-chk-fix
Fix libCEED compilation after `CeedChk` removal
2023-12-21 10:46:03 -08:00
Will Pazner 38c27dfe4c Merge pull request #4037 from mfem/block-operator-offsets-dev
Make `BlockOperator` own the offset arrays
2023-12-21 10:45:47 -08:00
Tzanio Kolev c1871afea4 Merge pull request #3971 from mfem/mesh-file-comments
Input comments for mesh file
2023-12-21 06:26:56 -08:00
Tzanio Kolev a7a7807652 Merge pull request #4025 from mfem/sjg/gslib-leak-fix
Fix memory leak in GSLIB interface
2023-12-21 06:26:21 -08:00
Will Pazner 0ecfcb3633 Fix LOR bug in lor_elast.cpp 2023-12-20 21:49:17 -08:00
Aaron Fisher dd628ae003 Improvements to Doxygen in Solvers.h 2023-12-20 15:57:34 -08:00
Will Pazner a35b5e76b0 Doxygen comment for ElasticityComponentIntegrator 2023-12-20 13:21:57 -08:00
Will Pazner b5ca50d967 Remove unneeded include 2023-12-20 13:19:33 -08:00
Will Pazner cbce58c685 Reorganize elasticity and component integrators for PA 2023-12-20 13:19:28 -08:00
Aaron Fisher 3f994038fa Add improvements to the MUMPS doxygen. 2023-12-20 12:58:37 -08:00
Aaron Fisher 7bbab61e2b Significant improvements to the amgx solver doxygen. Fixed a couple doxygen errors in ex37. 2023-12-20 12:08:10 -08:00
Will Pazner 912c7d24b6 Small changes to lor_elast.cpp 2023-12-20 11:04:36 -08:00
Will Pazner 5cdfd84635 Simplify NodalFiniteElement::CreateLexicographicFullMap 2023-12-20 10:58:45 -08:00
Will Pazner 7c9abd5303 Don't need both virtual and override 2023-12-20 10:00:50 -08:00
Will Pazner 8fdc0c81cb Fix CHANGELOG 2023-12-19 15:19:47 -08:00
Hugh Carson 6a3a7e4746 Fix parallel synchronization bug that crept in during merge 2023-12-19 16:25:13 -05:00
Will Pazner cd2233936c Fix bugs in Bramble-Pasciak solver with empty mesh partitions 2023-12-19 13:15:16 -08:00
Gabriel Esteban Pinochet Soto 6f32219308 Add inverse power iteration 2023-12-19 12:43:48 -08:00
Aaron Fisher fb5ebf0abb Merge branch 'master' into bilinearform-dox 2023-12-19 11:20:06 -08:00
Hugh Carson 4fe30263e4 Address PR feedback 2023-12-19 14:12:10 -05:00
Hugh Carson 170c520493 Merge remote-tracking branch 'origin/master' into hughcars/ncmesh-interior-boundary-dev 2023-12-19 14:09:19 -05:00
Gabriel Esteban Pinochet Soto 6b8dd71da7 Remove shared pointed for BilForms. 2023-12-19 10:54:50 -08:00
Gabriel Esteban Pinochet Soto 87d5d1e0b6 Merge branch 'master' of https://github.com/mfem/mfem into block-solvers/bramble-pasciak-dev 2023-12-19 10:18:45 -08:00
dylan-copeland 02276956bd Merge branch 'master' of github.com:mfem/mfem into nurbs-ref-formula 2023-12-19 09:15:43 -08:00
Victor DeCaria 5f5a0e5fe6 Implement transpose of constrained operator. 2023-12-19 10:02:53 -07:00
Victor DeCaria aea91bf9dc make block operator own the offsets 2023-12-18 14:50:47 -07:00
Tzanio Kolev 8a4affef5a Merge pull request #4014 from mfem/bugfix/rwa/rebalance-lazy-data
reset lazy data on potential topology changes due to rebalancing
2023-12-17 12:25:47 -08:00
Tzanio Kolev 3f629314d2 Merge pull request #4033 from mfem/bilinearform-vdofs-fix-again
Undo accidental revert of PR #3859
2023-12-17 12:25:27 -08:00
Tzanio Kolev c4c3b4edf9 Merge pull request #3688 from mfem/do/docs-polish
Partial modernization of docs
2023-12-17 12:24:50 -08:00
Will Pazner 89ed97c5e8 Merge pull request #3419 from mfem/nurbs-cmesh-miniapp2
Nurbs C-mesh foil section miniapp [nurbs-cmesh-miniapp2]
2023-12-15 14:25:00 -08:00
Sebastian Grimberg 59fd822fb5 Merge branch 'master' into sjg/ceed-chk-fix 2023-12-15 13:50:06 -08:00
Tzanio Kolev 1f028cd9a8 Merge pull request #3854 from mfem/jeremy/ceed-basis-none
libCEED - update CEED_BASIS_COLLOCATED => CEED_BASIS_NONE
2023-12-15 13:34:56 -08:00
Robert W. Anderson 1717231f32 remove ResetLazyData 2023-12-15 12:40:09 -08:00
Sebastian Grimberg e3201429c0 Minor copy-paste fix in GetSharedFaceTransformationsByLocalIndex 2023-12-15 12:35:32 -08:00
Will Pazner 90c4ab6e17 Add comment explaining placement of GetElementVDofs 2023-12-15 09:44:16 -08:00
Will Pazner 311be95810 Rename GetBdrElementAdjacentElement2 to GetBdrElementAdjacentElementWithInverseOrientation 2023-12-15 09:17:10 -08:00
Chak Shing Lee d25e7a3877 fix unfilled vdofs in BilinearForm::Assemble when element matrices have been precomputed 2023-12-15 09:04:33 -08:00
Sebastian Grimberg a5f73604b1 Fix include issues for compiler errors 2023-12-14 18:07:15 -08:00
Sebastian Grimberg 5b5356495a CeedChk -> PCeedChk (deprecated internal function to MFEM wrapper) 2023-12-14 18:07:02 -08:00
Robert W. Anderson 9e7f733eac add additional data members to the Mesh::Swap method 2023-12-14 09:41:10 -08:00
dylan-copeland 87504f2e6d Default comment value of empty string. 2023-12-13 16:42:15 -08:00
Will Pazner 865c343db7 Minor style changes 2023-12-13 11:22:26 -08:00
Will Pazner db41b274c9 Make KnotVector::FindMaxima const 2023-12-13 11:21:23 -08:00
JacobLotz 4610d4d689 Fix DoubleTanhKnotVector 2023-12-13 13:46:54 +01:00
JacobLotz 45de8cdf93 Move to unique pointer 2023-12-13 11:44:24 +01:00
stefanhenneking f916711d36 boundary lf fast assembly bug fix 2023-12-13 00:50:25 -06:00
dylan-copeland 28ee8d30fe One more const 2023-12-12 17:06:50 -08:00
Tzanio Kolev 47ab481aa2 Merge branch 'do/docs-polish' of github.com:mfem/mfem into do/docs-polish 2023-12-12 15:26:58 -08:00
Tzanio Kolev a8b0b35c1d Mention the Doxygen version requirement 2023-12-12 15:26:50 -08:00
Tzanio Kolev 5b79224171 Merge pull request #3987 from mfem/mass-integrator-map-type-fix
Use CalcPhysShape in MassIntegrator::AssembleElementMatrix2
2023-12-12 14:07:37 -08:00
Tzanio Kolev 79204fd4a1 Merge pull request #4021 from mfem/mfem-error-noreturn
Mark mfem_error as [[noreturn]]
2023-12-12 14:07:18 -08:00
Dylan Copeland e3ea03baa0 Const changes 2023-12-12 12:25:50 -08:00
Dylan Copeland c1b6fe6506 Merge branch 'master' of github.com:mfem/mfem into mesh-file-comments 2023-12-12 11:32:42 -08:00
Dylan Copeland f7dd1f59a7 Minor 2023-12-12 11:32:30 -08:00
Aaron FisherandDennis Ogiermann 1cda92a06c Update fem/bilinearform.hpp
Co-authored-by: Dennis Ogiermann <termi-official@users.noreply.github.com>
2023-12-12 11:27:38 -08:00
Aaron FisherandDennis Ogiermann 0905c430e6 Update fem/bilinearform.hpp
Co-authored-by: Dennis Ogiermann <termi-official@users.noreply.github.com>
2023-12-12 11:27:27 -08:00
Aaron FisherandDennis Ogiermann 35c8f43d37 Update fem/bilinearform.hpp
Co-authored-by: Dennis Ogiermann <termi-official@users.noreply.github.com>
2023-12-12 11:27:13 -08:00
Aaron FisherandDennis Ogiermann 6df0133c11 Update fem/bilinearform.hpp
Co-authored-by: Dennis Ogiermann <termi-official@users.noreply.github.com>
2023-12-12 11:27:03 -08:00
Aaron FisherandDennis Ogiermann 9c69032e49 Update fem/bilinearform.hpp
Co-authored-by: Dennis Ogiermann <termi-official@users.noreply.github.com>
2023-12-12 11:26:46 -08:00
Aaron FisherandDennis Ogiermann 49cfe29ce9 Update fem/bilinearform.hpp
Co-authored-by: Dennis Ogiermann <termi-official@users.noreply.github.com>
2023-12-12 11:26:33 -08:00
Sebastian Grimberg 8fbfec3829 Fix memory leak from MPI_Comm_dup and missing MPI_Comm_free for GSLIB interface 2023-12-12 09:54:09 -08:00
Tzanio Kolev 757b1ed529 Merge pull request #3976 from mfem/fix-sample-runs
Fix various small issues related to running `config/sample-runs.sh`
2023-12-12 09:33:04 -08:00
JacobLotz 8c12c6d2af Last VisIt typo 2023-12-12 10:22:30 +01:00
JacobLotz 37e3151d6d add mfem 4.6 dependency 2023-12-12 09:49:07 +01:00
JacobLotz af3294b361 fix line width 2023-12-12 09:42:45 +01:00
Will Pazner 185a339db3 Merge remote-tracking branch 'origin/master' into periodic-mesh-kdtree
# Conflicts:
#	mesh/mesh.cpp
2023-12-11 13:33:24 -08:00
Sebastian Grimberg 714a6040f0 Address PR feedback: Clean up doxygen comments 2023-12-11 13:25:23 -08:00
Tzanio Kolev 7fe1df7e00 Merge pull request #3918 from mfem/sjg/pfespace-constructor-fix
Remove unused parameter from `ParFiniteElementSpace` constructor
2023-12-10 10:48:48 -08:00
Jacob Lotz 43d577a4f1 make style 2023-12-09 19:37:53 +01:00
Jacob LotzandDylan Copeland 9d44f3be75 Update miniapps/nurbs/nurbs_naca_cmesh.cpp
Co-authored-by: Dylan Copeland <dylancopeland@gmail.com>
2023-12-09 19:36:32 +01:00
Jacob LotzandDylan Copeland 99df066336 Update miniapps/nurbs/nurbs_naca_cmesh.cpp
Co-authored-by: Dylan Copeland <dylancopeland@gmail.com>
2023-12-09 19:36:15 +01:00
Jacob Lotz ce2462a126 const NACA4 class 2023-12-09 19:31:51 +01:00
Jacob LotzandDylan Copeland 9adc3c5d8b Update miniapps/nurbs/nurbs_naca_cmesh.cpp
Co-authored-by: Dylan Copeland <dylancopeland@gmail.com>
2023-12-09 18:33:59 +01:00
Jacob LotzandDylan Copeland 855fd34471 Update miniapps/nurbs/nurbs_naca_cmesh.cpp
Co-authored-by: Dylan Copeland <dylancopeland@gmail.com>
2023-12-09 18:32:48 +01:00
Tzanio Kolev 860c95c2de Merge pull request #3573 from mfem/mesh-builder-tet-tri
Build Tet and Tri meshes by splitting Hexes and Quads, respectively.
2023-12-08 12:08:33 -08:00
JacobLotz e3cac5edb3 Textual improvements 2023-12-08 11:42:11 +01:00
Will Pazner fa3b23fc92 Mark mfem_error as [[noreturn]] in declaration only
Remove unnecessary annotation from definition
2023-12-07 15:43:51 -08:00
Sebastian Grimberg 96e2fa95d8 Add const versions of FaceElementTransformations using user provided FaceElementTransformations and ElementTransformation objects, like for GetElementTransformation
Also improves const-correctness throughout Mesh, ParMesh, and NCMesh classes.
2023-12-07 14:24:46 -08:00
Will Pazner b13d4d6631 Mark mfem_error as [[noreturn]] 2023-12-07 11:46:20 -08:00
Tzanio Kolev 3c7ee44fb7 Merge branch 'master' into do/docs-polish 2023-12-07 11:37:23 -08:00
Tzanio Kolev eb28399c7c Small adjustments to new Doxygen style 2023-12-07 11:36:28 -08:00
Tzanio Kolev 35b28b3552 Updated Doxygen config file to version 1.9.8 2023-12-07 11:32:00 -08:00
Sebastian Grimberg 28f48489a6 Minor const correctness fix for Mesh 2023-12-07 08:37:49 -08:00
Jacob Lotz 76171e95a7 Merge branch 'master' into nurbs-cmesh-miniapp2 2023-12-07 10:56:12 +01:00
Will Pazner 22670890ce Use KDTree in Mesh::CreatePeriodicVertexMapping for better efficiency 2023-12-06 21:26:00 -08:00
Will Pazner be5541dba1 Add abstract base class KDTreeBase for derived KDTree class templates 2023-12-06 21:25:44 -08:00
Will Pazner 262f5fff23 const-correctness for KDTree 2023-12-06 21:20:12 -08:00
Tzanio Kolev 90b65160c8 Merge branch 'do/docs-polish' of github.com:mfem/mfem into do/docs-polish 2023-12-06 11:33:43 -08:00
Tzanio Kolev a37c8e3acb Merge pull request #3995 from mfem/tmop-pa-metric-coeff
TMOP: PA support for the Coefficient of the metric integral
2023-12-06 11:30:21 -08:00
Tzanio Kolev 0adecf5596 Merge pull request #3967 from mfem/optimize-discrete-divergence
Improve GPU algorithm in FormDiscreteDivergenceMatrix
2023-12-06 11:30:00 -08:00
Sebastian Grimberg 0fa1275ccf Change default constructor parameter to match previous behavior and add Doxygen comment warning of the differences 2023-12-06 09:55:22 -08:00
Veselin Dobrev 8b44981fa2 Merge pull request #3846 from mfem/sjg/global-variables-threadsafe
Thread-safety for MFEM classes and global instances
2023-12-06 09:39:28 -08:00
Dennis Ogiermann 66768c1dd8 Add dark mode toggle. 2023-12-06 09:32:37 +01:00
Robert W. Anderson 02e57a881d reset lazy data on potential topology changes due to rebalancing 2023-12-05 18:31:10 -08:00
Mittal, Ketan 956be1a755 adding brief for doxygen comments 2023-12-05 16:21:08 -08:00
Dylan Copeland f8a8392ff8 Merge branch 'master' of github.com:mfem/mfem into nurbs-ref-formula 2023-12-05 14:34:06 -08:00
termi-official a0b1307bc0 Add Will's suggestion. 2023-12-05 21:45:03 +01:00
Sebastian Grimberg 9ec30fb48a Revert breaking interface change to ParMesh constructor 2023-12-05 11:47:53 -08:00
Sebastian Grimberg 415033aef2 Revert removal of unused parameter from ParFiniteElementSpace constructor 2023-12-05 11:37:19 -08:00
Sebastian Grimberg 5ee7ab1fd1 Merge branch 'master' into sjg/pfespace-constructor-fix 2023-12-05 11:29:22 -08:00
Sebastian Grimberg 864233213e Update changelog 2023-12-05 11:28:22 -08:00
Will Pazner e52ce5f060 Merge pull request #3984 from mfem/nbeams/update-gko-again
Updates for Ginkgo 1.7+
2023-12-05 11:15:18 -08:00
Sebastian Grimberg c30924731f Merge branch 'master' into sjg/global-variables-threadsafe 2023-12-05 11:12:34 -08:00
victor-decaria-nnl 0056b04a43 Merge branch 'master' into full-assembly-elast-dev 2023-12-05 12:42:14 -05:00
Victor DeCaria 92a11125c8 astyle 2023-12-05 10:40:52 -07:00
Victor DeCaria 01bd1a1142 Added checks to make sure compression types of CoefficientVector were supported. Refactored to remove need for PACalled. Made QuadratureFunction a forward declaration in bilininteg instead of an include. 2023-12-05 10:40:12 -07:00
Victor DeCaria 8bdc3b67bb using CoefficientVector 2023-12-05 09:19:51 -07:00
Tzanio Kolev 0ddb7aba31 Merge pull request #4005 from mfem/miniapps-gslib-makefile-fix
Fix the shared build in `miniapps/gslib`
2023-12-05 06:33:52 -08:00
Victor DeCaria a4f7c68ac7 reverting a random newline that was deleted 2023-12-05 07:03:28 -07:00
victor-decaria-nnl 2033b9853c Merge branch 'master' into full-assembly-elast-dev 2023-12-05 08:41:53 -05:00
Victor DeCaria 48935c4a8a reverted the move of ElementDofOrdering 2023-12-05 06:39:59 -07:00
Victor DeCaria 61fc44f5ff removed the overloads for GetDofToQuad. Changed MFEM_VERIFY conditions to reflect adding the new enum value 2023-12-05 06:28:09 -07:00
Jacob Lotz ab203b26f9 Merge branch 'master' into nurbs-cmesh-miniapp2 2023-12-05 11:19:43 +01:00
Victor DeCaria 336236eae8 implemented the LEXICOGRAPHIC_FULL idea 2023-12-04 16:55:50 -07:00
Will Pazner 1160bc272b Merge pull request #3981 from mfem/zero_elem_refined
Support for zero element meshes in Mesh::MakeRefined() and L2ProjectionGridTransfer [zero_elem_refined]
2023-12-04 13:26:52 -08:00
Victor DeCaria 4a38577e3f added same tests from makefile to CmakeLists.txt 2023-12-04 12:45:46 -07:00
Victor DeCaria 0ca7ff4533 added GetEVectorOrdering function 2023-12-04 12:45:46 -07:00
victor-decaria-nnl b8e4945878 Merge branch 'master' into full-assembly-elast-dev 2023-12-04 10:37:49 -05:00
Veselin Dobrev 3440025266 In miniapps/gslib/makefile, include defaults.mk to get the
definitions of *_XLINKER.
2023-12-03 06:37:44 -08:00
Tzanio Kolev 7aba8e28ba Merge pull request #3989 from adam-sim-dev/gitignore
Ignore examples/caliper binaries and result files
2023-12-01 15:23:21 -08:00
Victor DeCaria c7aa393ba0 got rid of forall macros in kernels 2023-12-01 15:06:04 -07:00
victor-decaria-nnlandWill Pazner d9c60f710e Update fem/integ/bilininteg_elasticity_kernels.hpp
applying suggestion to delete @file doxygen line

Co-authored-by: Will Pazner <11493037+pazner@users.noreply.github.com>
2023-12-01 15:23:32 -05:00
Victor DeCaria 71c4566944 applying some suggestions 2023-12-01 13:01:16 -07:00
Will PaznerandSebastian Grimberg 61c23059c6 Use '= default' for default Multigrid constructor
Co-authored-by: Sebastian Grimberg <sjg@amazon.com>
2023-12-01 11:44:08 -08:00
Will Pazner 422c163466 Merge remote-tracking branch 'origin/master' into zero_elem_refined 2023-12-01 11:41:26 -08:00
Will Pazner 0230285d65 Minor formatting change 2023-12-01 11:41:13 -08:00
victor-decaria-nnl 3fd54f4e91 Merge branch 'master' into full-assembly-elast-dev 2023-12-01 14:01:24 -05:00
Will Pazner 68873fa4d4 Update ex26 and ex26p to use constrained prolongation operators
Resolves issue #4002
2023-11-30 19:50:51 -08:00
Will Pazner 9c01a3eca7 Use RectangularConstrainedOperator for prolongations in GeometricMultigrid
This fixes a bug in the multigrid solver. If the prolongation operators are not
constrained, then their transpose will have nontrivial action on the essential
DOFs, resulting in degraded convergence.
2023-11-30 19:50:51 -08:00
Will Pazner da68746692 Make FiniteElementSpace::GetEssentialTrueDofs const 2023-11-30 19:47:07 -08:00
Tzanio Kolev 27e681f9e7 Merge pull request #3772 from mfem/elasticity-amg-fix
Minor bugfixes for the BoomerAMG elasticity options
2023-11-30 15:21:23 -08:00
Tzanio Kolev 4653df940c Merge branch 'master' into do/docs-polish 2023-11-29 16:32:25 -08:00
Tzanio Kolev fdbb8e2757 Small updates to new Doxygen documentation style 2023-11-29 16:31:07 -08:00
stefanhenneking c3a5798463 Fixing minor bug in 3D PA. 2023-11-29 15:23:38 -06:00
victor-decaria-nnl 35254a3e02 Merge branch 'master' into full-assembly-elast-dev 2023-11-29 12:51:45 -05:00
Tzanio Kolev 4a45c70d12 Merge pull request #3901 from mfem/fix-doc-ex23
Fix documentation of `ex23`
2023-11-29 08:38:25 -08:00
victor-decaria-nnl fcbfba6fa3 Merge branch 'master' into full-assembly-elast-dev 2023-11-29 10:59:15 -05:00
Socratis Petrides d6c7698712 added optional argument for pre-processing the interp matrix 2023-11-28 18:25:15 -08:00
Vladimir Z Tomov ba13719aa8 renamed variables 2023-11-28 13:45:27 -08:00
Vladimir Z Tomov 78ae46e9a2 Update of the metric_coeff and lim_coeff when the nodes are moved. 2023-11-28 13:27:12 -08:00
Veselin Dobrev f12fb5522a Merge pull request #3656 from adam-sim-dev/cxxflags
Add $(MFEM_CXXFLAGS) to get_hypre_version and get_mumps_version
2023-11-28 11:48:30 -08:00
victor-decaria-nnl 13abdfafe0 Merge branch 'master' into full-assembly-elast-dev 2023-11-28 11:46:11 -05:00
Vladimir Z Tomov 65a3108084 updated the metric weight to Q-vector 2023-11-27 14:52:06 -08:00
Tzanio Kolev 91b40c9b78 Merge pull request #3852 from mfem/baecker/cutint
CutIntegrationRules and new example
2023-11-27 08:43:13 -08:00
Sebastian Grimberg a3a73e9ab2 Address PR feedback: Remove unused member variable 2023-11-27 08:40:03 -08:00
Hugh Carson 22b991d9f1 Fixes for PR feedback:
- Moved some CHECK out of hot loops, replaced with bool set with &= checked after
- Changed lambda variable names to be snake case for consistency
- Add missing std headers into mesh test utils: array (std::array), functional (std::function) and memory (std::unique_ptr)
2023-11-27 10:20:08 -05:00
Hugh Carson b17291ba3b Rewrap comments at 80 characters 2023-11-24 15:37:28 -05:00
Hugh Carson f60c93dd19 Address PR feedback:
- Comment fixes
- Refactor to move helper functions to mesh utils
- Align at 80 characters
- Refactor tests to reuse the testing meshes more
- Width fixes, some named arguments, a bit of doxygen commenting
- Remove negative from master face detection methods. Fix up doxygen comments
- Extra const correctness
2023-11-24 15:36:15 -05:00
Hugh Carson e59534b921 Merge remote-tracking branch 'origin/master' into hughcars/ncmesh-interior-boundary-dev 2023-11-24 10:36:13 -05:00
Vladimir Z Tomov a3d530f2f0 minor 2023-11-22 18:05:21 -08:00
Vladimir Z Tomov 87494199c0 PA support when the integrator has a ConstantCoefficient. 2023-11-22 17:58:59 -08:00
stefanhenneking 627a295eaa remove mem leak in test 2023-11-22 17:32:01 -06:00
stefanhenneking f8e4b83043 unit test init ptr 2023-11-22 17:13:14 -06:00
stefanhenneking 304c94f184 init with nullptr 2023-11-22 17:02:50 -06:00
stefanhenneking be6d3e57e7 removing comments 2023-11-22 16:59:44 -06:00
stefanhenneking 86bbefca08 remove cout print 2023-11-22 16:50:04 -06:00
stefanhenneking ae3443fd1d style 2023-11-22 16:31:21 -06:00
stefanhenneking 514d281475 Add unit tests for GradientIntegrator with L2 test functions. 2023-11-22 16:21:38 -06:00
stefanhenneking 5c0ae17a5b Add PA unit tests for GradientIntegrator. 2023-11-22 16:21:06 -06:00
stefanhenneking 0140fed416 Fix GradientIntegrator to support L2 test functions of INTEGRAL type. 2023-11-22 16:19:53 -06:00
stefanhenneking d07e541f5c Fix VectorDomainLFIntegrator when MapType is INTEGRAL. 2023-11-22 16:12:20 -06:00
stefanhenneking ee335907f7 PA implementation for GradientIntegrator transpose. 2023-11-22 16:10:52 -06:00
stefanhenneking f5d2144e80 minor: fix typos and description. 2023-11-22 16:09:07 -06:00
Sebastian Grimberg c9e112c192 Second revert to unintended breaking interface change 2023-11-22 12:19:31 -08:00
Sebastian Grimberg 59fbc05880 Revert previous commit, cannot overload functions by return type 2023-11-21 11:50:01 -08:00
Sebastian Grimberg 5f85120da4 Revert breaking change for Geometry interface 2023-11-21 11:41:39 -08:00
nbeams f66a16257f Undo accidental commit in Ginkgo example 2023-11-21 14:17:56 -05:00
nbeams baf06bdc93 Adjust mesh path in Ginkg example sample runs 2023-11-21 14:09:46 -05:00
Tzanio Kolev b25c4e30ee minor 2023-11-21 09:55:32 -08:00
Vladimir Z Tomov 9734af90ed added in doc/CodeDocumentation 2023-11-21 09:19:54 -08:00
Tzanio Kolev 5c66134872 Merge pull request #3982 from mfem/fix-cubit-warnings
Fix some Cubit warnings
2023-11-21 09:03:06 -08:00
dylan-copeland ff95fdb3af Merge branch 'master' of github.com:mfem/mfem into mesh-file-comments 2023-11-20 16:22:10 -08:00
dylan-copeland 0e209bbf05 Adjust formatting for NCMesh. 2023-11-20 16:20:23 -08:00
Vladimir Z Tomov 8e1fd9c27d changed a comment 2023-11-20 12:25:55 -08:00
Tzanio Kolev 8d75a62e65 Merge pull request #3875 from imguoguo/master
Fix build failure on riscv64 architecture
2023-11-19 13:08:50 -08:00
Tzanio Kolev 85e435be84 Merge branch 'master' into fix-doc-ex23 2023-11-17 09:09:15 -08:00
Tzanio Kolev f7f7a46d8e Merge pull request #3973 from mfem/sjg/cmake-cuda-fix
Correct `cusparse`, `cublas` linkage for CMake builds with CUDA
2023-11-17 09:01:29 -08:00
Tzanio Kolev ce09755c75 Merge pull request #3979 from mfem/sjg/glvis-fix
Patch for #3685 to resolve issues with GLVis
2023-11-17 09:00:03 -08:00
adam-sim-dev cdd5d74a7a Merge branch 'master' into cxxflags 2023-11-17 19:44:56 +08:00
adam-sim-dev 672c331189 Ignore binaries and result files 2023-11-17 19:19:24 +08:00
Will Pazner 3e5ad8d18c Use CalcPhysShape in MassIntegrator::AssembleElementMatrix2 2023-11-16 21:47:39 -08:00
Mittal, Ketan 57de5fa684 reviewer comments 2023-11-16 21:39:16 -08:00
nbeams 43804b7e29 Ginkgo updates: Fix build error from method of changing factory parameters;
Address some deprecation warnings in ILU and IC preconditioners
2023-11-16 16:47:49 -05:00
Mittal, Ketan 05683c3cae minor 2023-11-16 11:14:33 -08:00
Mittal, Ketan a769ca1fcb more doxygen comments 2023-11-16 11:13:09 -08:00
Will Pazner 43c7303e45 Pass vectors by reference in ReadCubitBoundaries 2023-11-16 10:55:53 -08:00
Mittal, Ketan fe85793042 brace alignment, resolve conflict due to merge, and doxygen comments 2023-11-16 10:50:22 -08:00
Mittal, Ketan 68067d2f25 minor 2023-11-16 10:34:36 -08:00
Mittal, Ketan 1efe47c8d6 Merge branch 'master' of https://github.com/mfem/mfem into mesh-builder-tet-tri 2023-11-16 10:33:23 -08:00
Mittal, Ketan e3c68a5300 reviewer comments 2023-11-16 10:33:12 -08:00
Hugh Carson 398ff215f3 Merge remote-tracking branch 'origin/master' into hughcars/ncmesh-interior-boundary-dev 2023-11-16 09:31:11 -05:00
Will Pazner b1c7fc6b26 Use std::string in Mesh::ReadCubit 2023-11-15 21:08:50 -08:00
Will Pazner 055b807772 Move FinalizeCubitSecondOrderMesh out of the Mesh class 2023-11-15 21:06:47 -08:00
Will Pazner 4779b9a385 Move CreateCubitElement out of the Mesh class
and into the mfem::cubit namespace.

Same for CreateCubitBoundaryElement.
2023-11-15 20:46:34 -08:00
Will Pazner 245e7dc35c Use std::vector instead of int* in Cubit mesh reader 2023-11-15 20:46:34 -08:00
Will Pazner b49f91fa2f Fix warnings in Mesh::ReadCubit 2023-11-15 20:46:34 -08:00
Veselin Dobrev 110bec1507 Merge pull request #3956 from mfem/projectbdr-assert-bug
Wrong assert code in ParGF::ProjectBdrCoefficient
2023-11-15 19:00:47 -08:00
Veselin Dobrev 68635cc1a8 Merge pull request #3081 from mfem/sjg/strumpack-solver-dev
Update STRUMPACK solver interface
2023-11-15 18:58:00 -08:00
Tzanio Kolev 8bb929c2ff Merge pull request #3820 from mfem/sjg/stateless-doftrans-threadsafe
Simplifications to `DofTransformation` and `StatelessDofTransformation`
2023-11-15 17:43:43 -08:00
EB Chin cf9d5bbb9c make it work with cpp11 2023-11-15 17:21:31 -08:00
EB Chin 986a0ac0ca fix style 2023-11-15 17:14:55 -08:00
Aaron Fisher 4e485b82b2 make style 2023-11-15 16:44:31 -08:00
Aaron Fisher 134d71d66f Fixed some spacing issues I broke and added doxygen to the remaining methods that didn't have it. 2023-11-15 16:40:30 -08:00
EB Chin 358cf496ee zero elem fix for H1 transfers 2023-11-15 16:26:39 -08:00
EB Chin 65dc31e51a MakeRefined() on meshes with no elems 2023-11-15 16:09:58 -08:00
Vladimir Z Tomov 7ab0206976 edited the comments in ex38 to avoid testing in sample-runs. 2023-11-15 14:30:35 -08:00
Guoguo 193e603ace re-modify makefile and correct its format. 2023-11-15 21:46:13 +08:00
Vladimir Z Tomov ffd2938cea Merge branch 'master' into baecker/cutint 2023-11-14 15:51:31 -08:00
Tzanio Kolev 4161aac03e Merge pull request #3962 from mfem/tmop-mu14-update
Update to TMOP metric - mu_14
2023-11-14 12:06:34 -08:00
blaz 588ce586db Merge branch 'baecker/cutint' of github.com:mfem/mfem into baecker/cutint 2023-11-14 11:53:27 -08:00
blaz 12c8827cb2 cmake 2023-11-14 11:53:07 -08:00
Mark L. Stowell 26613eec97 Merge pull request #3524 from mfem/sjg/bilinearform-integs-marker
Complete domain integrator marker support
2023-11-14 11:46:37 -08:00
Mark L. Stowell 8a5dbbe3fb Merge branch 'master' into sjg/bilinearform-integs-marker 2023-11-14 11:13:58 -08:00
Sebastian Grimberg b88787c1a1 Patch for #3685 to resolve issues with GLVis 2023-11-14 09:10:25 -08:00
Guoguo 8b2ed54835 revert unnecessary modification of makefile 2023-11-14 14:14:46 +08:00
Sebastian Grimberg ff76f26ce1 Fix missing newline 2023-11-13 17:10:59 -08:00
Sebastian Grimberg 1354c29905 Go back to using configure-time tests to determine if HYPRE was built with CUDA/HIP rather than guessing off of the MFEM configure variables 2023-11-13 17:08:51 -08:00
Hugh Carson d49dcc33f9 Introduce support for interior boundary elements within NCMesh
- A boundary element is now either a conformal face (internal or external) or a slave face (internal)
- The dofs of master faces of an internal slave face are discovered to enable adding essential boundaries
- Various small refactorings for loops etc.
2023-11-13 14:17:01 -05:00
Hugh Carson 3aea84aa2c Introduce unit tests for nc interior boundaries, and for general nc hardening 2023-11-13 14:16:57 -05:00
Socratis Petrides 93fef9d8a4 Merge branch 'master' into elasticity-amg-fix 2023-11-13 10:41:24 -08:00
Sebastian Grimberg a06e19ce7d Remove unneeded cuBLAS dependency, align automated Hypre cuSPARSE and cuRAND (and ROCm counterparts) dependencies for CMake builds 2023-11-13 10:28:54 -08:00
Sebastian Grimberg 4202daa1fa Revert to MPI_Init when the requested threading level does not require MPI_Init_thread 2023-11-13 08:59:04 -08:00
Hugh Carson f46e7d93de Various cleanups/refactors ahead of interior boundary 2023-11-13 11:54:31 -05:00
Hugh Carson cccb23b459 Add variadic max function 2023-11-13 11:51:58 -05:00
Hugh Carson 5d8e9c237a Clean up elements to use override, and fill in various missing methods uncovered by setting override and pure virtual 2023-11-13 11:51:58 -05:00
GuoguoandSebastian Grimberg f2a7cb9b7a Apply suggestions from code review
Works on riscv64

Co-authored-by: Sebastian Grimberg <sebastiangrimb@gmail.com>
2023-11-13 05:54:01 -06:00
Vladimir Z Tomov dcf0a01298 minor 2023-11-12 18:12:01 -08:00
Veselin Dobrev 3966255076 Fix various small issues related to running config/sample-runs.sh 2023-11-12 14:04:42 -08:00
Vladimir Z Tomov b5a9fd3df4 changelog 2023-11-12 13:47:37 -08:00
Tzanio Kolev 1c58d6d3d1 Merge pull request #3884 from mfem/lor-surface-meshes
Support surface meshes in batched LOR assembly
2023-11-12 10:30:57 -08:00
Tzanio Kolev b2acd235b2 Merge pull request #3685 from topazus/use-getaddrinfo
Replace deprecated gethostbyname by getaddrinfo
2023-11-12 10:28:31 -08:00
Tzanio Kolev b15d483611 Merge pull request #3968 from mfem/mish2/cmake_generated_headers
Avoid regenerating header files that haven't changed
2023-11-12 10:28:06 -08:00
Vladimir Z Tomov e008f815ae Merge branch 'master' into baecker/cutint 2023-11-11 21:45:45 -08:00
Vladimir Z Tomov 8846587efb doc autotest error 2023-11-11 16:57:03 -08:00
Vladimir Z Tomov 64a01150ee Fixed size error for the 3D volume RHS. This actually didn't change results. 2023-11-11 16:01:05 -08:00
Sebastian Grimberg 83a72b343a Fix cusparse, cublas library dependency linkage for CMake builds with CUDA 2023-11-09 18:02:36 -08:00
Aaron Fisher 80ac2d549f Merge branch 'master' into bilinearform-dox 2023-11-09 11:52:32 -08:00
Aaron Fisher 90fcbacb97 Fixed a reference to the DiagonalPolicy enum. 2023-11-09 11:51:15 -08:00
Tzanio Kolev ecfab8fe9f Merge pull request #3964 from mfem/extra-semicolon-warnings-fix
Fix warnings about extra semicolons from GCC
2023-11-09 07:05:02 -08:00
Tzanio Kolev 935be38e4f Merge pull request #3966 from mfem/bugfix/rwa/reset-lazy-data-parmesh-ncref
Call ResetLazyData for ParMesh undergoing nonconforming refinement
2023-11-09 07:04:13 -08:00
Tzanio Kolev 23a78751d5 Merge pull request #3811 from mfem/bdr-1d
Unify Mesh::be_to_face
2023-11-09 07:02:22 -08:00
Dylan Copeland 953a883903 Replaced the option to put comments at beginning of the file with option to write comments within the file (after the first line). 2023-11-08 18:59:28 -08:00
Dylan Copeland 25e95ef38b Change the starting character for comments to %. 2023-11-08 15:54:58 -08:00
Dylan Copeland 901c4b425a Skip comments at beginning of mesh file. 2023-11-08 14:56:07 -08:00
Aaron Fisher 1d711039b0 Improved and expanded the doxygen comments in BilinearForm 2023-11-08 14:42:54 -08:00
Vladimir Z Tomov 00815df5d0 debug compile warnings 2023-11-08 13:21:32 -08:00
Vladimir Z Tomov ea404352a6 minor comments 2023-11-08 12:21:33 -08:00
Will PaznerandKetan Mittal 21de36604a Fix typo (dim should have been sdim)
Co-authored-by: Ketan Mittal <mittal3@llnl.gov>
2023-11-07 14:24:30 -08:00
Vladimir Z Tomov 21c1d3a54e simplified interface for computing surface transf weights. 2023-11-07 13:45:50 -08:00
Vladimir Z Tomov c0fed5b393 Simplified cut-volume integr interface. 2023-11-07 13:11:51 -08:00
Sam Mish 1420fc6b63 avoid regenerating headers that haven't changed 2023-11-07 12:43:59 -08:00
Vladimir Z Tomov a453d97ab9 Simplified the surface integration interface. 2023-11-07 12:33:16 -08:00
Vladimir Z Tomov 76d3a54a88 removed default constructors, added -vis to the example. 2023-11-07 09:16:38 -08:00
Sebastian Grimberg 723a613236 Clean up unnecessary ;; 2023-11-07 09:08:19 -08:00
Mark L. Stowell fd4c6892a4 Merge branch 'master' into sjg/bilinearform-integs-marker 2023-11-06 15:31:47 -08:00
Robert W. Anderson d6205812cf need a ResetLazyData() when mesh is a pmesh and doing nonconforming refinement 2023-11-06 15:09:08 -08:00
Will Pazner 7de9f15d12 Improve GPU algorithm in FormDiscreteDivergenceMatrix
Allow for more parallelism, threading over every matrix entry rather than just
over every row
2023-11-06 14:59:31 -08:00
Vladimir Z Tomov 1f9f8bd5cb minor comments 2023-11-06 14:31:15 -08:00
Dylan Copeland 023d8b190a Updated mesh files with spacing formulas to new format. 2023-11-06 11:56:26 -08:00
Dylan Copeland dee96f98fa Merge branch 'master' of github.com:mfem/mfem into nurbs-ref-formula 2023-11-06 11:23:27 -08:00
Sebastian Grimberg f09f969197 Fix issue with new unit test 2023-11-06 11:18:33 -08:00
Dylan Copeland f49051867a Replaced minus-sign trick with a "spacing" keyword in knotvectors. Added newlines in spacing formula printing. 2023-11-06 11:17:53 -08:00
Dylan Copeland f0e5bccbfb Adding parameters for relative numbers of elements in piecewise spacing. 2023-11-06 10:09:52 -08:00
Sebastian Grimberg 0857e8e22f Merge branch 'master' into sjg/stateless-doftrans-threadsafe 2023-11-06 08:30:05 -08:00
Sebastian Grimberg 7e2580f262 Merge branch 'master' into sjg/pfespace-constructor-fix 2023-11-06 08:03:51 -08:00
Vladimir Z Tomov a3c51c8a70 gitignore 2023-11-05 15:47:51 -08:00
Vladimir Z Tomov 05154bad34 minor 2023-11-05 13:08:15 -08:00
Vladimir Z Tomov 8c8b52d572 fix cmake 2023-11-05 12:47:40 -08:00
Vladimir Z Tomov 718bece30c renamed check-tmop-metric to tmop-check-metric 2023-11-05 12:33:30 -08:00
Vladimir Z Tomov 3ce24ea2ba comments and testing function 2023-11-05 12:29:16 -08:00
Veselin Dobrev 62c0444cbf Fix warnings about extra ';' from GCC with '-pedantic' flag 2023-11-04 18:47:52 -07:00
Will Pazner 6594329638 Fix uninitialized be_to_face in 1D ParMesh 2023-11-04 14:07:41 -07:00
blaz 1ae7ced2dc cmake files 2023-11-03 23:15:55 -07:00
Vladimir Z Tomov a5b1b2111d comments and minor edits. 2023-11-03 13:03:25 -07:00
Mittal, Ketan 8ab890b7d7 remove fd option for sample run with mu14 2023-11-03 10:10:59 -07:00
Mittal, Ketan 9166d8fdcb add evalP and AssembleH for mu14 2023-11-03 10:05:17 -07:00
Vladimir Z Tomov a241e4a447 minor 2023-11-03 09:20:29 -07:00
Will Pazner 11aa88c5e0 const correctness
Make num_codim_1 const using IIFE lambda.
2023-11-03 08:26:00 -07:00
Vladimir Z Tomov 79cc10d12b Merge branch 'master' into baecker/cutint 2023-11-02 16:50:50 -07:00
Vladimir Z Tomov 4d247cff97 changed example number. 2023-11-02 16:50:31 -07:00
Will Pazner 81af422efb Replace usage of deprecated function 2023-11-02 16:14:55 -07:00
Will Pazner de0f5a1da4 Replace usage of deprecated function 2023-11-02 15:41:39 -07:00
Will Pazner ed10bed8c8 Merge remote-tracking branch 'origin/master' into bdr-1d
# Conflicts:
#	fem/qspace.cpp
2023-11-02 14:52:08 -07:00
Will Pazner c794dae53b Move Mesh::GetBdrElementFaceIndex to header file
Also improve the Doxygen comment.

Move deprecated function Mesh::GetBdrElementEdgeIndex closer to its replacement
Mesh::GetBdrElementFaceIndex.
2023-11-02 14:47:56 -07:00
Jeremy L Thompson 0e859e6122 ceed - check libCEED v0.12.0 min version 2023-11-02 12:49:52 -06:00
Jeremy L Thompson e61fdb139e ceed - document libCEED v0.12.0 min version 2023-11-02 12:30:19 -06:00
Dylan Copeland 041ce914d8 Making NURBSUniformRefinement public and removing NURBS-specific inputs from UnioformRefinement. 2023-11-01 13:10:35 -07:00
Will Pazner 9a70f50e22 Update CHANGELOG 2023-10-31 15:56:32 -07:00
Will Pazner c4957f1907 Merge remote-tracking branch 'origin/master' into lor-surface-meshes 2023-10-31 15:55:59 -07:00
Sebastian Grimberg aa8e466e42 Address PR feedback: Rename IsEmpty -> IsIdentity and clarify code comments 2023-10-31 12:26:35 -07:00
Dylan Copeland 7515dc1c33 Fix memory leak. 2023-10-30 18:20:01 -07:00
Dylan Copeland b769136be3 Fixing unit test. 2023-10-30 16:10:58 -07:00
Veselin Dobrev ed655d51bc Workaround by @koning for an issue he noticed in certain HIP builds 2023-10-29 17:53:27 -07:00
Vladimir Z Tomov d9937c5b82 Wrong assert code in ParGF::ProjectBdrCoefficient 2023-10-29 17:26:09 -07:00
Sebastian Grimberg 19e016e5d0 Merge branch 'master' into sjg/global-variables-threadsafe 2023-10-27 11:17:59 -07:00
Dylan Copeland 2ec09d5851 Fix last commit. 2023-10-25 11:08:11 -07:00
Dylan Copeland c357367365 Improved documentation. 2023-10-25 10:46:47 -07:00
Will Pazner 9863bc5bd6 Change Mesh::GetBdrFace to Mesh::GetBdrElementFaceIndex
Deprecate Mesh::GetBdrFace.
2023-10-24 15:13:45 -07:00
Sebastian Grimberg f4fdd37735 Unify DofTransformation and VDofTransformation classes for further simplification 2023-10-24 13:11:25 -07:00
Sebastian Grimberg 563084ca0f Merge pull request #3920 from mfem/sjg/pmesh-setcurvature-fix
Fix potential issue with `ParMesh` and `SetCurvature`
2023-10-24 12:08:53 -07:00
Sebastian Grimberg 015a0f2eae Merge pull request #3919 from mfem/sjg/pmesh-constructor-fix
`ParMesh` constructor improvement
2023-10-24 12:08:20 -07:00
Will Pazner 823eef1d9a Deprecate Mesh::GetBdrElementEdgeIndex in favor of Mesh::GetBdrFace 2023-10-24 09:25:59 -07:00
Will Pazner 6118beb9e0 Merge remote-tracking branch 'origin/master' into bdr-1d
# Conflicts:
#	mesh/submesh/psubmesh.cpp
2023-10-24 09:21:28 -07:00
Tzanio Kolev ffc2f31b6f Merge branch 'master' into lor-surface-meshes 2023-10-24 08:56:42 -07:00
Will Pazner 74368a0890 Merge remote-tracking branch 'origin/master' into block-solvers/bramble-pasciak-dev 2023-10-23 12:41:19 -07:00
Sebastian Grimberg a7f7fc94ea Fix bug in pmesh-fitting miniapp uncovered by NonlinearForm markers 2023-10-22 13:03:34 -07:00
Sebastian Grimberg 46c73c8745 Merge branch 'master' into sjg/stateless-doftrans-threadsafe 2023-10-22 12:00:11 -07:00
Sebastian Grimberg d000d212e5 Revert "ex31p with the -ams option in 2D revealed a bug for DiscreteLinearOperator::Assemble"
This reverts commit ef6074c420.
2023-10-22 11:56:01 -07:00
Sebastian Grimberg 742132da1b Merge branch 'master' into sjg/bilinearform-integs-marker 2023-10-22 11:51:45 -07:00
Sebastian Grimberg 4745f7aa87 Merge branch 'sjg/pmesh-constructor-fix' into sjg/pmesh-setcurvature-fix 2023-10-19 16:01:57 -07:00
Gabriel Esteban Pinochet Soto 9c7cc2efb7 Modify SumOperator
- Correct issues with size of auxiliar vector
- Resize auxiliar vector for Mult and MultTranspose
2023-10-18 10:26:47 -07:00
Gabriel Esteban Pinochet Soto 50666e7ed1 Minor corrections.
- Change refinement flags. Modify makefiles.
- Use ParseCheck()
- Some formatting
- Remove using namespace statements
- Replace ResetTimer with Restart
- Remove and clarify some commentaries
- Change initialization of offsets_ in DarcySolver
- Remove default constructors
- Grammar
- Modify SumOperator. Rename and remove one vector.
2023-10-17 20:17:57 -07:00
Gabriel Esteban Pinochet Soto 65e8f66d38 Merge branch 'master' of https://github.com/mfem/mfem into block-solvers/bramble-pasciak-dev 2023-10-17 19:53:31 -07:00
Tzanio Kolev 5472b2468c Merge branch 'master' into nurbs-ref-formula 2023-10-17 18:17:25 -07:00
Dylan Copeland ad243930a1 Documentation. 2023-10-16 19:39:46 -07:00
Dylan Copeland fe5645d0cc Merge branch 'master' of github.com:mfem/mfem into nurbs-ref-formula 2023-10-16 19:22:44 -07:00
Dylan Copeland 106a47ae5d Added NURBS tolerance input in mesh-explorer refinement and coarsening. Fixed a bug in KnotVector copy constructor. 2023-10-16 19:22:25 -07:00
Sebastian Grimberg 544cf9318b Expose generate_edges, fix_orientations parameters for Mesh::Finalize in the associated ParMesh constructor, fix debug statements in ParMesh::MarkTetMeshForRefinement 2023-10-12 16:23:51 -07:00
Tzanio Kolev 6885a99955 Merge branch 'master' into lor-surface-meshes 2023-10-10 06:26:07 -07:00
Victor DeCaria 21b0b8bcf6 added lexicographic full for the rest of the possible element and derivative configurations 2023-10-10 06:06:04 -06:00
Dylan Copeland 4650332a8a Minor formatting. 2023-10-09 23:23:52 -07:00
Dylan Copeland 23fd868775 Merge branch 'master' of github.com:mfem/mfem into nurbs-ref-formula 2023-10-09 23:12:26 -07:00
Dylan Copeland 42782cb22a More documentation, and another unit test. 2023-10-09 23:11:29 -07:00
Dylan Copeland b31988842e Documentation for spacing functions. 2023-10-09 16:45:51 -07:00
Victor DeCaria 44b34f5e64 reverted changes to operator and blockoperator to simplify pr 2023-10-09 16:14:48 -06:00
Victor DeCaria 9d65c08c77 reverting some changes to bilinear form infrastructure 2023-10-09 14:21:59 -06:00
Victor DeCaria 6cb689d6bd make ordering part of the doftoquad map 2023-10-09 13:50:47 -06:00
Sebastian Grimberg 134ac98216 Fix issue when ParMesh::SetCurvature invalidates existing face neighbor data from previous call to ParMesh::ExchangeFaceNbrData 2023-10-09 10:31:50 -07:00
Sebastian Grimberg 2609ef0306 Expose generate_edges, fix_orientations parameters for Mesh::Finalize in the associated ParMesh constructor, fix debug statements in ParMesh::MarkTetMeshForRefinement 2023-10-09 10:30:35 -07:00
Dylan Copeland 040b496d4d New unit test for NURBS refinement and coarsening. 2023-10-08 15:35:34 -07:00
Dylan Copeland 693b319c97 Generalized mesh-explorer NURBS refinement to allow for different refinement factors in each dimension. 2023-10-07 20:28:06 -07:00
Dylan Copeland de4b3a397b Generalized refinement and coarsening for NURBS meshes with spacing formulas and different numbers of elements in each direction. Added an example of such a mesh. 2023-10-06 23:07:13 -07:00
Dylan Copeland e89580e82a Adding NURBS coarsening option in mesh-explorer. 2023-10-06 14:55:19 -07:00
Dylan Copeland 01139e91d2 Enabling multiple NURBS refinements by non-nested spacing formulas, by first coarsening. 2023-10-06 10:52:40 -07:00
Dylan Copeland dbb15e539c Implemented knot removal for NURBS meshes. 2023-10-05 12:57:15 -07:00
victor-decaria-nnl 3f4d31473e Merge branch 'master' into full-assembly-elast-dev 2023-10-05 15:28:30 -04:00
Sebastian Grimberg 7014d7f6d2 Organize friend class declarations and some const-correctness for Mesh and ParMesh 2023-10-04 08:56:34 -07:00
Sebastian Grimberg 86bb7d46e2 Remove unused parameter from ParFiniteElementSpace constructor 2023-10-04 08:56:33 -07:00
Sebastian Grimberg cce556551b Merge branch 'master' into sjg/stateless-doftrans-threadsafe 2023-10-03 08:05:38 -07:00
Sebastian Grimberg a71509b8ce Merge branch 'master' into sjg/strumpack-solver-dev 2023-10-03 08:05:20 -07:00
Tobias Duswald ac8ea6fe2d Revert previous commit 2023-10-01 00:09:10 +02:00
Tobias Duswald e26208c725 Remove using ... 2023-09-29 17:13:49 +02:00
Sebastian Grimberg a8502b5b29 Fix bug for GPU builds when using sparse direct solvers with multiple RHS 2023-09-29 07:30:09 -07:00
Sebastian Grimberg a6b8ca5654 Merge branch 'master' into sjg/strumpack-solver-dev 2023-09-29 07:28:18 -07:00
Sebastian Grimberg 771ae1fc3c Merge branch 'master' into sjg/stateless-doftrans-threadsafe 2023-09-29 07:27:38 -07:00
Tobias Duswald 4de0b3b1c6 Fix initial state of visualization in for GLVis 2023-09-29 15:39:53 +02:00
Tobias Duswald aef28190b3 Fix documentation ex23 2023-09-29 11:15:59 +02:00
Dylan Copeland 47ac017e36 Merge branch 'master' of github.com:mfem/mfem into nurbs-ref-formula 2023-09-28 13:32:42 -07:00
Dylan Copeland 65a26340e8 Added option for NURBS refinement by a factor. Implemented piecewise spacing functions with an example mesh file. 2023-09-28 13:31:38 -07:00
adam-sim-dev 37402a0b4f Merge branch 'master' into cxxflags 2023-09-28 19:08:30 +08:00
Mittal, Ketan 16b9256edd minor 2023-09-27 20:53:03 -07:00
Mittal, Ketan 4fb0372c83 use Vector instead of double 2023-09-27 20:39:12 -07:00
Mittal, Ketan e34090d634 Merge branch 'master' of https://github.com/mfem/mfem into mesh-builder-tet-tri 2023-09-27 20:18:46 -07:00
Mittal, Ketan a7b0edc290 refactor and rename 2023-09-27 20:18:30 -07:00
Sebastian Grimberg 81e5489f5e Merge branch 'master' into sjg/stateless-doftrans-threadsafe 2023-09-26 08:44:44 -07:00
Sebastian Grimberg 26841dd3e3 Merge branch 'master' into sjg/strumpack-solver-dev 2023-09-26 08:42:32 -07:00
Tzanio Kolev 1ffc187de6 Merge branch 'master' into master 2023-09-22 07:00:52 -07:00
Will Pazner 8711685494 Add QuadratureFunction::Integrate unit tests 2023-09-20 11:49:07 -07:00
Will Pazner dda1002ff1 Add QuadratureFunction::Integrate 2023-09-20 11:48:58 -07:00
Will Pazner 082dbe45d4 Add QuadratureSpaceBase::GetWeights 2023-09-20 11:48:53 -07:00
Will Pazner e1666702d4 Add surface mesh tests to batched LOR unit tests 2023-09-20 09:45:31 -07:00
Will Pazner 6c3c25d439 Correctly handle RT metric factors in batched LOR assembly 2023-09-20 09:45:06 -07:00
Will Pazner 13bd25ea34 Support surface meshes in parallel LOR solvers miniapp 2023-09-20 09:09:11 -07:00
Will Pazner e6f54f8b92 Handle space dimension in BatchedLOR_AMS::FormCoordinateVectors 2023-09-20 09:06:55 -07:00
Will Pazner 465e5e784e Support surface meshes in LOR Solvers miniapp 2023-09-20 09:06:55 -07:00
Will Pazner 369e76bd18 Support surface meshes in batched LOR assembly 2023-09-19 19:56:45 -07:00
Guoguo e4af497922 Add support for riscv64, fix g++ error: '-march=native': ISA string must begin with rv32 or rv64 while compiling. 2023-09-16 21:30:21 +08:00
Dylan Copeland f6b19999b3 Fixing a bug by deep-copying knotvector spacing by a new clone function. 2023-09-15 15:45:27 -07:00
Gabriel Esteban Pinochet Soto 1364914e7d Small fix. Use MFEM_LAPACK macro. 2023-09-13 12:22:42 -07:00
Gabriel Esteban Pinochet Soto 84a248e42c Add return nullptr 2023-09-13 11:55:33 -07:00
Gabriel Esteban Pinochet Soto 9d2c4c899c Use MFEM_USE_LAPACK macro. 2023-09-13 10:30:04 -07:00
Gabriel Esteban Pinochet Soto 08b87fd9fe Disable iterative mode in SumOperator 2023-09-12 14:15:12 -07:00
Gabriel Esteban Pinochet Soto 41131c3e0c Remove unused varaible in BramblePasciakSolver 2023-09-12 13:42:36 -07:00
Gabriel Esteban Pinochet Soto bfcb60ccec Override SetPreconditioner. 2023-09-12 12:59:44 -07:00
Gabriel Esteban Pinochet Soto 26a6c3c735 Update tests options in makefiles. 2023-09-12 12:05:08 -07:00
Gabriel Esteban Pinochet Soto 0ec2ea20de Make style. 2023-09-12 10:52:09 -07:00
Gabriel Esteban Pinochet Soto 1a4d4d4a61 Merge branch 'master' of github.com:mfem/mfem into block-solvers/bramble-pasciak-dev 2023-09-12 10:42:56 -07:00
Gabriel Esteban Pinochet Soto ffb58713b1 Small change to SumOperator constructor.
- To decide if we can add two iterative solvers.
2023-09-12 10:32:13 -07:00
Gabriel Esteban Pinochet Soto c90d52d32b Modify makefile. Minor fixes.
- Move assert into ConstructMassPreconditioner
- Update makefile
2023-09-11 17:58:16 -07:00
Gabriel Esteban Pinochet Soto 05ace32f42 Cleaner code.
- Add description to README
- Remove commentaries in BPCG
- Move assert into ConstructMassPreconditioner
2023-09-11 11:21:27 -07:00
Chak Shing Lee fcc35e6c6f remove one target in makefile 2023-09-06 14:54:28 -07:00
Chak Shing Lee e60b446438 remove unused lines 2023-09-06 14:18:30 -07:00
Chak Shing Lee 78d869d6fe Merge branch 'csl/bilinearform-vdofs-fix' of https://github.com/mfem/mfem into block-solvers/bramble-pasciak-dev 2023-09-06 11:13:01 -07:00
JacobLotz 34741d3d96 fix variable issue 2023-09-06 17:23:21 +02:00
JacobLotz 4bbfec3270 Add glvis visualisation 2023-09-06 16:55:26 +02:00
JacobLotz ace2a34e90 more info on multiress control 2023-09-06 16:20:00 +02:00
JacobLotz 38189de216 style 2023-09-06 16:16:47 +02:00
JacobLotz 26590a1bef remove empty comment lines 2023-09-06 16:13:28 +02:00
JacobLotz 88a5d0ad7d more spell check 2023-09-06 15:27:24 +02:00
JacobLotz 47eebe1841 spelling 2023-09-06 15:20:34 +02:00
Chak Shing Lee 2d8d46a208 use M instead of Q to construct the (1,1)-block preconditioner in BramblePasciakSolver. adjust documentation and print 2023-09-05 11:22:24 -07:00
Jeremy L Thompson e8268e0357 ceed - update CEED_BASIS_COLLOCATED => CEED_BASIS_NONE 2023-09-05 09:36:55 -06:00
Jacob Lotz 07dc63bfbf Merge branch 'master' into nurbs-cmesh-miniapp2 2023-09-05 16:19:03 +02:00
Chak Shing Lee 40abb09c99 resolve conflicts with master 2023-09-01 16:58:24 -07:00
Gabriel Esteban Pinochet Soto bf9bdddfdc Restructure of the code.
- Remove overloaded BramblePasciakSolver::Init function
- Move MFEM pre-defined BPSolver setting to the constructor
- Add pointers to solvers in BramblePasciakSolver class
- Simplify options
- Remove redundant option in Parameter structs
- Rename AddOperator to SumOperator
- Wrap *.cpp files into namespace scopes
- Add some documentation
- Make style
2023-09-01 14:15:47 -07:00
Baecker b3851cd284 Corrected ex37 2023-09-01 08:44:31 -07:00
Baecker 8d9d3cba4c Corrected documentation again 2023-09-01 08:18:14 -07:00
Baecker c826ed6f88 Corrected documentation again 2023-09-01 08:14:09 -07:00
Baecker 69c6a75d29 corrected the documentation 2023-09-01 08:04:57 -07:00
Baecker 98e41c1de9 Added documentation. 2023-08-31 15:39:09 -07:00
Baecker dede616db7 Fixed some bugs and imporved performance. Everything should be running.' 2023-08-31 14:27:16 -07:00
Baecker 34842a5c71 Added CutIntRules 2023-08-30 13:15:20 -07:00
Jacob Lotz 90fd923c4f update make clean in makefile... 2023-08-30 19:36:17 +02:00
Jacob Lotz 04bccfe0ba fix gitignore 2023-08-30 19:23:07 +02:00
Jacob Lotz 74a32f5cd6 make style 2023-08-30 17:41:36 +02:00
Jacob Lotz 8a56100051 make testing error 2023-08-30 17:29:45 +02:00
Jacob Lotz 9edca06544 prettification of miniapp 2023-08-30 17:28:32 +02:00
Jacob Lotz ebbbf6d031 make style 2023-08-30 17:01:03 +02:00
Jacob Lotz 8a1636c3ee Fix testing in cmake and make 2023-08-30 16:58:59 +02:00
Jacob Lotz 55ecd126ae Fix unwanted differences with master after merge master 2023-08-30 16:25:38 +02:00
Jacob Lotz ef5f65457e Merge branch 'master' into nurbs-cmesh-miniapp2 2023-08-30 16:12:22 +02:00
adam-sim-dev f238ed6f41 Merge branch 'master' into cxxflags 2023-08-30 17:10:35 +08:00
Gabriel Esteban Pinochet Soto 2b88ef81ae Add serial and parallel refinement flag. 2023-08-28 16:50:53 -07:00
Gabriel Esteban Pinochet Soto 5fc779e128 Reorganize functions
- Move general-purpose functions to block-solvers.cpp
- Reorganize code
- TODO Serial and parallel refinement flags
2023-08-28 14:01:19 -07:00
Sebastian Grimberg 0c4d3e35e3 Thread-safety for MFEM classes and global instances 2023-08-27 14:12:01 -07:00
Sebastian Grimberg 56b3d254a0 Merge branch 'master' into sjg/stateless-doftrans-threadsafe 2023-08-24 17:38:51 -07:00
adam-sim-dev eb5a77e2e8 Merge branch 'master' into cxxflags 2023-08-25 08:15:51 +08:00
Gabriel Esteban Pinochet Soto 2ca61c74b0 Remove warnings.
- Remove warnings concerning unset/unused operators.
2023-08-22 17:29:46 -07:00
Gabriel Esteban Pinochet Soto 98e2af65da Modify documentation.
- Remove characters.
2023-08-21 10:34:54 -07:00
Gabriel Esteban Pinochet Soto 46a8bca7f5 Add documentation 2023-08-21 10:30:56 -07:00
Gabriel Esteban Pinochet Soto cb95ddc422 Remove draft elasticity. Add documentation.
- Remove draft. Comment CMake files.
- Add some explanation regarding BPCG and BP transform.
- Make style.
2023-08-21 10:12:52 -07:00
Gabriel Esteban Pinochet Soto aae0f2b7f2 Compartmentalization of block-solvers.
- Add bramble_pasciack.xpp, darcy_solver.xpp
- Move solvers to their respective files and headders
- Update makefile and CMakeList.txt
- (WIP) Add draft elasticity solver (similar to darcy_solver)
- (WIP) Add specific classes to handle the elasticity FES
- (WIP) Define basic block structure
2023-08-17 17:55:16 -07:00
Sebastian Grimberg 3059cf06c7 Merge branch 'master' into sjg/stateless-doftrans-threadsafe 2023-08-17 12:20:13 -07:00
Sebastian Grimberg 61f6c8e115 Merge branch 'master' into sjg/strumpack-solver-dev 2023-08-17 12:17:40 -07:00
Gabriel Esteban Pinochet Soto 31b17b2913 Condense Init functions.
- Define operator pointers when required.
- Use OperatorPtr for solver_ in BPSClass.
- Add MFEM Warnings.
- Add H preconditioner.
2023-08-14 14:44:26 -07:00
Gabriel Esteban Pinochet Soto 6f3cf11d58 Indentation fix (make style). 2023-08-10 16:25:23 -07:00
Gabriel Esteban Pinochet Soto 0631cea458 Update BramblePasciakSolver::GetNumIterations. 2023-08-10 16:15:35 -07:00
Gabriel Esteban Pinochet Soto 79f2d77612 Add BPCGSolver. Modify BramblePasciakSolver class.
- Add class BPCGSolver as a derived class of CGSolver.
- Add bool use_bpcg in BramblePasciakSolver.
- Storage main matrices in BramblePasciakSolver.
- Remaining operators stored as pointers.
- Update linalg/operator.hpp (make style).
- TODO Fix bug final_iter.
2023-08-10 15:51:36 -07:00
Will Pazner 9159121ff7 Bug fix in Mesh::RemoveInternalBoundaries 2023-08-09 07:48:10 -07:00
Will Pazner 80916f85a4 Set 1D be_to_face in Mesh::FinalizeTopology 2023-08-09 07:48:10 -07:00
Will Pazner e37314ff51 Remove Mesh::be_to_edge
It cannot just be marked MFEM_DEPRECATED: gcc will complain.
2023-08-09 07:48:10 -07:00
Will Pazner 4d47bb42f3 Set up be_to_face in Mesh::Make1D 2023-08-09 07:48:10 -07:00
Will Pazner eba1824ebb Document that GetBdrElementEdgeIndex is the same as GetBdrFace 2023-08-09 07:48:10 -07:00
Will Pazner 9b4c527442 Deprecate Mesh::be_to_edge
Mesh::be_to_face should be used instead for 1D, 2D and 3D.
2023-08-09 07:48:10 -07:00
Will Pazner 66258d17ba Remove 1D as special case in GenerateBoundaryElements 2023-08-09 07:48:10 -07:00
Will Pazner 5359237ffd Add boundary elements in 1D ParSubMesh 2023-08-09 07:48:10 -07:00
Will Pazner 808a8b1a18 Support Mesh::GenerateBoundaryElements for 1D meshes 2023-08-09 07:48:10 -07:00
Sebastian Grimberg db6d9df56b Style/formatting updates for fespace.cpp 2023-08-08 11:59:26 -07:00
Sebastian Grimberg 55a6d1b25a Thread-safe FiniteElementSpace::GetElementDofs and GetBdrElementDofs variants for DofTransformation, similar to Mesh::GetElementTransformation and GetBdrElementTransformation 2023-08-08 11:59:26 -07:00
Sebastian Grimberg e42c849e49 Refactor DofTransformation classes and use in FiniteElementSpace to exploit statefull/stateless objects 2023-08-08 11:59:26 -07:00
Gabriel Esteban Pinochet Soto 08deeaacd9 Add AddOperator operator. 2023-08-07 10:35:26 -07:00
Gabriel Esteban Pinochet Soto b4a0df6f5c Add parameter control. Add some documentation.
- Add parameter control for the default preconditioner.
- Add brief explanation of the current class.
- Include some relevant citations.
2023-08-07 10:29:28 -07:00
Victor DeCaria dbb119a4a9 fixing more compiler warnings. Added make test for miniapp 2023-08-03 07:42:35 -06:00
Chak Shing Lee 17271c5d27 fix doc 2023-08-02 18:57:15 -07:00
Chak Shing Lee da5222a860 some minor adjustment, and renaming of variables to match with other DarcySolver 2023-08-02 18:42:47 -07:00
Victor DeCaria 2b4daad324 more warning fixes 2023-08-02 15:13:16 -06:00
Victor DeCaria 9f83408b2e fixing static assert and unused variable 2023-08-02 15:00:52 -06:00
Victor DeCaria fe59ea04a2 remove variable shadowing 2023-08-02 14:49:51 -06:00
Victor DeCaria 0e8461c26b Made buildable for sequential variant. 2023-08-02 13:23:10 -06:00
Gabriel Esteban Pinochet Soto b765c24d1c Check style with make style 2023-07-31 15:17:47 -07:00
Gabriel Esteban Pinochet Soto 3056cddd22 Add Bramble-Pasciak solver.
- Modify DarcyProblem class.
- Add Bramble-Pasciak class.
- Define Bramble-Pasciak constructors.
- Define Bramble-Pasciak Mult.
- Update header accordingly.
2023-07-31 15:17:47 -07:00
Victor DeCaria 2932862fe9 Adding capability to do partial assembly and full assembly for components of elasticity on GPUs. Added lor_elast miniapp. 2023-07-31 10:39:45 -06:00
Jacob Lotz 2ce61b5e70 Merge branch 'master' into nurbs-cmesh-miniapp2 2023-07-31 17:01:38 +02:00
Sebastian Grimberg 935f060063 Merge branch 'master' into sjg/strumpack-solver-dev 2023-07-30 18:20:01 -07:00
adam-sim-dev 7c7e6fe9d3 Merge branch 'master' into cxxflags 2023-07-26 09:10:00 +08:00
Jamie Bramwell d2358b36fb Merge branch 'master' into elasticity-amg-fix 2023-07-10 19:50:58 -04:00
Sebastian Grimberg 449df5ceea Merge branch 'master' into sjg/bilinearform-integs-marker 2023-07-07 08:50:28 -07:00
adam-sim-dev 996bfd97bd Merge branch 'master' into cxxflags 2023-07-07 09:47:29 +08:00
Jamie A. Bramwell d0bcf2f903 Turn off the iterative weight refinement for elasticity problems using BoomerAMG. This was causing a seg fault in hypre v2.26.0 in a user problem 2023-07-06 16:08:44 -07:00
Jamie A. Bramwell fbf26241d1 Use the correct ordering in the SetElasticityOptions routine and turn off iterative weight refinement as it was causing a seg-fault in a user application as of Hypre v2.26.0 2023-07-06 15:27:25 -07:00
Sebastian Grimberg f5d0658223 Address PR comments 2023-07-06 08:15:48 -07:00
Sebastian Grimberg c145a0c687 And another attempt to resolve LNK2019 error 2023-07-03 08:48:10 -07:00
Sebastian Grimberg 947cb04ea4 Another attempt to resolve LNK2019 error 2023-07-03 08:24:54 -07:00
Sebastian Grimberg 075c9caea4 Attempt to resolve LNK2019 linker error on Windows 2023-07-03 07:37:15 -07:00
adam-sim-dev 05c4de2e23 Merge branch 'master' into cxxflags 2023-06-30 11:00:48 +08:00
Sebastian Grimberg 77810e3741 Alternative approach to 15934beb to inititalize MPI with MPI_Init_thread and a level of threading which by default is configured based on MFEM's build configuration, but can be overridden at runtime by modifying Mpi::default_thread_required 2023-06-29 15:31:47 -07:00
Veselin Dobrev 15934bebb9 In the singleton class Mpi: added method Mpi::Init_thread that
performs MPI initialization using MPI_Init_thread; added method
Mpi::Init_auto that selects what MPI init mode to use based on
the configured external packages used by MFEM -- currently it
calls Mpi::Init_thread(MPI_THREAD_MULTIPLE) when using STRUMPACK
built with SLATE or PT-Scotch, otherwise it calls Mpi::Init.

In the examples that can use STRUMPACK, use Mpi::Init_auto instead
of Mpi::Init.

Fix a small unrelated issue noticed during testing: in
miniapps/multidomain/multidomain.cpp, do not open GLVis socket
connections when visualization is disabled.
2023-06-27 17:47:22 -07:00
adam-sim-dev 75b5eacbd8 Merge branch 'master' into cxxflags 2023-06-27 13:29:59 +08:00
Sebastian Grimberg a2daad497d Merge branch 'master' into sjg/strumpack-solver-dev 2023-06-26 16:57:20 -07:00
Sebastian Grimberg a357c4fe42 Add warning message to mfem::Mpi::Init when MPI_Init_thread may be required instead of MPI_Init 2023-06-26 10:17:38 -07:00
adam-sim-dev 47ce35a487 Merge branch 'master' into cxxflags 2023-06-25 08:30:26 +08:00
Sebastian Grimberg 1726be86b9 Fix unit test hang for older STRUMPACK versions 2023-06-22 11:40:00 -07:00
Sebastian Grimberg a65ee60983 Merge branch 'master' into sjg/strumpack-solver-dev 2023-06-22 11:35:54 -07:00
Sebastian Grimberg ce47a35740 Merge branch 'master' into sjg/strumpack-solver-dev 2023-06-22 10:38:53 -07:00
Sebastian Grimberg e138f366fe Merge branch 'master' into sjg/strumpack-solver-dev 2023-06-21 12:10:10 -07:00
adam-sim-dev 8390b1b44e Merge branch 'master' into cxxflags 2023-06-18 20:11:11 +08:00
Dylan Copeland 39c7d02ddb Merge branch 'master' of github.com:mfem/mfem into nurbs-ref-formula 2023-06-16 15:40:10 -07:00
Dylan Copeland 1e35df5351 Copying spacing data when degree is elevated. 2023-06-15 15:56:13 -07:00
adam-sim-dev bbfb88b7ee Merge branch 'master' into cxxflags 2023-06-14 21:29:12 +08:00
Tzanio Kolev c788c4787c Merge branch 'master' into use-getaddrinfo 2023-06-11 15:19:15 -07:00
topazus 1e642147ae Replace deprecated gethostbyname by getaddrinfo 2023-06-06 17:35:36 +08:00
termi-official 06766e8d05 Apply style. 2023-05-23 23:50:21 +02:00
termi-official a209ed2e17 Widen main area in design. 2023-05-23 23:35:15 +02:00
termi-official c7b7b1082f Polish doc strings. 2023-05-23 23:34:41 +02:00
termi-official cc8b1ec9f1 Add correct file. 2023-05-23 23:15:49 +02:00
termi-official 5d586c5081 Modernize styling via doxygen-awesome. 2023-05-23 19:42:44 +02:00
termi-official 45f8586ac9 Make docs logo background transparent. 2023-05-23 19:41:30 +02:00
adam-sim-dev a4457ce492 Merge branch 'master' into cxxflags 2023-05-23 21:23:36 +08:00
Sebastian Grimberg ef6074c420 ex31p with the -ams option in 2D revealed a bug for DiscreteLinearOperator::Assemble 2023-05-17 16:04:31 -07:00
Sebastian Grimberg ec729707e9 Merge branch 'master' into sjg/bilinearform-integs-marker 2023-05-14 17:15:56 -07:00
Dylan Copeland 48496dbfa4 Adding option to scale spacing parameters on refinement. 2023-05-11 15:36:44 -07:00
adam-sim-dev c10f832d2c Merge branch 'master' into cxxflags 2023-05-07 22:32:05 +08:00
adam-sim-dev 89bf320ee0 Add $(MFEM_CXXFLAGS) 2023-05-07 21:59:36 +08:00
Sebastian Grimberg 49ebade007 Minor added simplification missed in 052b5e0c 2023-05-05 11:30:25 -07:00
Sebastian Grimberg 76650a0d1e Merge branch 'master' into sjg/bilinearform-integs-marker 2023-05-05 10:10:48 -07:00
Dylan Copeland 759f82ed44 Adding destructor. 2023-05-04 18:50:09 -07:00
Dylan Copeland d65eb0bd7d Implemented NURBS refinement by formulas, along with some relative spacing formulas. Added a new version of data/pipe-nurbs.mesh with logarithmic spacing. 2023-05-04 18:19:37 -07:00
Sebastian Grimberg bdf529b9fe Fix unit test to work with old STRUMPACK versions prior to v7.1.2 2023-05-03 10:33:23 -07:00
Sebastian Grimberg a53acb7ce8 Merge branch 'master' into sjg/strumpack-solver-dev 2023-05-02 17:47:01 -07:00
Sebastian Grimberg 35bd5c84e9 Merge branch 'master' into sjg/bilinearform-integs-marker 2023-05-02 17:46:05 -07:00
Sebastian Grimberg ad21adbf57 Merge branch 'master' into sjg/bilinearform-integs-marker 2023-04-18 11:10:33 -07:00
Sebastian Grimberg ff5238ed5b Merge branch 'master' into sjg/strumpack-solver-dev 2023-04-18 11:09:49 -07:00
Will Pazner d2775b3d53 Merge remote-tracking branch 'origin/master' into face-qfunction-coefficient 2023-04-12 20:08:40 -07:00
Sebastian Grimberg 6ae0a5bb89 Fix STRUMPACK version check bug 2023-04-11 21:56:44 -07:00
Sebastian Grimberg 8dedcb1ee3 Fix test and style updates 2023-04-11 10:25:00 -07:00
Sebastian Grimberg 417837e238 Remove code for unsupported STRUMPACK < v3.0
Fix ReturnCode bug for v6.3.1 as well.
2023-04-11 10:23:49 -07:00
Sebastian Grimberg b7a0ae8f6a Merge branch 'master' into sjg/strumpack-solver-dev 2023-04-11 10:01:40 -07:00
Sebastian Grimberg b9bf7a57c1 Merge branch 'master' into sjg/bilinearform-integs-marker 2023-04-03 10:07:41 -07:00
Ketan Mittal aada43250d initial commit 2023-03-31 11:15:13 -07:00
hughcars 3a1b7ebc51 Merge branch 'master' into sjg/strumpack-solver-dev 2023-03-30 12:44:22 -04:00
Sebastian Grimberg 8edc9eaab0 make style 2023-03-15 16:43:55 -07:00
Sebastian Grimberg 052b5e0cf2 Address PR comments 2023-03-15 16:43:02 -07:00
Sebastian Grimberg 6738a32c03 Add domain integrator markers for MixedBilinearForm, DiscreteLinearOperator, and NonlinearFormclasses 2023-03-01 10:48:18 -08:00
Sebastian Grimberg c2138c03e3 Merge branch 'master' into sjg/strumpack-solver-dev 2023-02-28 16:23:53 -08:00
JacobLotz 71ab478d05 Merge branch 'nurbs-cmesh-miniapp2' of github.com:mfem/mfem into nurbs-cmesh-miniapp2 2023-02-01 10:44:10 +01:00
JacobLotz 9ccf38570a Fix typos in doc and improve style 2023-02-01 10:43:46 +01:00
Jacob Lotz 58bca5e33a Merge branch 'master' into nurbs-cmesh-miniapp2 2023-01-31 18:33:04 +01:00
JacobLotz d32c8eacaf Trying to fix testing 16 2023-01-31 16:52:48 +01:00
JacobLotz 3b1bbb1913 Trying to fix testing 16 2023-01-31 15:52:40 +01:00
JacobLotz 279395ee43 Trying to fix testing 15: apparantly on windows I cannot use M_PI? 2023-01-31 15:51:28 +01:00
JacobLotz 2dfada007d Trying to fix testing 14 2023-01-31 15:46:18 +01:00
JacobLotz 19f2eba010 Trying to fix testing 13 2023-01-31 15:36:12 +01:00
JacobLotz b49a06424d Trying to fix testing 12 2023-01-31 14:57:01 +01:00
JacobLotz fda714333c Trying to fix testing 11 2023-01-31 14:46:46 +01:00
JacobLotz f9852a2333 Trying to fix testing 10 2023-01-31 13:50:46 +01:00
JacobLotz 1573c8afc6 Trying to fix testing 9 2023-01-31 10:25:28 +01:00
Sebastian Grimberg 0b8b7d748c Merge branch 'master' into sjg/strumpack-solver-dev 2023-01-27 15:25:45 -08:00
Sebastian Grimberg 53bc105b9b Add option to enable or disable STRUMPACK GPU support 2023-01-27 15:25:41 -08:00
JacobLotz 744d3e7d2c Trying to fix testing 8 2023-01-23 17:03:33 +01:00
JacobLotz 312e58d6fe Trying to fix testing 8 2023-01-23 16:25:10 +01:00
JacobLotz 876360aac9 Trying to fix testing 7 2023-01-23 13:46:01 +01:00
JacobLotz 1dda81269e Trying to fix testing 6 2023-01-23 12:53:16 +01:00
JacobLotz e246398e89 Trying to fix testing 5 2023-01-23 11:58:40 +01:00
JacobLotz 228325f2fd Trying to fix testing 4 2023-01-23 11:24:07 +01:00
JacobLotz 1647ca9118 Trying to fix testing 3 2023-01-23 11:05:55 +01:00
JacobLotz 8fce03b0c4 Trying to fix testing 2 2023-01-23 10:44:30 +01:00
JacobLotz ab97591270 Trying to fix testing 1 2023-01-23 09:59:47 +01:00
JacobLotz aac9ac14e4 Add C-mesh around foil section miniapp 2023-01-16 14:19:59 +01:00
JacobLotz 483dfa7b5c Merge branch 'nurbs-auto-knot2edge-dev' into nurbs-cmesh-miniapp2 2023-01-16 13:00:37 +01:00
JacobLotz c4f6a00467 Merge branch 'nurbs-interp-dev' into nurbs-cmesh-miniapp2 2023-01-16 11:37:10 +01:00
JacobLotz 809af14ddf Merge branch 'fix-kv-difference-dev' into nurbs-cmesh-miniapp2 2023-01-16 10:54:41 +01:00
JacobLotz c04b596a7f Merge branch 'nurbs-2drot' into nurbs-cmesh-miniapp2 2023-01-13 09:38:22 +01:00
Sebastian Grimberg c7f42bd83c Fix deprecated Vector cast 2023-01-12 10:26:11 -08:00
Sebastian Grimberg e7fc38420d Build process fixes for STRUMPACK 2023-01-11 08:48:43 -08:00
Sebastian Grimberg 5295015a31 Add tests and update examples 2023-01-10 10:55:57 -08:00
Sebastian Grimberg 48750e304b Update STRUMPACK solver: 64-bit index support and multiple RHS
For STRUMPACK > 6.3.1, also support mixed precision solver.
2023-01-10 10:54:18 -08:00
1046 changed files with 29758 additions and 7767 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ jobs:
remove-docker-images: 'true'
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
# It's easier to reference named variables than indexes of the matrix
- name: Set Environment
+6 -6
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
@@ -104,7 +104,7 @@ jobs:
# This external action allows to interrupt a workflow already running on
# the same branch to save resources.
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.11.0
uses: styfle/cancel-workflow-action@0.12.1
with:
access_token: ${{ github.token }}
@@ -120,7 +120,7 @@ jobs:
# /home/runner/work/mfem/mfem/mfem
# Note: Done now to access "install-hypre" and "install-metis" actions.
- name: checkout mfem
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: ${{ env.MFEM_TOP_DIR }}
# Fetch the complete history for codecov to access commits ID
@@ -166,7 +166,7 @@ jobs:
- name: cache hypre
id: hypre-cache
if: matrix.mpi == 'par'
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.HYPRE_TOP_DIR }}
key: ${{ runner.os }}-build-${{ env.HYPRE_TOP_DIR }}-${{ matrix.hypre-target }}-v2.2
@@ -194,7 +194,7 @@ jobs:
- name: cache metis
id: metis-cache
if: matrix.mpi == 'par' && matrix.os != 'windows-latest'
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.METIS_TOP_DIR }}
key: ${{ runner.os }}-build-${{ env.METIS_TOP_DIR }}-v2.2
@@ -209,7 +209,7 @@ jobs:
- name: cache vcpkg (Windows)
id: vcpkg-cache
if: matrix.os == 'windows-latest'
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: vcpkg_cache
key: ${{ runner.os }}-${{ matrix.mpi }}-vcpkg-v1
+1 -1
View File
@@ -36,7 +36,7 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
+5 -5
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
@@ -35,12 +35,12 @@ jobs:
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.11.0
uses: styfle/cancel-workflow-action@0.12.1
with:
access_token: ${{ github.token }}
- name: checkout MFEM
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: mfem
@@ -50,7 +50,7 @@ jobs:
- name: Cache Hypre Install
id: hypre-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.HYPRE_TOP_DIR }}
key: ${{ runner.os }}-build-${{ env.HYPRE_TOP_DIR }}-v2.2
@@ -65,7 +65,7 @@ jobs:
- name: Cache Metis Install
id: metis-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.METIS_TOP_DIR }}
key: ${{ runner.os }}-build-${{ env.METIS_TOP_DIR }}-v2.2
+3 -3
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
@@ -28,12 +28,12 @@ jobs:
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.11.0
uses: styfle/cancel-workflow-action@0.12.1
with:
access_token: ${{ github.token }}
- name: MFEM Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: mfem
+17 -7
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
@@ -34,12 +34,12 @@ jobs:
github.event.pull_request.head.repo.full_name != github.repository)
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.11.0
uses: styfle/cancel-workflow-action@0.12.1
with:
access_token: ${{ github.token }}
- name: checkout mfem
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: copyright check
id: copyright
@@ -60,11 +60,18 @@ jobs:
./config/githooks/pre-push --release
continue-on-error: true
- name: math check
id: math
run: |
./config/githooks/pre-push --math
continue-on-error: true
- name: wrap-up
if: |
steps.copyright.outcome != 'success' ||
steps.license.outcome != 'success' ||
steps.release.outcome != 'success'
steps.release.outcome != 'success' ||
steps.math.outcome != 'success'
run: |
if [[ "${{ steps.copyright.outcome }}" != "success" ]]; then
echo "copyright check failed, unroll log for details"
@@ -75,6 +82,9 @@ jobs:
if [[ "${{ steps.release.outcome }}" != "success" ]]; then
echo "release check failed, unroll log for details"
fi
if [[ "${{ steps.math.outcome }}" != "success" ]]; then
echo "math check failed, unroll log for details"
fi
exit 1
code-style:
@@ -84,7 +94,7 @@ jobs:
github.event.pull_request.head.repo.full_name != github.repository)
steps:
- name: checkout mfem
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: get astyle
run: |
@@ -101,7 +111,7 @@ jobs:
github.event.pull_request.head.repo.full_name != github.repository)
steps:
- name: checkout mfem
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: get doxygen and graphviz
run: |
@@ -126,7 +136,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout mfem
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
+13 -1
View File
@@ -128,6 +128,13 @@ examples/amgx/sol.gf
examples/amgx/mesh.*
examples/amgx/sol.*
examples/caliper/ex1
examples/caliper/ex1p
examples/caliper/refined.mesh
examples/caliper/sol.gf
examples/caliper/mesh.*
examples/caliper/sol.*
examples/ginkgo/ex1
examples/ginkgo/refined.mesh
examples/ginkgo/sol.gf
@@ -276,6 +283,10 @@ miniapps/nurbs/mode_*
miniapps/nurbs/Example1*
miniapps/nurbs/sin-fit.mesh
miniapps/nurbs/CurveInt
miniapps/nurbs/nurbs_naca_cmesh
miniapps/nurbs/naca-cmesh.mesh
miniapps/nurbs/glvis_naca-cmesh.mesh
miniapps/nurbs/Naca_cmesh
miniapps/performance/ex1
miniapps/performance/ex1p
@@ -300,7 +311,7 @@ miniapps/tools/convert-dc
miniapps/tools/lor-transfer
miniapps/tools/plor-transfer
miniapps/tools/get-values
miniapps/tools/check-tmop-metric
miniapps/tools/tmop-check-metric
miniapps/tools/tmop-metric-magnitude
miniapps/tools/nodal-transfer
miniapps/tools/ParaView
@@ -331,6 +342,7 @@ miniapps/toys/mondrian.mesh
miniapps/solvers/block-solvers
miniapps/solvers/lor_solvers
miniapps/solvers/plor_solvers
miniapps/solvers/lor_elast
miniapps/solvers/ParaView
miniapps/solvers/mesh.*
miniapps/solvers/sol.*
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+2 -2
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
@@ -23,7 +23,7 @@ allocate_resource:
stage: allocate_resource
script:
- echo ${ALLOC_NAME}
- salloc --exclusive --nodes=1 --partition=pdebug --time=45 --no-shell --job-name=${ALLOC_NAME}
- salloc --exclusive --nodes=1 --reservation=ci --time=60 --no-shell --job-name=${ALLOC_NAME}
timeout: 6h
# GitLab jobs for the Quartz machine at LLNL
+1 -1
View File
@@ -1,6 +1,6 @@
#!/bin/bash
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,6 +1,6 @@
#!/bin/bash
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,6 +1,6 @@
#!/bin/bash
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
@@ -1,6 +1,6 @@
#!/bin/bash
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
@@ -1,6 +1,6 @@
#!/bin/bash
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,6 +1,6 @@
#!/bin/bash
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+38
View File
@@ -11,15 +11,51 @@
Version 4.6.1 (development)
===========================
Meshing improvements
--------------------
- Introduced formulas for refinement of patches in NURBS meshes. Refinement by
arbitrary integer factors is also enabled, e.g. in the mesh-explorer miniapp.
NURBS coarsening and knot removal are also introduced.
Discretization improvements
---------------------------
- Introduced support for higher order non conformal Nedelec elements on
simplices in ParMesh.
- Introduced support for internal boundary elements in nonconformal adapted
meshes.
- Added functionality for construction of cut-surface and cut-volume
IntegrationRules through a moment-fitting approach. The cut is specified by
the zero level set of a Coefficient. See fem/intrules_cut.hpp and Example 38.
GPU support
----------------------------
- Added support for full assembly on simplices.
- Added functionality for BilinearFormIntegrators to use kernels that work for both
tensor and unstructured elements.
- Added partial assembly for linear elasticity. Does not use sum factorization for now.
New and updated examples and miniapps
-------------------------------------
- Added a new block solver in miniapp/solvers for the Darcy problem.
The new solver is based on a Bramble-Pasciak preconditioning. User can
use and implement their own preconditioner for the mass matrix.
- Added miniapp to demonstrate new elasticity integrator and unstructured element GPU support,
and a block diagonal preconditioner using low order refinement. Allows comparison with
currently existing legacy mode integrator. See miniapps/solvers/lor_elast.
Miscellaneous
-------------
- The ReadCubit Genesis mesh importer has been rewritten to improve readability.
- Updated the Doxygen documentation style, which now requires Doxygen version
1.9.8 or later. See the doc/ directory.
- Improved thread safety for global variables in the library, for example
IntegrationRules IntRules, RefinedIntRules, GeometryRefiner
GlobGeometryRefiner, and FiniteElement::dof2quad_array.
Version 4.6, released on September 27, 2023
===========================================
@@ -87,6 +123,8 @@ Linear and nonlinear solvers
- Added HIP support to the PETSc and SUNDIALS interfaces.
- Efficient GPU-accelerated LOR assembly now supports surface meshes.
New and updated examples and miniapps
-------------------------------------
- Added a new H(div) solver miniapp demonstrating the use of a matrix-free
+36 -15
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
@@ -18,9 +18,10 @@ set(USER_CONFIG "${CMAKE_CURRENT_SOURCE_DIR}/config/user.cmake" CACHE PATH
"Path to optional user configuration file.")
# Require C++11 and disable compiler-specific extensions
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_CXX_STANDARD 11 CACHE STRING "C++ standard to use.")
set(CMAKE_CXX_STANDARD_REQUIRED ON CACHE BOOL
"Force the use of the chosen C++ standard.")
set(CMAKE_CXX_EXTENSIONS OFF CACHE BOOL "Enable C++ standard extensions.")
# Load user settings before the defaults - this way the defaults will not
# overwrite the user set options. If the user has not set all options, we still
@@ -93,7 +94,7 @@ if ((MFEM_USE_SUNDIALS OR
MFEM_USE_RAJA OR
MFEM_USE_UMPIRE) AND
("${CMAKE_CXX_STANDARD}" LESS "14"))
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD 14 CACHE STRING "C++ standard to use." FORCE)
endif()
# Include xSDK default CMake file.
@@ -104,7 +105,8 @@ enable_language(CXX)
if (MINGW)
# MinGW GCC does not expose the functions jn/_jn, yn/_yn (used in Example
# 25/25p) unless we use '-std=gnu++11':
set(CMAKE_CXX_EXTENSIONS ON)
set(CMAKE_CXX_EXTENSIONS ON
CACHE BOOL "Enable C++ standard extensions." FORCE)
endif()
if (MFEM_USE_CUDA)
if (MFEM_USE_HIP)
@@ -115,9 +117,11 @@ if (MFEM_USE_CUDA)
set(CMAKE_CUDA_HOST_COMPILER ${CMAKE_CXX_COMPILER})
endif()
enable_language(CUDA)
set(CMAKE_CUDA_STANDARD ${CMAKE_CXX_STANDARD})
set(CMAKE_CUDA_STANDARD_REQUIRED ON)
set(CMAKE_CUDA_EXTENSIONS OFF)
set(CMAKE_CUDA_STANDARD ${CMAKE_CXX_STANDARD} CACHE STRING
"CUDA standard to use.")
set(CMAKE_CUDA_STANDARD_REQUIRED ON CACHE BOOL
"Force the use of the chosen CUDA standard.")
set(CMAKE_CUDA_EXTENSIONS OFF CACHE BOOL "Enable CUDA standard extensions.")
set(CUDA_FLAGS "--expt-extended-lambda")
if (CMAKE_VERSION VERSION_LESS 3.18.0)
set(CUDA_FLAGS "-arch=${CUDA_ARCH} ${CUDA_FLAGS}")
@@ -139,10 +143,9 @@ if (MFEM_USE_CUDA)
set(CMAKE_CUDA_HOST_LINK_LAUNCHER ${CMAKE_CXX_COMPILER})
endif()
set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} ${CUDA_FLAGS}")
find_package(CUDAToolkit REQUIRED)
set(CUSPARSE_FOUND TRUE)
set(CUSPARSE_LIBRARIES "cusparse")
set(CUBLAS_FOUND TRUE)
set(CUBLAS_LIBRARIES "cublas")
get_target_property(CUSPARSE_LIBRARIES CUDA::cusparse LOCATION)
endif()
if (XSDK_ENABLE_C)
@@ -531,7 +534,7 @@ find_package(Threads REQUIRED)
set(MFEM_TPLS OPENMP HYPRE LAPACK BLAS SuperLUDist STRUMPACK METIS SuiteSparse
SUNDIALS PETSC SLEPC MUMPS AXOM FMS CONDUIT Ginkgo GNUTLS GSLIB
NETCDF MPFR PUMI HIOP POSIXCLOCKS MFEMBacktrace ZLIB OCCA CEED RAJA UMPIRE
ADIOS2 CUBLAS CUSPARSE MKL_CPARDISO MKL_PARDISO AMGX CALIPER CODIPACK
ADIOS2 CUSPARSE MKL_CPARDISO MKL_PARDISO AMGX CALIPER CODIPACK
BENCHMARK PARELAG MPI_CXX HIP HIPSPARSE MOONOLITH BLITZ ALGOIM ENZYME)
# Add all *_FOUND libraries in the variable TPL_LIBRARIES.
@@ -641,16 +644,34 @@ if (NOT ("${PROJECT_SOURCE_DIR}" STREQUAL "${PROJECT_BINARY_DIR}"))
foreach(Header mfem.hpp mfem-performance.hpp)
message(STATUS
"Writing substitute header --> \"${Header}\"")
file(WRITE "${PROJECT_BINARY_DIR}/${Header}"
file(WRITE "${PROJECT_BINARY_DIR}/${Header}.tmp"
"// Auto-generated file.
#define MFEM_CONFIG_FILE \"${PROJECT_BINARY_DIR}/config/_config.hpp\"
#include \"${PROJECT_SOURCE_DIR}/${Header}\"
")
execute_process(COMMAND ${CMAKE_COMMAND} -E copy_if_different
"${PROJECT_BINARY_DIR}/${Header}.tmp"
"${PROJECT_BINARY_DIR}/${Header}"
)
execute_process(COMMAND ${CMAKE_COMMAND} -E remove
"${PROJECT_BINARY_DIR}/${Header}.tmp"
)
# This version will be installed in the top include directory:
file(WRITE "${PROJECT_BINARY_DIR}/InstallHeaders/${Header}"
file(WRITE "${PROJECT_BINARY_DIR}/InstallHeaders/${Header}.tmp"
"// Auto-generated file.
#include \"mfem/${Header}\"
")
execute_process(COMMAND ${CMAKE_COMMAND} -E copy_if_different
"${PROJECT_BINARY_DIR}/InstallHeaders/${Header}.tmp"
"${PROJECT_BINARY_DIR}/InstallHeaders/${Header}"
)
execute_process(COMMAND ${CMAKE_COMMAND} -E remove
"${PROJECT_BINARY_DIR}/InstallHeaders/${Header}.tmp"
)
endforeach()
endif()
+3
View File
@@ -346,6 +346,9 @@ Before you can start, you need a GitHub account, here are a few suggestions:
- Code specifics
- All new public, protected, and private classes, methods, data members, and
functions have Doxygen-style documentation in source comments.
- Math formulas can be included in the Doxygen comments either with standard
LaTeX (`$..$` and `$$..$$`) for portions that need detailed explanation, or with
[Unicode](https://www.unicodeit.net/) or plain text when short or readable description is preferable.
- In addition to arguments and functionality, documentation should include the
current limitations of the code, any background information that is
implicitly assumed in the implementation, and the ownership and lifetime
+2 -3
View File
@@ -659,8 +659,7 @@ The specific libraries and their options are:
requires the PT-Scotch and Scalapack libraries as well as ParMETIS, which
includes METIS 5 in its distribution. Starting with STRUMPACK v2.2.0, ParMETIS
and PT-Scotch are optional dependencies.
The support for STRUMPACK was added in MFEM v3.3.2 and it requires STRUMPACK
2.0.0 or later.
The support for STRUMPACK was added in MFEM v3.3.2.
URL: http://portal.nersc.gov/project/sparse/strumpack
Options: STRUMPACK_OPT, STRUMPACK_LIB.
Versions: STRUMPACK >= 3.0.0.
@@ -797,7 +796,7 @@ The specific libraries and their options are:
URL: https://github.com/CEED/libCEED
https://ceed.exascaleproject.org/libceed
Options: CEED_DIR, CEED_OPT, CEED_LIB.
Versions: libCEED >= 0.10.
Versions: libCEED >= 0.12.
- RAJA (optional), used when MFEM_USE_RAJA = YES.
Beginning with MFEM v4.5.1, only RAJA v2022.10.3+ is supported.
+1 -1
View File
@@ -1,6 +1,6 @@
BSD 3-Clause License
Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC
Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC
All rights reserved.
Redistribution and use in source and binary forms, with or without
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
// Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
// at the Lawrence Livermore National Laboratory. All Rights reserved. See files
// LICENSE and NOTICE for details. LLNL-CODE-806117.
//
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+29 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
@@ -14,9 +14,13 @@
# - HYPRE_LIBRARIES
# - HYPRE_INCLUDE_DIRS
# - HYPRE_VERSION
# - HYPRE_USING_CUDA (internal)
# - HYPRE_USING_HIP (internal)
if (HYPRE_FOUND)
if (HYPRE_USING_CUDA)
find_package(CUDAToolkit REQUIRED)
endif()
if (HYPRE_USING_HIP)
find_package(rocsparse REQUIRED)
find_package(rocrand REQUIRED)
@@ -27,6 +31,20 @@ endif()
include(MfemCmakeUtilities)
mfem_find_package(HYPRE HYPRE HYPRE_DIR "include" "HYPRE.h" "lib" "HYPRE"
"Paths to headers required by HYPRE." "Libraries required by HYPRE."
CHECK_BUILD HYPRE_USING_CUDA FALSE
"
#undef HYPRE_USING_CUDA
#include <HYPRE_config.h>
#ifndef HYPRE_USING_CUDA
#error HYPRE is built without CUDA.
#endif
int main()
{
return 0;
}
"
CHECK_BUILD HYPRE_USING_HIP FALSE
"
#undef HYPRE_USING_HIP
@@ -57,6 +75,16 @@ if (HYPRE_FOUND AND (NOT HYPRE_VERSION))
endif()
endif()
if (HYPRE_FOUND AND HYPRE_USING_CUDA)
find_package(CUDAToolkit REQUIRED)
get_target_property(CUSPARSE_LIBRARIES CUDA::cusparse LOCATION)
get_target_property(CURAND_LIBRARIES CUDA::curand LOCATION)
list(APPEND HYPRE_LIBRARIES ${CUSPARSE_LIBRARIES} ${CURAND_LIBRARIES})
set(HYPRE_LIBRARIES ${HYPRE_LIBRARIES} CACHE STRING
"HYPRE libraries + dependencies." FORCE)
message(STATUS "Updated HYPRE_LIBRARIES: ${HYPRE_LIBRARIES}")
endif()
if (HYPRE_FOUND AND HYPRE_USING_HIP)
find_package(rocsparse REQUIRED)
find_package(rocrand REQUIRED)
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
// Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
// at the Lawrence Livermore National Laboratory. All Rights reserved. See files
// LICENSE and NOTICE for details. LLNL-CODE-806117.
//
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
// Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
// at the Lawrence Livermore National Laboratory. All Rights reserved. See files
// LICENSE and NOTICE for details. LLNL-CODE-806117.
//
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+4 -8
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
@@ -106,12 +106,7 @@ set(HYPRE_DIR "${MFEM_DIR}/../hypre/src/hypre" CACHE PATH
# If hypre was compiled to depend on BLAS and LAPACK:
# set(HYPRE_REQUIRED_PACKAGES "BLAS" "LAPACK" CACHE STRING
# "Packages that HYPRE depends on.")
if (MFEM_USE_CUDA)
# This is only necessary when hypre is built with cuda:
set(HYPRE_REQUIRED_LIBRARIES "-lcusparse" "-lcurand" CACHE STRING
"Libraries that HYPRE depends on.")
endif()
# HIP dependency for HYPRE is handled in FindHYPRE.cmake.
# CUDA and HIP dependencies for HYPRE are handled in FindHYPRE.cmake.
set(METIS_DIR "${MFEM_DIR}/../metis-4.0" CACHE PATH "Path to the METIS library.")
@@ -157,7 +152,8 @@ set(STRUMPACK_DIR "${MFEM_DIR}/../STRUMPACK-build" CACHE PATH
# STRUMPACK may also depend on "OpenMP", depending on how it was compiled.
# Starting with v2.2.0 of STRUMPACK, ParMETIS and Scotch are optional.
set(STRUMPACK_REQUIRED_PACKAGES "MPI" "MPI_Fortran" "ParMETIS" "METIS"
"ScaLAPACK" "Scotch/ptscotch/ptscotcherr/scotch/scotcherr" CACHE STRING
"Scotch/ptscotch/ptscotcherr/scotch/scotcherr"
"ScaLAPACK" "LAPACK" "BLAS" CACHE STRING
"Additional packages required by STRUMPACK.")
# If the MPI package does not find all required Fortran libraries:
# set(STRUMPACK_REQUIRED_LIBRARIES "gfortran" "mpi_mpifh" CACHE STRING
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
// Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
// at the Lawrence Livermore National Laboratory. All Rights reserved. See files
// LICENSE and NOTICE for details. LLNL-CODE-806117.
//
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
// Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
// at the Lawrence Livermore National Laboratory. All Rights reserved. See files
// LICENSE and NOTICE for details. LLNL-CODE-806117.
//
+20 -3
View File
@@ -1,6 +1,6 @@
#!/bin/bash
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
@@ -21,6 +21,7 @@ if [[ "${option}" == "--help" ]]; then
echo " --copyright"
echo " --license"
echo " --release"
echo " --math"
echo " --style"
echo " --history"
echo ""
@@ -35,8 +36,8 @@ cd $(git rev-parse --show-toplevel)
# copyright check
copyright=true
if [[ "${option}" == "--copyright" || "${option}" == "" ]]; then
if git grep -n "^\(#\|//\).*Copyright.*2010-20\(2[^3]\|[^2].\)" > matches.txt; then
echo "Please update the following files to Copyright (c) 2010-2023:"
if git grep -n "^\(#\|//\).*Copyright.*2010-20\(2[^4]\|[^2].\)" > matches.txt; then
echo "Please update the following files to Copyright (c) 2010-2024:"
cat matches.txt
copyright=false
fi
@@ -63,6 +64,18 @@ if [[ "${option}" == "--release" || "${option}" == "" ]]; then
fi
fi
# math in doxygen check
math=true
if [[ "${option}" == "--math" || "${option}" == "" ]]; then
if grep '\\f' -R doc/CodeDocumentation.dox mfem.hpp config general linalg mesh fem examples miniapps | grep -v '\\frac' | grep -v fem/picojson.h | grep -v config/githooks/pre-push > matches.txt
then
echo "Please use $..$ and \$\$..\$\$ for LaTeX formulas in the following"
echo "comments instead of the Doxygen style \f$..\f$, \f[..\f], etc."
cat matches.txt
math=false
fi
fi
# wrap-up
code=0
if ! $copyright ; then
@@ -77,6 +90,10 @@ if ! $release ; then
echo "release check failed, unroll log for details"
code=1
fi
if ! $math ; then
echo "math in doxygen check failed, unroll log for details"
code=1
fi
# `code-style` is not just a check, it will actually reformat the code if
# necessary. This means that if one pushes while the repo is in dirty state
+4 -3
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
@@ -38,14 +38,14 @@ all: header config-mk
MPI = $(MFEM_USE_MPI:NO=)
GHV_CXX ?= $(MFEM_CXX)
GHV = get_hypre_version
GHV_FLAGS = $(subst @MFEM_DIR@,$(if $(MFEM_DIR),$(MFEM_DIR),..),$(HYPRE_OPT))
GHV_FLAGS = $(MFEM_CXXFLAGS) $(subst @MFEM_DIR@,$(if $(MFEM_DIR),$(MFEM_DIR),..),$(HYPRE_OPT))
SMX = $(if $(MFEM_USE_PUMI:NO=),MFEM_USE_SIMMETRIX)
SMX_PATH = $(PUMI_DIR)/include/gmi_sim.h
SMX_FILE = $(subst @MFEM_DIR@,$(if $(MFEM_DIR),$(MFEM_DIR),..),$(SMX_PATH))
MUMPS = $(MFEM_USE_MUMPS:NO=)
GMV_CXX ?= $(MFEM_CXX)
GMV = get_mumps_version
GMV_FLAGS = $(subst @MFEM_DIR@,$(if $(MFEM_DIR),$(MFEM_DIR),..),$(MUMPS_OPT))
GMV_FLAGS = $(MFEM_CXXFLAGS) $(subst @MFEM_DIR@,$(if $(MFEM_DIR),$(MFEM_DIR),..),$(MUMPS_OPT))
$(GHV): $(SRC)$(GHV).cpp
$(call mfem-info, Determining HYPRE version ...)
@@ -110,3 +110,4 @@ config-mk:
clean:
rm -f $(CONFIG_HPP) $(CONFIG_MK) sample-runs-build.log
rm -f $(GHV) $(GHV).out $(GMV) $(GMV).out
+2 -2
View File
@@ -1,6 +1,6 @@
#!/bin/bash
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
@@ -315,7 +315,7 @@ function extract_sample_runs()
sruns=`grep -v "^//.* mpirun .* ${app}" "${src}" |
grep "^//.* ${app}" |
sed -e "s/.* ${app}/${vg_app}/g"`
runs="${sruns}${pruns}"
runs="${sruns}"$'\n'"${pruns}"
if [ "$skip_gen_meshes" == "yes" ]; then
runs=`printf "%s" "$runs" | grep -v ".* -m .*\.gen"`
fi
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
// Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
// at the Lawrence Livermore National Laboratory. All Rights reserved. See files
// LICENSE and NOTICE for details. LLNL-CODE-806117.
//
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
+1 -1
View File
@@ -1,7 +1,7 @@
MFEM NURBS mesh v1.0
#
# MFEM Geometry Types (see mesh/geom.hpp):
# MFEM Geometry Types (see fem/geom.hpp):
#
# SEGMENT = 1
# SQUARE = 3
+1 -1
View File
@@ -1,7 +1,7 @@
MFEM NURBS mesh v1.0
#
# MFEM Geometry Types (see mesh/geom.hpp):
# MFEM Geometry Types (see fem/geom.hpp):
#
# SEGMENT = 1
# SQUARE = 3
+1 -1
View File
@@ -1,7 +1,7 @@
MFEM mesh v1.0
#
# MFEM Geometry Types (see mesh/geom.hpp):
# MFEM Geometry Types (see fem/geom.hpp):
#
# POINT = 0
# SEGMENT = 1
+95
View File
@@ -0,0 +1,95 @@
MFEM NURBS mesh v1.1
#
# MFEM Geometry Types (see mesh/geom.hpp):
#
# SEGMENT = 1
# SQUARE = 3
# CUBE = 5
#
dimension
2
elements
2
1 3 0 1 4 5
2 3 1 2 3 4
boundary
6
3 1 0 1
3 1 4 5
3 1 1 2
3 1 3 4
1 1 5 0
2 1 2 3
edges
7
0 0 1
0 5 4
1 1 2
1 4 3
2 0 5
2 1 4
2 2 3
vertices
6
knotvectors
3
1 5 0 0 1 2 3 4 4
1 5 0 0 1 2 3 4 4
1 2 0 0 1 1
spacing
3
0 5 3 1 4 0 0 10.0
1 4 3 2 4 0 1 0.15 0.15
2 2 3 1 1 0 1 0.4
weights
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
FiniteElementSpace
FiniteElementCollection: NURBS1
VDim: 2
Ordering: 1
0 0
4 0
8 0
8 1
4 1
0 1
1 0
2 0
3 0
3 1
2 1
1 1
5 0
6 0
7 0
7 1
6 1
5 1
+1 -1
View File
@@ -1,7 +1,7 @@
MFEM NURBS mesh v1.0
#
# MFEM Geometry Types (see mesh/geom.hpp):
# MFEM Geometry Types (see fem/geom.hpp):
#
# SEGMENT = 1
# SQUARE = 3
+1 -1
View File
@@ -1,7 +1,7 @@
MFEM mesh v1.0
#
# MFEM Geometry Types (see mesh/geom.hpp):
# MFEM Geometry Types (see fem/geom.hpp):
#
# POINT = 0
# SEGMENT = 1
+1 -1
View File
@@ -1,7 +1,7 @@
MFEM mesh v1.0
#
# MFEM Geometry Types (see mesh/geom.hpp):
# MFEM Geometry Types (see fem/geom.hpp):
#
# POINT = 0
# SEGMENT = 1
+1 -1
View File
@@ -1,7 +1,7 @@
MFEM mesh v1.0
#
# MFEM Geometry Types (see mesh/geom.hpp):
# MFEM Geometry Types (see fem/geom.hpp):
#
# POINT = 0
# SEGMENT = 1
+1 -1
View File
@@ -1,7 +1,7 @@
MFEM mesh v1.0
#
# MFEM Geometry Types (see mesh/geom.hpp):
# MFEM Geometry Types (see fem/geom.hpp):
#
# POINT = 0
# SEGMENT = 1
+1 -1
View File
@@ -1,7 +1,7 @@
MFEM NURBS mesh v1.0
#
# MFEM Geometry Types (see mesh/geom.hpp):
# MFEM Geometry Types (see fem/geom.hpp):
#
# SEGMENT = 1
# SQUARE = 3
+1 -1
View File
@@ -1,7 +1,7 @@
MFEM mesh v1.0
#
# MFEM Geometry Types (see mesh/geom.hpp):
# MFEM Geometry Types (see fem/geom.hpp):
#
# POINT = 0
# SEGMENT = 1
+1 -1
View File
@@ -1,7 +1,7 @@
MFEM mesh v1.0
#
# MFEM Geometry Types (see mesh/geom.hpp):
# MFEM Geometry Types (see fem/geom.hpp):
#
# POINT = 0
# SEGMENT = 1
+1 -1
View File
@@ -1,7 +1,7 @@
MFEM NURBS mesh v1.0
#
# MFEM Geometry Types (see mesh/geom.hpp):
# MFEM Geometry Types (see fem/geom.hpp):
#
# SEGMENT = 1
# SQUARE = 3
+1 -1
View File
@@ -1,7 +1,7 @@
MFEM mesh v1.0
#
# MFEM Geometry Types (see mesh/geom.hpp):
# MFEM Geometry Types (see fem/geom.hpp):
#
# POINT = 0
# SEGMENT = 1
+1 -1
View File
@@ -1,7 +1,7 @@
MFEM mesh v1.0
#
# MFEM Geometry Types (see mesh/geom.hpp):
# MFEM Geometry Types (see fem/geom.hpp):
#
# POINT = 0
# SEGMENT = 1
+1 -1
View File
@@ -1,7 +1,7 @@
MFEM mesh v1.0
#
# MFEM Geometry Types (see mesh/geom.hpp):
# MFEM Geometry Types (see fem/geom.hpp):
#
# POINT = 0
# SEGMENT = 1

Some files were not shown because too many files have changed in this diff Show More