Block-Structured AMR Software Framework
amrex::PolymorphicArenaWrapper Struct Reference

#include <AMReX_GpuAllocators.H>

Public Member Functions

constexpr PolymorphicArenaWrapper ()=default
 
constexpr PolymorphicArenaWrapper (Arena *a_arena)
 
Arenaarena () const noexcept
 

Public Attributes

Arenam_arena = nullptr
 

Constructor & Destructor Documentation

◆ PolymorphicArenaWrapper() [1/2]

constexpr amrex::PolymorphicArenaWrapper::PolymorphicArenaWrapper ( )
constexprdefault

◆ PolymorphicArenaWrapper() [2/2]

constexpr amrex::PolymorphicArenaWrapper::PolymorphicArenaWrapper ( Arena a_arena)
inlineexplicitconstexpr

Member Function Documentation

◆ arena()

Arena* amrex::PolymorphicArenaWrapper::arena ( ) const
inlinenoexcept

Member Data Documentation

◆ m_arena

Arena* amrex::PolymorphicArenaWrapper::m_arena = nullptr

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