|
SpECTRE
2021.08.02
|
Compute the volume fluxes of the evolved variables. More...
#include <ComputeVolumeFluxes.hpp>
Static Public Member Functions | |
| template<typename DbTagsList , typename... InboxTags, typename Metavariables , typename ArrayIndex , typename ActionList , typename ParallelComponent , Requires< tmpl::size< DbTagsList >::value !=0 > = nullptr> | |
| static std::tuple< db::DataBox< DbTagsList > && > | apply (db::DataBox< DbTagsList > &box, const tuples::TaggedTuple< InboxTags... > &, const Parallel::GlobalCache< Metavariables > &, const ArrayIndex &, ActionList, const ParallelComponent *const) noexcept |
Compute the volume fluxes of the evolved variables.
The mesh velocity is added to the flux automatically if the mesh is moving. That is,
\begin{align} F^i_{\alpha}\to F^i_{\alpha}-v^i_{g} u_{\alpha} \end{align}
where \(F^i_{\alpha}\) are the fluxes when the mesh isn't moving, \(v^i_g\) is the velocity of the mesh, and \(u_{\alpha}\) are the evolved variables.
Uses:
domain::Tags::MeshVelocity<Metavariables::volume_dim>Metavariables::system::variables_tagDataBox changes: