Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
orient_t Class Reference

#include <gridutil.h>

Public Member Functions

int & operator[] (int i)
 
const int & operator[] (int i) const
 
orient_t inverse (void) const
 

Private Attributes

int orient [3]
 

Detailed Description

Definition at line 77 of file gridutil.h.

Member Function Documentation

orient_t inverse ( void  ) const
inline

Definition at line 82 of file gridutil.h.

References i, and orient.

Referenced by face::buildPatches().

82  {
83  orient_t ret;
84  for (int i=0;i<3;i++) ret.orient[orient[i]]=i;
85  return ret;
86  }
blockLoc i
Definition: read.cpp:79
int orient[3]
Definition: gridutil.h:78

Here is the caller graph for this function:

int& operator[] ( int  i)
inline

Definition at line 80 of file gridutil.h.

References i, and orient.

80 {return orient[i];}
blockLoc i
Definition: read.cpp:79
int orient[3]
Definition: gridutil.h:78
const int& operator[] ( int  i) const
inline

Definition at line 81 of file gridutil.h.

References i, and orient.

81 {return orient[i];}
blockLoc i
Definition: read.cpp:79
int orient[3]
Definition: gridutil.h:78

Member Data Documentation

int orient[3]
private

Definition at line 78 of file gridutil.h.

Referenced by face::buildPatches(), inverse(), and operator[]().


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