Commit Graph
82 Commits
Author SHA1 Message Date
Will Pazner 4ace41773d Remove Mpi::Session, access directly using static member functions 2022-03-11 15:41:07 -08:00
Will Pazner 8d812ec8c3 Rename MPI class to Mpi to avoid conflict with (deprecated) C++ MPI namespace 2022-03-11 13:43:14 -08:00
Tzanio f2cad1e55b MPI_Session -> MPI singleton in examples, miniapps and tests 2022-03-08 19:29:45 -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
Yohann Dudouit f4a2077c8b Same for ex9p. 2022-02-10 16:09:50 -08:00
Yohann Dudouit a34fcc4beb Merge branch 'master' into yohann/pa-dg-ncmesh 2021-08-30 13:12:11 -07:00
Tzanio Kolev dd94dc9d14 Merge pull request #2240 from mfem/fix-gmsh-periodic
Fix gmsh periodic meshes [fix-gmsh-periodic]
2021-05-18 17:07:35 -07:00
Will Pazner 3914176e37 Remove -no-vis and -paraview from ex9 and ex9p sample runs
In sample runs tests -no-vis was specified twice, causing an error.
2021-05-17 18:50:16 -07:00
Aaron Fisher 212ce737bb Removed preceding underscore variables in the examples and miniapps, and caught a couple I missed before. 2021-05-14 14:12:37 -07:00
Will Pazner 1183c12b41 Add sample runs to ex9 using straight-sided periodic gmsh meshes 2021-05-12 10:13:43 -07:00
Yohann Dudouit 6a8a33467f More tweaks on sample runs. 2021-05-05 12:34:18 -07:00
Yohann Dudouit a4d9f61114 Tweak sample runs 2021-05-05 12:32:52 -07:00
Yohann Dudouit d1486d8026 Add device sample runs on NCMesh. 2021-05-05 12:16:42 -07:00
Julian Andrej a9ea9cba15 Merge branch 'master' into hypre-mixedint 2021-04-09 12:00:35 -07:00
Yohann Dudouit 30f0264449 Rename LEGACYFULL to LEGACY. 2021-02-05 15:03:42 -08:00
0d9146d364 [SQUASH-MERGE] AIR solver in Hypre (#1053)
* AIR solver

* AIR: block-diag scaling, set AIR options

* new example

* SetAIROptions

* fix bugs

* more bug fix

* initialize solution vector in ode

* added blocksize

* Added command0line flags for AIR parameters.

* implemented ParCSRMatrix add in hypre and added MFEM interface.
no assumptions on "the same col_map_offd" as in the old "Add".
Should replace Add (no longer needed) with the new one

* Added absolute tolerance to HypreGMRES.

* Updated advection driver, added options to use BoomerAMG w/o gmres.

* Missing &

* AIR options: type of dropping entries for filtering A

* boomeramg print options.

* add a different \theta for R

* minor change

* for hypre 2.14

* test

* give hypre dof's coordinates

* nodal coarsening support

* changes according to the new changes in hypre/AIR [Sabs, BdiagInv]

* Added function to get CSR for on-processor rows of hyper matrix.

* Merged Ruipeng's edits with get processor function.

* Added hypre preconditioner for on-processor diret solves of triangular matrices.

* Added function to set max levels of BoomerAMG

* Added function to set max levels of BoomerAMG

* Merging with master

* Added extra functions to set specific BoomerAMG options such as interpolation, coarsening, etc.

* Added cycle option to boomeramg.

* Added funtionality to hypre boomeramg class

* Updated to support d1.5 AIR

* Added nAIR vs. lAIR options:

* Updated advection example

* Accidentally added build folder

* Small fixes to hypre files

* Add MFEM_adv steady-state-non-periodic test cases.

Add visualization.

Change config/defaults.mk to point to hypre dir.

* Corrected typo in MFEM_adv.cpp.

* Add multiple SN directions (azimuthal) as ImplicitSolve unknowns.

* Add higher azimuthal resolution test.

* Reduced number of AMG_solvers to one (not SN).

Clean up.

* First step towards the electron transport.

Hypre-mass-matrices-sparsity works.

* Code clean and tested.

Plasma profiles and all coeficients defined by functions.

* Transport example extended to run on ALE meshes (within the hydro code).

* Add include in exTRguts example.

* Source of particles inside Mult/ImplicitSolve.

* Scalar flux evolved within the TimeIntegrator.

* Integration over velocity range + a nice fig.

* AWBS/v3 model on, decelaretion integration on.

dfMdv source needs to be checked to give ne.

* AWBS working. Number of particles test ok.

* Both explicit and implicit integrators num of particles test ok.

* Add timer.

* Add AIR parameters parsing for AWBS runs.

* Add ne_ref and test nonlocal/local runs.

* Improved timer

Better matrix in memory treatment.

* Add velocity range input params.

* Add E field v-limiting

Lorentz Efield calculation.

* Add working scattering.

Low density -> positivity problems.

* A working setting (dv = - dt).

mpirun -n 4 exTRguts -m '../data/inline-quad.mesh' -rs 2 -vis -s 24 -ne 1e21 -sna 8 -vini 1.0 -vfin 0.0 -Ngr 100 -scit 1

Scattering is off.

* Scattering converges, yet unchecked.

mpirun -n 4 exTRguts -m '../data/inline-quad.mesh' -rs 1 -vis -s 24 -ne 1e21 -sna 4 -vini 1.0 -vfin 0.075 -Ngr 100 -scit 30

* Scaled -> nicer plot.

* Add exETRp example.

* Scattering is on.

* rm temp files, add user cmake to gitignore

* Added some more hypre options

* Updated example 9 to support implicit time stepping and AIR

* Added ex23 DG adv-diff with AIR for implicit solves

* example updates

* Fixing merge issue

* added two air options

* Updated AIR flags to be consistent with hypre master branch

* Removed include folder from repo

* removed build dir accidentally added..

* Removed TRT deve examples

* Removed TRT dev file

* Removed 23, MFEM_adv, updated ex9p to have AIR support

* Fixing travis stuff

* More travis

* Update hypre version in yml file for Travis

* Update hypre version in appveyor yml

* Update .appveyor.yml

* \ for windows?

* Added general DG blocksize, added extrat submatrix routine from hypre

* Fixed pointer

* Merge w/ master, fix one space in style

* Missed hypre dirs in appveyor and travis

* Reset appveyor/travis, added flag for hypre >= 21800.

* missed some hypre version #s

* Ex9 was modified in master, auto merge didn't work

* Ex9 running on quartz

* Affressing most of Dylan's comments

* Cleaning up hypre/AIR interface, addressing comments

* Some more comments

* Simplify AIR with ex9p

* Minor changes to hypre/AIR interface

* Use MPI_Session in ex9p

* Use Array instead of pointer

* Use HYPRE_Int or HYPRE_BigInt instead of int

* make style

* Minor

* Fix signed/unsigned int warning

* Removed boomeramg mult, added doxygen for wraphypreparvector

* Use MFEM's hypre memory wrappers

* Remove HypreBoomerAMG::Mult from header

* Added AIR comments, #if for hypre version

* Make input parameter const

* Use 3 procs for sample run

* Re-add comment

* Address review comments

* Address issues in WrapHypreParCSRMatrix

* Fix unintended change

* Fix memory leak in HypreParMatrix::MergeDiagAndOffd

* Small doxygen updates.

* Always call HypreParMatrix::Destroy when wrapping new vector

* Update CHANGELOG

Co-authored-by: Ruipeng Li <li50@llnl.gov>
Co-authored-by: Ruipeng Li <li50@quartz2498.llnl.gov>
Co-authored-by: holec1 <holec1@llnl.gov>
Co-authored-by: milan_holec <homijan@gmail.com>
Co-authored-by: Tzanio <tzanio@llnl.gov>
Co-authored-by: Will Pazner <will.e.p@gmail.com>
Co-authored-by: Veselin Dobrev <dobrev@llnl.gov>
2021-01-19 12:46:34 -08:00
Will Pazner 57975eb915 Use default beta value in ex9 and ex9p. 2021-01-05 17:26:52 -08:00
Will Pazner 7dd8e562d5 Add constants for alpha and beta in ex9 and ex9p 2021-01-04 11:48:25 -08:00
Will Pazner d738070ee2 Unify coefficients for DGTraceIntegrator and NonconservativeDGTraceIntegrator 2020-12-22 17:37:29 -08:00
Will Pazner 08de600931 Modify ex9 and ex9p to use NonconservativeDGTraceIntegrator 2020-12-02 08:33:45 -08: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
Tzanio Kolev c4d8bd4744 Merge branch 'master' into yohann/fa 2020-07-14 15:27:10 -07:00
Yohann Dudouit 2de28abb19 Revert changes in ex9 and ex9p. 2020-07-02 15:51:05 -07:00
Veselin Dobrev dd23ccddb3 In ex4p, added a sample run that tests hybridization in 2D when
there are ghost shared faces using amr-quad.mesh on 3 processors.

In ex9p, added a sample run on amr-hex.mesh on 3 processors so
have a test case with ghost shared faces in 3D.
2020-06-17 22:39:16 -07:00
Yohann Dudouit 3ec12f0866 Add device sample runs to ex9 and ex9p. 2020-06-10 12:45:10 -07:00
Yohann Dudouit 00a431e5b3 Remove white space. 2020-05-26 13:19:59 -07:00
Yohann Dudouit cc9dd4e34e Modify parallel exemples for testing purpose. 2020-05-26 13:03:49 -07:00
Yohann Dudouit 43fe97f5f9 Revert "Use a string option to select the Assembly Level."
This reverts commit bd3f1bc431.
2020-04-27 16:56:31 -07:00
Yohann Dudouit bd3f1bc431 Use a string option to select the Assembly Level. 2020-04-20 18:43:38 -07:00
Yohann Dudouit 996f27c48b Add device sample runs. 2020-04-07 17:54:16 -07:00
Yohann Dudouit 2fd8ad493c Merge branch 'master' into yohann/mass-emat 2020-04-07 16:07:21 -07:00
Yohann Dudouit a3ce056626 Fix the need for ExchangeFaceNbrData in ex9p. 2020-04-06 16:51:10 -07:00
Tzanio 661a52077d Updated examples 2020-03-29 12:37:43 -07:00
William F Godoy 9c379891bf Resolving conflicts with latest master 2020-03-18 09:41:46 -04:00
Will Pazner 13295f30fa Fix memory leak in ex9p
Use OperatorHandle with ownership flag to ensure pointer returned
by ParallelAssemble() is deleted.
2020-03-03 14:54:36 -08:00
Yohann Dudouit 26a3284eed make style 2020-02-27 17:11:27 -08:00
Yohann Dudouit 9f184dd5a2 make style 2020-02-27 17:00:18 -08:00
Yohann Dudouit 6e5bda0743 Merge branch 'master' into yohann/dg 2020-02-27 16:38:19 -08:00
Yohann Dudouit 89a5c7c860 Clean ex9p 2020-02-27 15:36:58 -08:00
Yohann Dudouit 4ffa77b1eb Change Interface of FE_Evoluation in ex9p 2020-02-27 10:31:03 -08:00
Yohann Dudouit 74b16ba967 Remove if(pa) for Finalize 2020-02-27 09:37:13 -08:00
Will Pazner 988e317854 Reorganize: move VTK code from mesh.cpp to vtk.cpp 2020-02-16 14:02:13 -08:00
Will Pazner 983b0b75f2 Slightly modify example code 2020-02-16 13:33:44 -08:00
Yohann Dudouit 894b1841d7 Remove compilation warning. 2020-02-06 15:37:17 -08:00
Yohann Dudouit 08f5b3ed47 Modify EnsureNodes and SetCurvature to work in parallel with DG. 2020-02-04 15:12:53 -08:00
Yohann Dudouit 3decaeb4e3 Move ExchangefaceNbrData. 2020-02-04 11:15:14 -08:00
Yohann Dudouit ba2b5af14d Add EnsureNodes() in ex9p to prevent a bug. 2020-02-03 17:14:21 -08:00
Yohann Dudouit 5f6e85e24b Update tests. 2020-02-03 16:20:08 -08:00
Will Pazner dc253acbca Merge remote-tracking branch 'origin/master' into yohann/dg
Merge with implicit time integration in ex9 and ex9p.
Also fix bug in bilinearform_ext when setting the assembly level before adding integrators.
2020-01-30 17:10:06 -08:00