Block-Structured AMR Software Framework
Loading...
Searching...
No Matches
AMReX_SUNMemory.H File Reference
#include <AMReX_Arena.H>
#include <AMReX_Sundials_Core.H>
#include <sundials/sundials_context.h>
#include <sundials/sundials_memory.h>

Go to the source code of this file.

Classes

class  amrex::sundials::MemoryHelper
 A SUNDIALS SUNMemoryHelper interface to the amrex::Arena. More...
 

Namespaces

namespace  amrex
 
namespace  amrex::sundials
 

Functions

MemoryHelperamrex::sundials::The_SUNMemory_Helper (int i=amrex::OpenMP::get_thread_num())
 Get the OpenMP-thread-local SUNMemoryHelper instance.
 
amrex::Arenaamrex::sundials::getArena (SUNMemoryType type)
 Return the AMReX arena used to satisfy allocations of type.
 

Detailed Description

SUNMemory helper implementations that let SUNDIALS use AMReX arenas.