Commit Graph
32 Commits
Author SHA1 Message Date
Stowell, Mark L. 4de1e1bad3 Altering examples code comments as per Tzanio's suggestion 2025-01-22 09:49:29 -08:00
Stowell, Mark L. 5b002f9452 Using the new MarkExternalBoundary methods in ex1, ex1p, and ex11p 2025-01-21 15:47:31 -08:00
Tzanio Kolev d983b34924 Renamed ftype -> real_t 2023-12-13 12:51:43 -08:00
Dylan Copeland d41b97552c Merge branch 'master' of github.com:mfem/mfem into float 2023-11-16 17:37:34 -08:00
Dylan Copeland b89222762d Generalized floating point type for all remaining examples. 2023-11-06 15:34:42 -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
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 5295015a31 Add tests and update examples 2023-01-10 10:55:57 -08:00
Will Pazner 6ac671baa7 Use Mpi class instead of MPI_Init and MPI_Finalize 2022-03-11 17:58:01 -08:00
Tzanio 8f7cb0b3db Switch to a singleton for the hypre session object: 'HYPRE_Session hypre;' -> 'Hypre::Init();' 2022-03-08 18:06:43 -08:00
Tzanio 447f00d80b Added a HYPRE_Session class to hypre.?pp and examples/miniapps 2022-03-07 14:22:22 -08:00
Julian Andrej a9ea9cba15 Merge branch 'master' into hypre-mixedint 2021-04-09 12:00:35 -07:00
Tzanio 7a917bec44 minor 2020-10-12 11:26:40 -07:00
Julian Andrej c7a32cd6e7 style in ex11p 2020-10-12 10:02:34 -07:00
Julian Andrej c18b00f9a3 add to makefile build system 2020-09-25 18:38:20 -07:00
Julian Andrej 5720512ef2 add pardiso option to ex11p 2020-09-25 08:07:12 -07:00
Veselin Dobrev 785486f12f Update examples, miniapps, tests to use HYPRE_BigInt instead
of HYPRE_Int where appropriate.
2020-07-25 20:47:06 -07:00
Stowell, Mark L 43d20869d2 Modifying new mesh names in sample runs 2020-06-07 12:08:58 -07:00
Stowell, Mark L 6f9e370523 Adding Gmsh geo files, smaller Gmsh meshes, and sample runs in ex11p 2020-06-02 12:06:23 -07:00
Pieter Ghysels cb8a0c9bc7 Replace STRUMPACKSolver::SetMC64Job with
STRUMPACKSolver::DisableMatching, STRUMPACKSolver::EnableMatching
and STRUMPACKSolver::EnableParallelMatching.
This avoids the preprocessor macros in the ex11p.cpp example code.

The last routine is only enabled when compiling with STRUMPACK version >= 3.
2019-01-20 19:42:16 -08:00
Pieter Ghysels 9d59ff86a9 Check strumpack version, use correct call to set matching job 2019-01-17 14:09:37 -08:00
Pieter Ghysels fa88da0acf update strumpack interface for strumpack 3.x.y 2019-01-17 11:42:49 -08:00
Veselin Dobrev d791e2bf26 In ex11p, add a better random seed for the sample run with
inline-wedge.mesh.
2018-09-17 15:35:34 -07:00
Stowell, Mark L 400e6fc422 Adding sample runs with mixed or wedge meshes 2018-09-13 15:35:53 -07:00
Veselin Dobrev b4c143c40d A number of proposed tweaks for merging into prism-dev.
* Removed the fixed low-order finite element classes for wedges.
* Replace more cases of 'int' variables with 'Geometry::Type',
  mainly in class FiniteElement and its derived classes.
* Use constants from BasisType (instead of Quadrature1D) in the
  parameters of the *WedgeElement finite element classes.
* Impose ordering on the construction of some global objects by
  moving them into the same translation unit: specifically, moved
  the objects 'TriangleFE', 'TetrahedronFE', 'WedgeFE', and
  'Geometries' into fem/fe.cpp.
* In switchs on 'Geometry::Type', move the 'Geometry::PRISM' case
  last - just to follow the order in the enumeration.
* Add a new method CoarseFineTransformations::GetPointMatrices
  that simplifies some code that uses CoarseFineTransformations.
* Removed the 'INVALID' and 'MIXED' constants from the enum
  Element::Type.
* Remove the static method Element::GeometryType.
* Tweak some doxygen comments in the classes Embedding and
  CoarseFineTransformations.
* Generate an error if the method Wedge::GetNFaces is called:
  its parameter 'nFaceVertices' does not make sense for wedges.
2018-08-30 16:57:23 -07:00
Stowell, Mark L d7f0640204 Inline wedge format now uses "wedge" rather than "pri". Also trying to increase code coverage by adding wedge example runs. 2018-08-18 10:31:05 -07:00
Tzanio e19a543cde Updated INSTALL, CHANGELOG and ex11p. 2017-06-28 11:27:32 -07:00
pghysels 7c106aaef0 Remove ex18p.cpp, add STRUMPACK as an option to ex11p.cpp. 2017-06-21 14:22:33 -07:00
Veselin Dobrev a61bfd321d Add random seed option in ex11p. 2017-03-26 14:16:52 -07:00
Jakub Cerveny 125ff226e4 Version 3.2 2016-06-30 10:37:30 -07:00
Tzanio dbae60fe32 Version 3.1 2016-02-16 15:45:48 -08:00