Dohyun Kim
a29fb79002
rename to DGHyperbolicConservationLaws
2023-03-03 14:36:41 -05:00
Dohyun Kim
3678f64ac4
just testing...
2023-03-03 14:33:15 -05:00
Dohyun Kim
07a8be5297
Element-wise form integrator for further refactoring
2023-03-03 14:25:29 -05:00
Dohyun Kim
4a94fc6c43
rename num_equation to num_equations and include GetIntRule
2023-03-03 14:24:37 -05:00
Dohyun Kim
a032d4a196
shallow water an example with periodic boundary included
2023-03-03 10:00:14 -05:00
Dohyun Kim
0541918538
Merged debugged code.
2023-03-02 20:37:42 -05:00
Dohyun Kim
88edc8d501
rename and move problem-specific defintions to cpp files
2023-03-02 16:39:22 -05:00
Dohyun Kim
406f5ef189
Remove redundant example code as it is not used anymore.
2023-03-02 14:52:27 -05:00
Dohyun Kim
7c4f63d462
Add comments and reorder classes
2023-03-02 14:40:12 -05:00
Dohyun Kim
f3bfa35df0
revert back visualization code.
2023-03-02 14:23:07 -05:00
Dohyun Kim
18d4d6cd8c
move global constants (num_eq, gas.. etc) inside of the classes
2023-03-02 14:10:06 -05:00
Dohyun Kim
f67f1fccf7
Fix 1-d bug!
...
As MFEM positive/negative elements ordering
does not respect the original mesh ordering,
normal vector can be positive or negative in 1D.
We check this by checking integration point is either right or left for 1D.
2023-03-02 13:37:35 -05:00
Dohyun Kim
2d6c70186c
update burgers equation
2023-03-02 13:05:55 -05:00
Dohyun Kim
07eb581bec
Finalize update functionality. Visualization not yet implemented.
...
Tested with derefine and refine after system construction.
Current code seems to give correct result.
May require further verification.
2023-03-02 12:33:45 -05:00
Dohyun Kim
629a3bc4ad
Update method included for HCL.
...
It is not tested yet.
Also, since Operator does not have Update method,
we needed to restrict Operator to NonlinearForm
2023-03-02 11:24:49 -05:00
Dohyun Kim
82831f6d10
Allow variable size of invMe to handle p-refine.
...
invMe Type: DenseTensor -> vector<DenseMatrix>
2023-03-02 11:17:35 -05:00
Dohyun Kim
b0e9208379
remove Aflux and include divA.
...
This will allow us to update operators within HCL class
2023-03-02 11:14:58 -05:00
Dohyun Kim
c50c086609
Give operators more meaningful names
2023-03-02 10:56:04 -05:00
Dohyun Kim
8fb64a9487
Rename FE_Evolution to HCL
2023-03-02 10:53:25 -05:00
Dohyun Kim
6aa344daf5
Burgers example included
2023-03-01 17:54:26 -05:00
Dohyun Kim
d45f88734a
General Hyperbolic Form updated
2023-03-01 17:54:15 -05:00
Dohyun Kim
8677d3bdad
correct errors in euler flux functions
2023-02-27 17:30:34 -05:00
Dohyun Kim
db9c5867d6
default periodic square mesh updated
...
it seems that 2x2 periodic mesh does not work.
-> This is because 2x2 contains both 0->1 edge and 1->0 edge on the boundary
due to periodic constraint.
I believe that is why 3x3 elements are used in the data folder.
2023-02-27 15:34:27 -05:00
Dohyun Kim
4112feb2a0
arg parser!
2023-02-27 14:15:36 -05:00
Dohyun Kim
64dcd710ac
Initial state assignment
2023-02-27 13:40:07 -05:00
Dohyun Kim
b7c0a1314b
begin time stepping implementation
2023-02-27 13:38:23 -05:00
Dohyun Kim
97ecd3cd12
problem setting
2023-02-27 13:38:08 -05:00
Dohyun Kim
0568aae1fa
Initial conditions and problems. Not yet done I think
2023-02-27 13:37:20 -05:00
Dohyun Kim
3026760c02
fix function spaces for solution variables
2023-02-27 13:36:46 -05:00
Dohyun Kim
17e741debe
reorder classes to avoid incomplete type
2023-02-27 13:36:22 -05:00
Dohyun Kim
f2a3bb98e7
include computation of initial max char speed for t=0
2023-02-27 13:35:40 -05:00
Dohyun Kim
8eb36bc05e
include 2x2 periodic mesh to have 2^N elements.
2023-02-27 13:34:19 -05:00
Dohyun Kim
10db143c05
include cfl
2023-02-23 13:53:40 -05:00
Dohyun Kim
8f4f008cd1
remove redundant break from switch
2023-02-23 08:55:53 -05:00
Dohyun Kim
f50aa07597
Get subvector from the solution vector to obtain solution components
2023-02-23 08:55:33 -05:00
Dohyun Kim
54f1ab1029
Include some helper functions to evaluate dt from CFL
2023-02-16 15:52:35 -05:00
Dohyun Kim
0f9cf43078
included ODE
2023-02-16 14:29:57 -05:00
Dohyun Kim
809a7f455c
inverse mass matrix done. Mult done. Update done.
2023-02-16 14:29:46 -05:00
Dohyun Kim
baef946004
Subclasses are deleted. HyperbolicConservationLaws will be used with different flux functions
2023-02-16 13:07:24 -05:00
Dohyun Kim
8182ac3836
rename flux to Fu to avoid confusion
2023-02-15 12:17:57 -05:00
Dohyun Kim
3e83baaa86
pre-define classes and add some comments
2023-02-15 12:07:13 -05:00
Dohyun Kim
ba2dc5583f
Implementation done. Check required
2023-02-14 21:41:03 -05:00
Dohyun Kim
438169e54f
Euler flux lambda functions capture by value
...
when a constant is given, it should capture value as the constant will be deleted after exit the function
2023-02-14 21:04:44 -05:00
Dohyun Kim
bfc7f03315
preliminary hyperbolic system
...
Numerical flux, Euler system, advection equation done.
2023-02-14 09:20:24 -05:00
Dohyun Kim
b0360d7438
create a new test
2023-02-10 16:14:16 -05:00
Tzanio Kolev
61b394409b
Merge pull request #3440 from mfem/lor-space-fix
...
Support LOR transfer with smaller LOR spaces
2023-02-09 10:16:11 -08:00
Veselin Dobrev
d5f46a61bc
Merge pull request #3411 from mfem/gitlab-ci-retry-push
...
Retry git push in autotest GitLab CI
2023-02-07 12:20:24 -08:00
Will Pazner
2e8c7a1c07
Handle the case of empty local mesh
2023-02-07 10:02:02 -08:00
Tzanio Kolev
52162982a8
Merge pull request #2980 from mfem/gmsh-pyr-dev
...
Add support for pyramid elements in Gmsh meshes
2023-02-03 15:28:09 -08:00
Tzanio Kolev
69c52e55bd
Merge pull request #3430 from mfem/nodes-doxygen
...
Improve Doxygen comments for Mesh::GetNodes and related functions
2023-02-03 15:27:21 -08:00