Peano
Loading...
Searching...
No Matches
kernels::idx2 Struct Reference

#include <idx.h>

Public Member Functions

 idx2 (int I, int J, int line=-1)
int operator() (int i, int j) const
void rev (int pos, int &i, int &j) const

Data Fields

const int I_
const int J_
const int size
const int line_

Detailed Description

Definition at line 7 of file idx.h.

Constructor & Destructor Documentation

◆ idx2()

kernels::idx2::idx2 ( int I,
int J,
int line = -1 )

Definition at line 8 of file idx.h.

References I_, J_, line_, and size.

Member Function Documentation

◆ operator()()

int kernels::idx2::operator() ( int i,
int j ) const

Definition at line 10 of file idx.h.

References I_, J_, and line_.

◆ rev()

void kernels::idx2::rev ( int pos,
int & i,
int & j ) const

Definition at line 16 of file idx.h.

References J_, and size.

Field Documentation

◆ I_

const int kernels::idx2::I_

Definition at line 22 of file idx.h.

Referenced by idx2(), and operator()().

◆ J_

const int kernels::idx2::J_

Definition at line 22 of file idx.h.

Referenced by idx2(), operator()(), and rev().

◆ line_

const int kernels::idx2::line_

Definition at line 22 of file idx.h.

Referenced by idx2(), and operator()().

◆ size

const int kernels::idx2::size

Definition at line 22 of file idx.h.

Referenced by idx2(), and rev().


The documentation for this struct was generated from the following file:
  • applications/exahype2/exaseis/ExaSeis_core/Numerics/idx.h