SpECTRE  v2024.04.12
Tags::L2NormCompute< Tag > Struct Template Reference

#include <Norms.hpp>

Public Types

using base = L2Norm< Tag >
 
using return_type = typename base::type
 
using argument_tags = tmpl::list< Tag >
 
- Public Types inherited from Tags::L2Norm< Tag >
using type = double
 

Static Public Member Functions

static void function (const gsl::not_null< return_type * > norm, const typename Tag::type &tensor)
 
- Static Public Member Functions inherited from Tags::L2Norm< Tag >
static std::string name ()
 

Detailed Description

template<typename Tag>
struct Tags::L2NormCompute< Tag >

Computes the Euclidean \(L^2\)-norm of a Tensor, RMS over grid points in element.

See also
l2_norm() for details.
Warning
This compute tag reduces the Frobenius norm over the element, not the whole domain.

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