/home/runner/work/amr-wind/amr-wind/amr-wind/utilities/DirectionSelector.H File Reference

AMR-Wind API: /home/runner/work/amr-wind/amr-wind/amr-wind/utilities/DirectionSelector.H File Reference
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
DirectionSelector.H File Reference
#include "AMReX_Box.H"
#include "AMReX_Gpu.H"
Include dependency graph for DirectionSelector.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  DirectionSelector< Index >
 
struct  DirectionSelector< 0 >
 
struct  DirectionSelector< 1 >
 
struct  DirectionSelector< 2 >
 

Namespaces

namespace  amr_wind
 

Typedefs

using XDir = DirectionSelector<0>
 
using YDir = DirectionSelector<1>
 
using ZDir = DirectionSelector<2>
 

Functions

template<typename IndexSelector >
AMREX_GPU_HOST_DEVICE amrex::Box perpendicular_box (const amrex::Box &bx, const amrex::IntVect &iv)
 
template<typename IndexSelector >
AMREX_GPU_HOST_DEVICE amrex::Box parallel_box (const amrex::Box &bx, const amrex::IntVect &iv)
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE int amr_wind::direction_selector (const int i, const int j, const int k, const int dir)
 

Typedef Documentation

◆ XDir

using XDir = DirectionSelector<0>

◆ YDir

using YDir = DirectionSelector<1>

◆ ZDir

using ZDir = DirectionSelector<2>

Function Documentation

◆ parallel_box()

template<typename IndexSelector >
AMREX_GPU_HOST_DEVICE amrex::Box parallel_box ( const amrex::Box & bx,
const amrex::IntVect & iv )

◆ perpendicular_box()

template<typename IndexSelector >
AMREX_GPU_HOST_DEVICE amrex::Box perpendicular_box ( const amrex::Box & bx,
const amrex::IntVect & iv )