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
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
Veselin Dobrev
0ee0e55a92
Fix the Caliper tests defined in CMake
2022-12-15 18:33:42 -08:00
Will Pazner
8ee9011b29
Merge pull request #3172 from mfem/yohann/sort+test
...
Add sorting of sparse matrix when assembled on device.
2022-11-14 09:37:30 -08:00
Will Pazner
b3a57feaae
Use Device::IsEnabled and add explanation in ex1 and ex1p
2022-11-13 16:02:32 -08:00
Yohann Dudouit
6e70e2883b
Set diagonal policy to DIAG_ONE when using Full assembly.
2022-11-07 12:32:53 -08:00
Yohann Dudouit
affa9185bd
Set the diagonal policy to DIAG_ONE in ex1 and ex1p.
2022-11-07 11:17:26 -08:00
Stefano Zampini
c5c9a002c0
PetscLinearSolver: respect command line option for nonzero initial guess
2022-11-07 10:40:39 +03:00