ABLATE Source Documentation  0.12.33
ablate::domain::ReverseRange Struct Reference

#include <reverseRange.hpp>

Public Member Functions

 ReverseRange (const ablate::domain::Range &range)
 
PetscInt GetIndex (PetscInt point) const
 
PetscInt GetAbsoluteIndex (PetscInt point) const
 

Detailed Description

Results in a mapping from the point (face/cell id) to the index in the range

Member Function Documentation

◆ GetAbsoluteIndex()

PetscInt ablate::domain::ReverseRange::GetAbsoluteIndex ( PetscInt  point) const
inline

Get the absolute index for this point. This always starts at zero

Parameters
point
Returns

◆ GetIndex()

PetscInt ablate::domain::ReverseRange::GetIndex ( PetscInt  point) const
inline

Get the index for point i

Parameters
point
Returns

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