Skip to content
Snippets Groups Projects
  1. Dec 10, 2023
  2. Dec 09, 2023
  3. Dec 06, 2023
    • Florian Atteneder's avatar
      implement FV method for Euler equation (!77) · a5f246be
      Florian Atteneder authored
      * update some ref tests
      
      - euler_isentropic_flow
      - euler_sod_shock_tube_bernstein
      needed because previously we employed a timestep that was too large,
      because it only used the local cell width but not the smallest grid
      spacing
      
      * add ref test for FV euler sod shock tube
      
      * update ScalarEq so that FV version can use non-periodic bdry conditions
      
      * implement FV method for Euler equation
      
      - also refactor timestep to work with DG and FV elements
      - also refactored fv_update_step! methods to now accept buffers for bdry
        values
      a5f246be
    • Florian Atteneder's avatar
      Evict RiemannSolver interface (!76) · 8c450bb9
      Florian Atteneder authored
      * remove more Riemann solver stuff
      
      * remove non-existent export
      
      * evict riemannsolver.jl and broadcast_[volume,faces,bdry]!
      
      * evict Riemann solver related stuff from SRHD
      
      * evict Riemann solver related stuff from EulerEq
      
      * evict Riemann solver related stuff from ScalarEq
      
      * convert all in EulerEq
      
      remove unrelated file
      
      * convert all in ScalarEq
      
      * re-enable srhd_smooth test
      
      update srhd_smooth reftest
      
      * evict old broadcasting methods
      8c450bb9
  4. Dec 05, 2023
    • Florian Atteneder's avatar
      Merge branch 'fa/fv' into 'main' · ba310be2
      Florian Atteneder authored
      Add a finite volume method for ScalarEq
      
      See merge request !75
      ba310be2
    • Florian Atteneder's avatar
      Add a finite volume method for ScalarEq (!75) · 5a594e69
      Florian Atteneder authored
      * add reftest fv_advection_sine
      
      * migrate all of ScalarEq to use broadcast_*_2! methods
      
      * add isperiodic method for meshes
      
      * fix grid spacing computation for SpectralElement
      
      * fixup parametric types to subtype Mesh1d/2d
      
      * make TODO error more comprehensive
      
      * fixup cfl usage; add abstractions for min grid spacing
      
      * enable add mesh kwarg to Evolution setup in order to enable FV evolution
      
      * add timestep! and rhs! for FVElement
      
      * do away with the State(...) syntax
      
      * add docs to dg_rhs methods
      
      * add FV stepper
      
      * limit dg_rhs.jl methods to Meshes with SpectralElement
      
      * add mesh kwarg to Evolution so that we can use a spearate stepper based on mesh type
      
      * add a scheme parameter to Mesh
      
      * add FVElement type
      5a594e69
    • Florian Atteneder's avatar
      Merge branch 'fa/refactor-cfl' into 'main' · 5ad99e58
      Florian Atteneder authored
      Refactor CFL parameter usage
      
      See merge request !74
      5ad99e58
    • Florian Atteneder's avatar
      Refactor CFL parameter usage (!74) · c7e42113
      Florian Atteneder authored
      * fix tests
      
      * remove an unreachable check
      
      can't be reached, because a error would be thrown earlier
      when multiplying a number with nothing
      
      * remove cfl field from Evolution struct
      
      * move cfl parameter from Mesh to Evolution section
      
      also update all reftest parfiles
      
      * remove CFL field from Mesh
      
      * apply CFL factor in evolve loop and not inside projects
      c7e42113
    • Florian Atteneder's avatar
      Merge branch 'fa/fix-smoother' into 'main' · b7d83f61
      Florian Atteneder authored
      call the right interpolator for HRSC/smoother.jl
      
      See merge request !73
      b7d83f61
    • Florian Atteneder's avatar
      call the right interpolator for HRSC/smoother.jl (!73) · 151b1231
      Florian Atteneder authored
      * call the right interpolator
      151b1231
  5. Dec 04, 2023
  6. Nov 30, 2023
  7. Nov 29, 2023
    • Florian Atteneder's avatar
      Merge branch 'fa/evolve-in-steps' into 'main' · 9a89267d
      Florian Atteneder authored
      Stepper for time evolution
      
      See merge request !67
      9a89267d
    • Florian Atteneder's avatar
      Stepper for time evolution (!67) · eebcd97e
      Florian Atteneder authored
      * fix evolve! by wrapping stepper result also in callback
      
      previously we copied the stepper's result into the initial data buffer
      but now we just swap the vectors
      we now push a wrapper for the dynamic state vector (like we also use it
      for the rhs_fn, timestep_fn) to the fullstep callback so that we don't
      have to do the wrapping in projects
      
      * teach pushfirst to CallbackSet
      
      * avoid adding cfl twice
      
      * disable the timestep-retaking tests as they are now deprecated
      
      * grab cfl parameter from mesh parameters
      
      * fix while condition to be aware of symbol return values
      
      * fix up evolve test
      
      * fix time stepping with Evolution type
      
      - make a copy of initial data to initialize up1, because
        we need to allocate memory anyways and the stepper will also swap it before
        stepping
      - apply cfl to timestep
      
      * fix construction of Evolution type
      
      - fix sanity checks for callbacks
      - add sanity check for cfl
      - introduce TimeStepAlgorithm super type and move all algorithm
        types into types.jl
      - add docstring to Evolution type
      - update tests
      
      * update unit tests
      
      * introduce a state full type Evolution so that we can evolve step by step
      eebcd97e
  8. Nov 27, 2023
    • Florian Atteneder's avatar
      Merge branch 'fa/fix-ci' into 'main' · 5f5fae50
      Florian Atteneder authored
      Fix CI
      
      See merge request !66
      5f5fae50
    • Florian Atteneder's avatar
      Fix CI (!66) · e19d58ac
      Florian Atteneder authored
      * fix undef var
      
      * fix vector signature
      
      * try to capture and log full backtrace in ref tests
      
      * revert some changes
      
      * ignore v2.2.3 in PrettyTables in IntegrationTests
      
      * what is the real error we see?
      
      * wrap parameter printing into try-finally, because PrettyTables.jl causes the CI to crash here
      
      * also upload errors.log
      
      * log the captured error to a file
      
      * also resolve before running ref tests
      e19d58ac
  9. Nov 16, 2023
Loading