Static Public Member Functions | List of all members
evolution::Actions::AddMeshVelocitySourceTerms Struct Reference

Compute and add the source term modification for moving meshes. More...

#include <AddMeshVelocitySourceTerms.hpp>

Static Public Member Functions

template<typename DbTagsList , typename... InboxTags, typename Metavariables , typename ArrayIndex , typename ActionList , typename ParallelComponent >
static std::tuple< db::DataBox< DbTagsList > && > apply (db::DataBox< DbTagsList > &box, const tuples::TaggedTuple< InboxTags... > &, const Parallel::ConstGlobalCache< Metavariables > &, const ArrayIndex &, ActionList, const ParallelComponent *const) noexcept
 

Detailed Description

Compute and add the source term modification for moving meshes.

Adds to the time derivative not the source terms because some systems do not have source terms and so we optimize for that. The term being added to the time derivative is:

\begin{align} -u_\alpha \partial_i v^i_g, \end{align}

where \(u_\alpha\) are the evolved variables and \(v^i_g\) is the velocity of the mesh.

Uses:

DataBox changes:


The documentation for this struct was generated from the following file: