seams-core v2.14.0
libyodaLib, the C++ engine of d-SEAMS
Loading...
Searching...
No Matches
ring::EquatorChoice Struct Reference

#include <src/include/internal/topo_bulk.hpp>

Public Member Functions

int idAt (int k) const
void put (int k, int value)

Public Attributes

int ring [6] {}
int n = 0

Detailed Description

Definition at line 174 of file topo_bulk.hpp.

Member Function Documentation

◆ idAt()

int ring::EquatorChoice::idAt ( int k) const
inlinenodiscard

Definition at line 178 of file topo_bulk.hpp.

178 {
179 return k < 6 ? ring[k] : equatorChoiceOverflow(this, k - 6);
180 }
int equatorChoiceOverflow(const struct EquatorChoice *self, int at)

◆ put()

void ring::EquatorChoice::put ( int k,
int value )
inline

Definition at line 182 of file topo_bulk.hpp.

182 {
183 if (k < 6) {
184 ring[k] = value;
185 return;
186 }
187 equatorChoiceOverflowPut(this, k - 6, value);
188 }
void equatorChoiceOverflowPut(struct EquatorChoice *self, int at, int value)

Member Data Documentation

◆ n

int ring::EquatorChoice::n = 0

Definition at line 176 of file topo_bulk.hpp.

◆ ring

int ring::EquatorChoice::ring[6] {}

Definition at line 175 of file topo_bulk.hpp.

175{};

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