Classes | Functions
Divergence.hpp File Reference

Defines functions and tags for taking a divergence. More...

#include <cstddef>
#include <string>
#include "DataStructures/DataBox/DataBoxTag.hpp"
#include "DataStructures/Tensor/Tensor.hpp"
#include "Utilities/Requires.hpp"
#include "Utilities/TMPL.hpp"
#include "Utilities/TypeTraits.hpp"

Go to the source code of this file.

Classes

struct  div< Tag, typename >
 Prefix indicating the divergence. More...
 
struct  Tags::DivCompute< Tag, InverseJacobianTag >
 Compute the divergence of a Variables. More...
 

Functions

template<typename FluxTags , size_t Dim, typename DerivativeFrame >
auto divergence (const Variables< FluxTags > &F, const Mesh< Dim > &mesh, const InverseJacobian< DataVector, Dim, Frame::Logical, DerivativeFrame > &inverse_jacobian) noexcept -> Variables< db::wrap_tags_in< Tags::div, FluxTags >>
 Compute the (Euclidean) divergence of fluxes.
 

Detailed Description

Defines functions and tags for taking a divergence.