Peano
Loading...
Searching...
No Matches
exahype2::ccz4::ahf::SourceVariableMapping Struct Reference

Reader-side mapping from compact fields to components of a source tuple. More...

#include <ahf-data.h>

Collaboration diagram for exahype2::ccz4::ahf::SourceVariableMapping:

Public Types

using Index = std::size_t

Public Member Functions

std::array< Index, NumberOfCompactFields > componentsInCompactOrder () const
bool isComplete () const
void validateRequiredFields () const
void validateAgainstSourceTuple (std::size_t numberOfSourceComponents) const
bool isValid (std::size_t numberOfSourceComponents) const

Data Fields

std::array< Index, 6 > conformalMetric
std::array< Index, 6 > conformalExtrinsicCurvature
Index traceK = NotStored
Index conformalFactor = NotStored

Static Public Attributes

static constexpr Index NotStored = std::numeric_limits<Index>::max()

Detailed Description

Reader-side mapping from compact fields to components of a source tuple.

Source indices are used only while constructing a compact GridData row.

Definition at line 149 of file ahf-data.h.

Member Typedef Documentation

◆ Index

Definition at line 150 of file ahf-data.h.

Member Function Documentation

◆ componentsInCompactOrder()

std::array< Index, NumberOfCompactFields > exahype2::ccz4::ahf::SourceVariableMapping::componentsInCompactOrder ( ) const

◆ isComplete()

bool exahype2::ccz4::ahf::SourceVariableMapping::isComplete ( ) const

Definition at line 173 of file ahf-data.h.

References componentsInCompactOrder().

Here is the call graph for this function:

◆ isValid()

bool exahype2::ccz4::ahf::SourceVariableMapping::isValid ( std::size_t numberOfSourceComponents) const

Definition at line 217 of file ahf-data.h.

References componentsInCompactOrder().

Here is the call graph for this function:

◆ validateAgainstSourceTuple()

void exahype2::ccz4::ahf::SourceVariableMapping::validateAgainstSourceTuple ( std::size_t numberOfSourceComponents) const

Definition at line 203 of file ahf-data.h.

References exahype2::ccz4::ahf::CompactFieldNames, componentsInCompactOrder(), and validateRequiredFields().

Referenced by exahype2::ccz4::ahf::CompactSourceTuple().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ validateRequiredFields()

void exahype2::ccz4::ahf::SourceVariableMapping::validateRequiredFields ( ) const

Definition at line 180 of file ahf-data.h.

References exahype2::ccz4::ahf::CompactFieldNames, componentsInCompactOrder(), and NotStored.

Referenced by validateAgainstSourceTuple().

Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

◆ conformalExtrinsicCurvature

std::array<Index, 6> exahype2::ccz4::ahf::SourceVariableMapping::conformalExtrinsicCurvature

◆ conformalFactor

Index exahype2::ccz4::ahf::SourceVariableMapping::conformalFactor = NotStored

◆ conformalMetric

std::array<Index, 6> exahype2::ccz4::ahf::SourceVariableMapping::conformalMetric

◆ NotStored

Index exahype2::ccz4::ahf::SourceVariableMapping::NotStored = std::numeric_limits<Index>::max()
staticconstexpr

◆ traceK

Index exahype2::ccz4::ahf::SourceVariableMapping::traceK = NotStored

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