/home/runner/work/amr-wind/amr-wind/amr-wind/utilities/index_operations.H File Reference
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
index_operations.H File Reference
#include <AMReX_REAL.H>
#include <AMReX_Vector.H>
#include <AMReX_Box.H>
#include <AMReX_RealBox.H>
#include <AMReX_RealVect.H>
#include <AMReX_Geometry.H>
Include dependency graph for index_operations.H:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | amr_wind |
namespace | amr_wind::utils |
Functions | |
AMREX_FORCE_INLINE int | amr_wind::utils::closest_index (const amrex::Vector< amrex::Real > &vec, const amrex::Real value, const amrex::Real tol=0.0) |
Return closest index (from lower) of value in vector. | |
template<typename T = amrex::GpuArray<int, 2>> | |
AMREX_FORCE_INLINE T | amr_wind::utils::perpendicular_idx (const int normal) |
Return indices perpendicular to normal. | |
amrex::Box | amr_wind::utils::face_aware_boundary_box_intersection (amrex::IntVect &shift_to_cc, amrex::Box grown_interior_box, const amrex::Box &domain_boundary_box, const amrex::Orientation &ori) |
amrex::Box | amr_wind::utils::face_aware_boundary_box_intersection (amrex::Box grown_interior_box, const amrex::Box &domain_boundary_box, const amrex::Orientation &ori) |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE bool | amr_wind::utils::contains (const amrex::Box &box, const amrex::RealVect &pos, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &prob_lo, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &dxinv) |
Check if a point is inside a box. | |
amrex::Box | amr_wind::utils::realbox_to_box (const amrex::RealBox &rbx, const amrex::Geometry &geom) |
Generated by 1.12.0