A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::SpatialGaussianField::Window Struct Reference

Filter window of one sampling position (grid origin, separable weights and their L2 normalization), computed once with ComputeWindow() and reusable with SampleWindow() for every field sampled at that position. More...

#include "spatial-gaussian-field.h"

Collaboration diagram for ns3::SpatialGaussianField::Window:

Public Attributes

double invL2Norm {0}
 reciprocal L2 norm of the 2D weights
int64_t ix {0}
 grid x-coordinate of the first window cell
int64_t iy {0}
 grid y-coordinate of the first window cell
std::array< double, WINDOW_CELLS > wx {}
 separable filter weights along x
std::array< double, WINDOW_CELLS > wy {}
 separable filter weights along y

Detailed Description

Filter window of one sampling position (grid origin, separable weights and their L2 normalization), computed once with ComputeWindow() and reusable with SampleWindow() for every field sampled at that position.

Definition at line 63 of file spatial-gaussian-field.h.

Member Data Documentation

◆ invL2Norm

double ns3::SpatialGaussianField::Window::invL2Norm {0}

reciprocal L2 norm of the 2D weights

Definition at line 69 of file spatial-gaussian-field.h.

Referenced by ns3::SpatialGaussianField::ComputeWindow(), and ns3::SpatialGaussianField::SampleWindowFromPrefix().

◆ ix

int64_t ns3::SpatialGaussianField::Window::ix {0}

grid x-coordinate of the first window cell

Definition at line 65 of file spatial-gaussian-field.h.

Referenced by ns3::SpatialGaussianField::ComputeWindow(), and ns3::SpatialGaussianField::SampleWindowFromPrefix().

◆ iy

int64_t ns3::SpatialGaussianField::Window::iy {0}

grid y-coordinate of the first window cell

Definition at line 66 of file spatial-gaussian-field.h.

Referenced by ns3::SpatialGaussianField::ComputeWindow(), and ns3::SpatialGaussianField::SampleWindowFromPrefix().

◆ wx

std::array<double, WINDOW_CELLS> ns3::SpatialGaussianField::Window::wx {}

separable filter weights along x

Definition at line 67 of file spatial-gaussian-field.h.

Referenced by ns3::SpatialGaussianField::ComputeWindow(), and ns3::SpatialGaussianField::SampleWindowFromPrefix().

◆ wy

std::array<double, WINDOW_CELLS> ns3::SpatialGaussianField::Window::wy {}

separable filter weights along y

Definition at line 68 of file spatial-gaussian-field.h.

Referenced by ns3::SpatialGaussianField::ComputeWindow(), and ns3::SpatialGaussianField::SampleWindowFromPrefix().


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