Block-Structured AMR Software Framework
AMReX_Array.H File Reference
#include <AMReX_Config.H>
#include <AMReX.H>
#include <AMReX_GpuQualifiers.H>
#include <AMReX_GpuControl.H>
#include <AMReX_BLassert.H>
#include <AMReX_SPACE.H>
#include <AMReX_REAL.H>
#include <AMReX_Algorithm.H>
#include <AMReX_Dim3.H>
#include <AMReX_SmallMatrix.H>
#include <array>
#include <memory>
#include <utility>
#include <string>
#include <type_traits>

Go to the source code of this file.

Classes

struct  amrex::GpuArray< T, N >
 
struct  amrex::Array1D< T, XLO, XHI >
 
struct  amrex::Array2D< T, XLO, XHI, YLO, YHI, ORDER >
 
struct  amrex::Array3D< T, XLO, XHI, YLO, YHI, ZLO, ZHI, ORDER >
 

Namespaces

 amrex
 

Typedefs

template<class T , std::size_t N>
using amrex::Array = std::array< T, N >
 
using amrex::RealArray = Array< Real, AMREX_SPACEDIM >
 
using amrex::IntArray = Array< int, AMREX_SPACEDIM >
 

Functions

template<class T , typename = typename T::FABType>
std::array< T *, AMREX_SPACEDIM > amrex::GetArrOfPtrs (std::array< T, AMREX_SPACEDIM > &a) noexcept
 
template<class T >
std::array< T *, AMREX_SPACEDIM > amrex::GetArrOfPtrs (const std::array< std::unique_ptr< T >, AMREX_SPACEDIM > &a) noexcept
 
template<class T >
std::array< T const *, AMREX_SPACEDIM > amrex::GetArrOfConstPtrs (const std::array< T, AMREX_SPACEDIM > &a) noexcept
 
template<class T >
std::array< T const *, AMREX_SPACEDIM > amrex::GetArrOfConstPtrs (const std::array< T *, AMREX_SPACEDIM > &a) noexcept
 
template<class T >
std::array< T const *, AMREX_SPACEDIM > amrex::GetArrOfConstPtrs (const std::array< std::unique_ptr< T >, AMREX_SPACEDIM > &a) noexcept
 
XDim3 amrex::makeXDim3 (const Array< Real, AMREX_SPACEDIM > &a) noexcept