Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: Sc/polytropic 2d wave speed (#1816)
* Added coupling converters. * Added generic converter_function for structured 2d meshes. * Added example elixir for coupling converters. * Cleaned up converter coupling elixir. * Added equations in coupling converters. * Added converter functions. * Added identity converter function. * Autoformat for converter coupling implementation. * Added coupled converter elixir. * Corrected file name of coupled converters test. * Removed redundant doc string. * Added function signature in doc string. * Removed coverage_override in coupled tests. * Removed old commented code. * Update make.jl Added interface coupling docs to the main menu. * Update make.jl Moved converter coupling section. * Create coupling.md * Update coupling.md Added some documentation on coupling converters. * Removed troublesome AnalysisCallbackCoupled from test. * Chenged coupling converter function. * Changed coupling converter function and updated tests. * Sepcialized coupling function call. * Removed volume coupling from documentation to avoit confusion. * Update src/coupling_converters/coupling_converters.jl Co-authored-by: Hendrik Ranocha <[email protected]> * Removed redundant converter function for coupling. * Removed redundant coupling converter file mentioned in some files. * Autoreformatted. * Removed old coupled elixir and replaced it with one using converter functions. * Updated errors for coupled tests. * Corrected test results for coupled equations. * Corrected comment. * Removed coupled test from special tests. * Removed coupled test from specials. * Chaned the coupling function to the identity. * Updated coupling tests. * Updated errors for coupled test. * Added advice about binary compatability for coupled equations in the documentation. * Typo. * Added numerical fluxes. * Corrected rs copy routine. Now loop over this semi's components. * Reformatted equations source file. * Removed problemating include of time_integration.jl. * Removed export of deleted methods. * Reverted to old version of compressible Euler multicomponent with no support for structured grid. * Renamed documentation file for multi-physics coupling. * Renamed doc reference. * Update src/semidiscretization/semidiscretization_coupled.jl Co-authored-by: Michael Schlottke-Lakemper <[email protected]> * Update docs/src/multi-physics_coupling.md Co-authored-by: Michael Schlottke-Lakemper <[email protected]> * Update docs/src/multi-physics_coupling.md Co-authored-by: Michael Schlottke-Lakemper <[email protected]> * Update docs/src/multi-physics_coupling.md Co-authored-by: Michael Schlottke-Lakemper <[email protected]> * Reinstated structured_2d_dgsem coupled in special tests. * Update examples/structured_2d_dgsem/elixir_advection_coupled.jl Co-authored-by: Michael Schlottke-Lakemper <[email protected]> * Renamed CouplingFunction to CouplingConverter. * Update src/semidiscretization/semidiscretization_coupled.jl Co-authored-by: Michael Schlottke-Lakemper <[email protected]> * Cleaned the copy of coupled boundary values. * Reduced time span for example coupling elixir. * Removed redundant loop. * Applied formatter. * Removed default coupling covnerter function. * Moved coupling converter function into elixir. * Apply suggestions from code review Co-authored-by: Joshua Lampert <[email protected]> * Update docs/make.jl Co-authored-by: Joshua Lampert <[email protected]> * Removed coupling_converters.jl from the include. * Corrected introduced issue with coupling boundary copy. The latest change to clean up the boundary copying introduced a bug related to the determination of the wrong node indices. This is now corrected. * Corrected comment on final simulation time. * Updated errors for coupled test to reflect changed final simulation time. * Added miladd. * Corrected coordinate finding in semidiscretization_coupled. * Fixed issued related to memory allocation. * Corrected loop over semidiscretization. * Removed commented out code. * Fixed type instability with loops over semidiscretizations using lispy tuple programming. * Removed obsolete code. * Fixed another typa instability in coupled semidiscretization. * Cleaning up of the coupled semidiscretization. * Autoformatted coupled semidiscretization. * Fixed last type instability in coupling. * Autoformatter on semidiscretization. * Fixed bug in boundary values copy that arose when coupling multiple systems. * aplpied autoformatter on coupled semidiscretization. * Extended the structured 2d example elixir for the coupled advection to 4 semidiscretizations. This hase two purpuses: 1. Users are given an example fro 2d coupling avoiding common pitfalls. 2. This increases the code coverege for the test. * Updated test results for coupled advection in 2d to reflect the 4 semidiscretizations that are now used. * Added correct errors for tests for the coupled adveciton equations in structured 2d. * Update examples/structured_2d_dgsem/elixir_advection_coupled.jl Co-authored-by: Erik Faulhaber <[email protected]> * Update examples/structured_2d_dgsem/elixir_advection_coupled.jl Co-authored-by: Erik Faulhaber <[email protected]> * Update src/semidiscretization/semidiscretization_coupled.jl Co-authored-by: Erik Faulhaber <[email protected]> * Update src/semidiscretization/semidiscretization_coupled.jl Co-authored-by: Erik Faulhaber <[email protected]> * Update src/semidiscretization/semidiscretization_coupled.jl Co-authored-by: Erik Faulhaber <[email protected]> * Update src/semidiscretization/semidiscretization_coupled.jl Co-authored-by: Erik Faulhaber <[email protected]> * Update src/semidiscretization/semidiscretization_coupled.jl Co-authored-by: Erik Faulhaber <[email protected]> * Update src/semidiscretization/semidiscretization_coupled.jl Co-authored-by: Erik Faulhaber <[email protected]> * Update src/semidiscretization/semidiscretization_coupled.jl Co-authored-by: Erik Faulhaber <[email protected]> * Corrected foreach_enumerate implementation. * Fix closing parens * Remove unused recursive rhs! * Pass equations to converter function * Apply formatting * Reverted copy_to_coupled_boundary to previou version to avoid type instability. * Corrected computation of coupled semidiscretizations and fixed memory issue. * Removed redundant nelements function, as it is no longer used. * Applied autoformatter. * Added max_abs_speed_naive( and max_abs_speed_naive for PolytropicEulerEquations2D. * Reverted coupling elixir to main branch version. The modified version should be part of a different PR. * Removed some modified coupling code as this should be part of a different PR. * Reverted changes on ooupling semidiscretization as this should be part of a different PR. * Reverted changes partaining the coupling PR. * Removed changes partaining coupling PR. * REverted to version including elixir_euler_warm_bubble.jl tests. * Update src/equations/polytropic_euler_2d.jl Co-authored-by: Andrew Winters <[email protected]> * Update src/equations/polytropic_euler_2d.jl Co-authored-by: Andrew Winters <[email protected]> * Update src/equations/polytropic_euler_2d.jl Co-authored-by: Andrew Winters <[email protected]> * Update src/equations/polytropic_euler_2d.jl Co-authored-by: Andrés Rueda-Ramírez <[email protected]> * Update src/equations/polytropic_euler_2d.jl Co-authored-by: Andrés Rueda-Ramírez <[email protected]> * Update src/equations/polytropic_euler_2d.jl Co-authored-by: Daniel Doehring <[email protected]> * Added consistency and rotation test for LAx-friedrich fluxes for polytropic equations in 2d. * Applied auto-formatter on polytropic 2d equation. * Update src/equations/polytropic_euler_2d.jl Co-authored-by: Andrew Winters <[email protected]> --------- Co-authored-by: Michael Schlottke-Lakemper <[email protected]> Co-authored-by: Hendrik Ranocha <[email protected]> Co-authored-by: Joshua Lampert <[email protected]> Co-authored-by: Erik Faulhaber <[email protected]> Co-authored-by: Andrew Winters <[email protected]> Co-authored-by: Andrés Rueda-Ramírez <[email protected]> Co-authored-by: Daniel Doehring <[email protected]> Co-authored-by: iomsn <[email protected]>
- Loading branch information