|
SpECTRE
v2025.08.19
|
Finite difference functionality for Newtonian Euler. More...
Namespaces | |
| namespace | OptionTags |
| Option tags for reconstruction. | |
| namespace | Tags |
| Tags for reconstruction | |
Classes | |
| class | AoWeno53Prim |
| Adaptive-order WENO reconstruction hybridizing orders 5 and 3. See fd::reconstruction::aoweno_53() for details. More... | |
| class | MonotonisedCentralPrim |
Monotonised central reconstruction. See fd::reconstruction::monotonised_central() for details. More... | |
| class | Reconstructor |
| The base class from which all reconstruction schemes must inherit. More... | |
Functions | |
| template<size_t Dim> | |
| bool | operator!= (const AoWeno53Prim< Dim > &lhs, const AoWeno53Prim< Dim > &rhs) |
| template<size_t Dim> | |
| bool | operator== (const MonotonisedCentralPrim< Dim > &, const MonotonisedCentralPrim< Dim > &) |
| template<size_t Dim> | |
| bool | operator!= (const MonotonisedCentralPrim< Dim > &lhs, const MonotonisedCentralPrim< Dim > &rhs) |
| template<typename PrimsTags , typename TagsList , size_t Dim, typename F > | |
| void | reconstruct_prims_work (gsl::not_null< std::array< Variables< TagsList >, Dim > * > vars_on_lower_face, gsl::not_null< std::array< Variables< TagsList >, Dim > * > vars_on_upper_face, const F &reconstruct, const Variables< PrimsTags > &volume_prims, const EquationsOfState::EquationOfState< false, 2 > &eos, const Element< Dim > &element, const DirectionalIdMap< Dim, evolution::dg::subcell::GhostData > &ghost_data, const Mesh< Dim > &subcell_mesh, size_t ghost_zone_size) |
Reconstructs the mass density, velocity, and pressure, then computes the specific internal energy and conserved variables. All results are written into vars_on_lower_face and vars_on_upper_face. | |
| template<typename TagsList , typename PrimsTags , size_t Dim, typename F0 , typename F1 > | |
| void | reconstruct_fd_neighbor_work (gsl::not_null< Variables< TagsList > * > vars_on_face, const F0 &reconstruct_lower_neighbor, const F1 &reconstruct_upper_neighbor, const Variables< PrimsTags > &subcell_volume_prims, const EquationsOfState::EquationOfState< false, 2 > &eos, const Element< Dim > &element, const DirectionalIdMap< Dim, evolution::dg::subcell::GhostData > &ghost_data, const Mesh< Dim > &subcell_mesh, const Direction< Dim > &direction_to_reconstruct, size_t ghost_zone_size) |
Reconstructs the mass density, velocity, and pressure, then computes the specific internal energy and conserved variables. All results are written into vars_on_face. More... | |
| void | register_derived_with_charm () |
Finite difference functionality for Newtonian Euler.
| void NewtonianEuler::fd::reconstruct_fd_neighbor_work | ( | gsl::not_null< Variables< TagsList > * > | vars_on_face, |
| const F0 & | reconstruct_lower_neighbor, | ||
| const F1 & | reconstruct_upper_neighbor, | ||
| const Variables< PrimsTags > & | subcell_volume_prims, | ||
| const EquationsOfState::EquationOfState< false, 2 > & | eos, | ||
| const Element< Dim > & | element, | ||
| const DirectionalIdMap< Dim, evolution::dg::subcell::GhostData > & | ghost_data, | ||
| const Mesh< Dim > & | subcell_mesh, | ||
| const Direction< Dim > & | direction_to_reconstruct, | ||
| size_t | ghost_zone_size | ||
| ) |
Reconstructs the mass density, velocity, and pressure, then computes the specific internal energy and conserved variables. All results are written into vars_on_face.
This is used on DG elements to reconstruct their subcell neighbors' solution on the shared faces.