ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
DirectionSelector< Index > Struct Template Reference

#include <ERF_DirectionSelector.H>

Public Member Functions

int getIndx (int i, int j, int k) const
 

Detailed Description

template<int Index>
struct DirectionSelector< Index >

Utility routines for selecting index based on direction input

Member Function Documentation

◆ getIndx()

template<int Index>
int DirectionSelector< Index >::getIndx ( int  i,
int  j,
int  k 
) const

Get the coordinate index for the selected direction.

Parameters
ix-index
jy-index
kz-index
Returns
The index corresponding to the selected direction

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