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

Spectral basis plus collocation grid and precomputed design matrices. More...

#include <harmonics.h>

Collaboration diagram for exahype2::ccz4::ahf::SpectralBasis:

Public Member Functions

double designMatrixValue (const std::vector< double > &matrix, std::size_t point, std::size_t mode) const

Data Fields

int lmax = 0
int nSigma = 0
int nRho = 0
std::size_t nModes = 0
std::size_t nPoints = 0
std::vector< std::pair< int, int > > modes
std::vector< double > rho
std::vector< double > sigma
std::vector< double > weight
std::vector< double > Y
std::vector< double > Yrho
std::vector< double > Ysigma
std::vector< double > Yrhorho
std::vector< double > Yrhosigma
std::vector< double > Ysigmasigma

Detailed Description

Spectral basis plus collocation grid and precomputed design matrices.

Each design matrix is stored row-major with shape (nPoints x nModes); use designMatrixValue() to index it. Column j corresponds to modes[j], row p to the collocation point (rho[p], sigma[p]).

Definition at line 100 of file harmonics.h.

Member Function Documentation

◆ designMatrixValue()

double exahype2::ccz4::ahf::SpectralBasis::designMatrixValue ( const std::vector< double > & matrix,
std::size_t point,
std::size_t mode ) const

Definition at line 119 of file harmonics.h.

References nModes.

Field Documentation

◆ lmax

int exahype2::ccz4::ahf::SpectralBasis::lmax = 0

Definition at line 101 of file harmonics.h.

◆ modes

std::vector<std::pair<int, int> > exahype2::ccz4::ahf::SpectralBasis::modes

Definition at line 106 of file harmonics.h.

◆ nModes

std::size_t exahype2::ccz4::ahf::SpectralBasis::nModes = 0

Definition at line 104 of file harmonics.h.

Referenced by designMatrixValue().

◆ nPoints

std::size_t exahype2::ccz4::ahf::SpectralBasis::nPoints = 0

Definition at line 105 of file harmonics.h.

◆ nRho

int exahype2::ccz4::ahf::SpectralBasis::nRho = 0

Definition at line 103 of file harmonics.h.

◆ nSigma

int exahype2::ccz4::ahf::SpectralBasis::nSigma = 0

Definition at line 102 of file harmonics.h.

◆ rho

std::vector<double> exahype2::ccz4::ahf::SpectralBasis::rho

◆ sigma

std::vector<double> exahype2::ccz4::ahf::SpectralBasis::sigma

Definition at line 109 of file harmonics.h.

◆ weight

std::vector<double> exahype2::ccz4::ahf::SpectralBasis::weight

Definition at line 110 of file harmonics.h.

◆ Y

std::vector<double> exahype2::ccz4::ahf::SpectralBasis::Y

Definition at line 112 of file harmonics.h.

◆ Yrho

std::vector<double> exahype2::ccz4::ahf::SpectralBasis::Yrho

Definition at line 113 of file harmonics.h.

◆ Yrhorho

std::vector<double> exahype2::ccz4::ahf::SpectralBasis::Yrhorho

Definition at line 115 of file harmonics.h.

◆ Yrhosigma

std::vector<double> exahype2::ccz4::ahf::SpectralBasis::Yrhosigma

Definition at line 116 of file harmonics.h.

◆ Ysigma

std::vector<double> exahype2::ccz4::ahf::SpectralBasis::Ysigma

Definition at line 114 of file harmonics.h.

◆ Ysigmasigma

std::vector<double> exahype2::ccz4::ahf::SpectralBasis::Ysigmasigma

Definition at line 117 of file harmonics.h.


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