ORB5X 1.0.0
Performance-portable global electromagnetic gyrokinetic PIC code
 
Loading...
Searching...
No Matches
orb5x::FilterSaw Struct Reference

Toroidal-mode-dependent poloidal filters for sawtooth studies. More...

#include "globals.hpp"

Public Member Functions

 FilterSaw ()
 Construct an unallocated filter; call init_filter_views() later.
 
void init_filter_views ()
 Allocate lists and fill unused entries with a nonmatching sentinel.
 

Public Attributes

bool filter_views_initialized = false
 Whether the mode-list views own storage.
 
int n0 = 0
 First toroidal mode with an explicit poloidal list.
 
Kokkos::View< int[8]> n0m
 Retained poloidal modes for n0.
 
int n1 = 0
 Second toroidal mode with an explicit poloidal list.
 
Kokkos::View< int[8]> n1m
 Retained poloidal modes for n1.
 
int n2 = 0
 Third toroidal mode with an explicit poloidal list.
 
Kokkos::View< int[8]> n2m
 Retained poloidal modes for n2.
 

Detailed Description

Toroidal-mode-dependent poloidal filters for sawtooth studies.

Constructor & Destructor Documentation

◆ FilterSaw()

orb5x::FilterSaw::FilterSaw ( )
inline

Construct an unallocated filter; call init_filter_views() later.

Member Function Documentation

◆ init_filter_views()

void orb5x::FilterSaw::init_filter_views ( )
inline

Allocate lists and fill unused entries with a nonmatching sentinel.

Precondition
Kokkos is initialized.

References filter_views_initialized, n0m, n1m, and n2m.

Member Data Documentation

◆ filter_views_initialized

bool orb5x::FilterSaw::filter_views_initialized = false

Whether the mode-list views own storage.

Referenced by init_filter_views().

◆ n0

int orb5x::FilterSaw::n0 = 0

First toroidal mode with an explicit poloidal list.

◆ n0m

Kokkos::View<int[8]> orb5x::FilterSaw::n0m

Retained poloidal modes for n0.

Referenced by init_filter_views().

◆ n1

int orb5x::FilterSaw::n1 = 0

Second toroidal mode with an explicit poloidal list.

◆ n1m

Kokkos::View<int[8]> orb5x::FilterSaw::n1m

Retained poloidal modes for n1.

Referenced by init_filter_views().

◆ n2

int orb5x::FilterSaw::n2 = 0

Third toroidal mode with an explicit poloidal list.

◆ n2m

Kokkos::View<int[8]> orb5x::FilterSaw::n2m

Retained poloidal modes for n2.

Referenced by init_filter_views().


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