Peano
Loading...
Searching...
No Matches
exahype2::ccz4::ahf::CompactCellView Class Reference

Read-only, zero-copy view of one fixed-layout compact cell row. More...

#include <ahf-data.h>

Collaboration diagram for exahype2::ccz4::ahf::CompactCellView:

Public Member Functions

 CompactCellView (std::span< const double, NumberOfCompactFields > values)
std::span< const double, NumberOfCompactFields > row () const
double conformalMetricComponent (std::size_t component) const
double conformalMetricComponent (SymmetricTensorComponent component) const
double conformalExtrinsicCurvatureComponent (std::size_t component) const
double conformalExtrinsicCurvatureComponent (SymmetricTensorComponent component) const
double traceK () const
double phi () const

Private Member Functions

double compactValue (CompactField field) const
double tensorComponent (std::size_t component, const std::array< CompactField, NumberOfSymmetricTensorComponents > &fields, const char *tensorName) const

Private Attributes

std::span< const double, NumberOfCompactFields > _values

Detailed Description

Read-only, zero-copy view of one fixed-layout compact cell row.

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

Constructor & Destructor Documentation

◆ CompactCellView()

exahype2::ccz4::ahf::CompactCellView::CompactCellView ( std::span< const double, NumberOfCompactFields > values)
explicit

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

References _values.

Member Function Documentation

◆ compactValue()

double exahype2::ccz4::ahf::CompactCellView::compactValue ( CompactField field) const
private

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

References _values.

Referenced by phi(), tensorComponent(), and traceK().

Here is the caller graph for this function:

◆ conformalExtrinsicCurvatureComponent() [1/2]

double exahype2::ccz4::ahf::CompactCellView::conformalExtrinsicCurvatureComponent ( std::size_t component) const

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

References exahype2::ccz4::ahf::ConformalExtrinsicCurvatureCompactFields, and tensorComponent().

Referenced by conformalExtrinsicCurvatureComponent().

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

◆ conformalExtrinsicCurvatureComponent() [2/2]

double exahype2::ccz4::ahf::CompactCellView::conformalExtrinsicCurvatureComponent ( SymmetricTensorComponent component) const

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

References conformalExtrinsicCurvatureComponent().

Here is the call graph for this function:

◆ conformalMetricComponent() [1/2]

double exahype2::ccz4::ahf::CompactCellView::conformalMetricComponent ( std::size_t component) const

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

References exahype2::ccz4::ahf::ConformalMetricCompactFields, and tensorComponent().

Referenced by conformalMetricComponent().

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

◆ conformalMetricComponent() [2/2]

double exahype2::ccz4::ahf::CompactCellView::conformalMetricComponent ( SymmetricTensorComponent component) const

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

References conformalMetricComponent().

Here is the call graph for this function:

◆ phi()

double exahype2::ccz4::ahf::CompactCellView::phi ( ) const

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

References compactValue(), and exahype2::ccz4::ahf::Phi.

Here is the call graph for this function:

◆ row()

std::span< const double, NumberOfCompactFields > exahype2::ccz4::ahf::CompactCellView::row ( ) const

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

References _values.

◆ tensorComponent()

double exahype2::ccz4::ahf::CompactCellView::tensorComponent ( std::size_t component,
const std::array< CompactField, NumberOfSymmetricTensorComponents > & fields,
const char * tensorName ) const
private

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

References compactValue().

Referenced by conformalExtrinsicCurvatureComponent(), and conformalMetricComponent().

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

◆ traceK()

double exahype2::ccz4::ahf::CompactCellView::traceK ( ) const

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

References compactValue(), and exahype2::ccz4::ahf::TraceK.

Here is the call graph for this function:

Field Documentation

◆ _values

std::span<const double, NumberOfCompactFields> exahype2::ccz4::ahf::CompactCellView::_values
private

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

Referenced by CompactCellView(), compactValue(), and row().


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