|
chombo-discharge
|
Namespace for encapsulating various data centerings. More...
Enumerations | |
| enum class | Cell { Center , Centroid , Boundary } |
| Enum for distinguishing between cell locations. | |
| enum class | Face { Center , Centroid , Boundary } |
| Enum for distinguishing between face locations. | |
Functions | |
| RealVect | position (const Location::Cell a_location, const VolIndex &a_vof, const EBISBox &a_ebisbox, const Real &a_dx) |
| Compute the position (ignoring the "origin) of a Vof. | |
| RealVect | position (const Location::Face a_location, const FaceIndex &a_face, const EBISBox &a_ebisbox, const Real &a_dx) |
| Compute the position (ignoring the "origin) of a FaceIndex. | |
Namespace for encapsulating various data centerings.
|
inline |
Compute the position (ignoring the "origin) of a Vof.
| [in] | a_location | Position within the grid cell (e.g. center, centroid, boundary). |
| [in] | a_vof | VolIndex to compute the position of |
| [in] | a_ebisbox | EBISBox |
| [in] | a_dx | Grid resolution |
|
inline |
Compute the position (ignoring the "origin) of a FaceIndex.
| [in] | a_location | Position within the grid cell (e.g. face center, face centroid) |
| [in] | a_face | Face |
| [in] | a_ebisbox | EBISBox |
| [in] | a_dx | Grid resolution |