Commit Graph
2059 Commits
Author SHA1 Message Date
Dohyun Kim dcc80a5572 advection serial parallel done. 2023-03-06 13:40:36 -05:00
Dohyun Kim a7127047c0 shallow water updated. 2023-03-06 13:24:50 -05:00
Dohyun Kim f7804a34e2 Burgers code cleanup and parallel implementation 2023-03-06 13:02:20 -05:00
Dohyun Kim f9bfd14a59 Euler cleanup and parallel version bug fix 2023-03-06 12:49:01 -05:00
Dohyun Kim dbf4546c81 code cleanup 2023-03-06 12:08:39 -05:00
Dohyun Kim 5d0beddaa8 print function updated 2023-03-05 23:22:37 -05:00
Dohyun Kim 3c4da3c245 remove hello from.. 2023-03-05 22:41:32 -05:00
Dohyun Kim 25bb2f0a70 Parallel euler implementation 2023-03-05 22:38:31 -05:00
Dohyun Kim 2f90e76ffc Now DGHCL takes nonlinear form as an input argument to handle ParNonlinearForm 2023-03-05 22:38:17 -05:00
Dohyun Kim c0d12de5ee This fixes Allow HCL flux functions utilize space-dependent evaluation dohyun-cse/mfem#1.
Advection equation is now included
2023-03-05 21:48:08 -05:00
Dohyun Kim d96485a19a include transformations to flux evaluation functions 2023-03-03 23:09:54 -05:00
Dohyun Kim 17ffe54b4a Shallow water gauss bump problem included 2023-03-03 21:54:37 -05:00
Dohyun Kim 46e07c77e4 Merge branch 'HCL_Formbased' into HCL-refactor 2023-03-03 18:55:59 -05:00
Dohyun Kim b0f44de3d6 Shallow water also done! 2023-03-03 18:52:26 -05:00
Dohyun Kim 9c24c7d554 Burgers done. Euler typo fixed 2023-03-03 18:36:14 -05:00
Dohyun Kim b2063152cf correct typo Hyperboilic.... :( 2023-03-03 18:26:18 -05:00
Dohyun Kim 57c5e426b6 Euler problem is verified.
Burgers and shallow water will be updated
2023-03-03 18:23:31 -05:00
Dohyun Kim a84a2b9a52 ElementFormIntegrator is done. Not yet tested.🤞 2023-03-03 17:22:56 -05:00
Dohyun Kim a6ac9e6622 compute flux now takes correct function arguments 2023-03-03 17:15:31 -05:00
Dohyun Kim eb1d51ee55 fix bug in the arguments of AssembleElementVector 2023-03-03 17:14:11 -05:00
Dohyun Kim 7e36fd7389 funval -> state for readibility 2023-03-03 17:13:32 -05:00
Dohyun Kim 3be9dbca39 evaluation template for element assembly 2023-03-03 17:08:28 -05:00
Dohyun Kim 780eff1730 Rename form to formintegrator as this is appropriate name 2023-03-03 17:05:16 -05:00
Dohyun Kim b3fc74b9bb Include HyperbolicElementForm for accurate flux evaluation 2023-03-03 17:04:12 -05:00
Dohyun Kim 14f5bb82f2 rename faceform to hyperbolic faceform 2023-03-03 16:58:14 -05:00
Dohyun Kim d82926be08 MPI_Reduce -> MPI_All_Reduce as all workers share the same max_char_speed 2023-03-03 16:57:20 -05:00
Dohyun Kim da7eeabdcd Form now have pointer to max_char_speed which points to HCL class max_char_speed.
max_char_speed is not exposed to outside.
Use getter instead.
2023-03-03 16:54:51 -05:00
Dohyun Kim c2e873dfba Rename HCL class to DGHCL 2023-03-03 16:40:35 -05:00
Dohyun Kim f621533b76 use reference instead of pointer 2023-03-03 16:40:07 -05:00
Dohyun Kim 030529aa69 max_char_speed now shared by pointer 2023-03-03 16:26:11 -05:00
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