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

#include <Norms.hpp>

Public Types

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

Static Public Attributes

static constexpr auto function
 

Additional Inherited Members

- Static Public Member Functions inherited from Tags::PointwiseL2Norm< Tag >
static std::string name ()
 

Detailed Description

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

Computes the point-wise Euclidean \(L^2\)-norm of a Tensor.

See also
pointwise_l2_norm() for details.

Member Data Documentation

◆ function

template<typename Tag >
constexpr auto Tags::PointwiseL2NormCompute< Tag >::function
staticconstexpr
Initial value:
=
static_cast<void (*)(const gsl::not_null<return_type*>,
const typename Tag::type&)>(&pointwise_l2_norm)
Require a pointer to not be a nullptr
Definition: Gsl.hpp:183
Scalar< DataType > pointwise_l2_norm(const Tensor< DataType, Symm, IndexList > &tensor)
Compute point-wise Euclidean -norm of arbitrary Tensors.
Definition: Norms.hpp:53

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