Block-Structured AMR Software Framework
 
Loading...
Searching...
No Matches
AMReX_PODVector.H File Reference
#include <AMReX_Config.H>
#include <AMReX.H>
#include <AMReX_Arena.H>
#include <AMReX_Enum.H>
#include <AMReX_GpuLaunch.H>
#include <AMReX_GpuAllocators.H>
#include <AMReX_GpuDevice.H>
#include <AMReX_MemPool.H>
#include <AMReX_TypeTraits.H>
#include <cmath>
#include <iterator>
#include <type_traits>
#include <utility>
#include <memory>
#include <cstring>

Go to the source code of this file.

Classes

struct  amrex::GrowthStrategy_EnumTraits
 
class  amrex::PODVector< T, Allocator >
 

Namespaces

namespace  amrex
 
namespace  amrex::detail
 
namespace  amrex::VectorGrowthStrategy
 
namespace  amrex::VectorGrowthStrategy::detail
 

Enumerations

enum class  amrex::GrowthStrategy : int { amrex::Poisson , amrex::Exact , amrex::Geometric }
 

Functions

template<typename T , typename Size , template< class > class Allocator>
FatPtr< T > amrex::detail::allocate_in_place (T *p, Size nmin, Size nmax, Allocator< T > &allocator)
 
template<typename T , typename Size , template< class > class Allocator>
T * amrex::detail::shrink_in_place (T *p, Size n, Allocator< T > &allocator)
 
template<typename T , typename Size , template< class > class Allocator>
void amrex::detail::uninitializedFillNImpl (T *data, Size count, const T &value, Allocator< T > const &allocator)
 
template<typename T , template< class > class Allocator>
void amrex::detail::initFromListImpl (T *data, std::initializer_list< T > const &list, Allocator< T > const &allocator)
 
template<typename T , typename Size , template< class > class Allocator>
void amrex::detail::fillValuesImpl (T *dst, T const *src, Size count, Allocator< T > const &allocator)
 
template<typename Allocator >
void amrex::detail::memCopyImpl (void *dst, const void *src, std::size_t count, Allocator const &dst_allocator, Allocator const &src_allocator, bool sync=true)
 
template<typename Allocator >
void amrex::detail::memMoveImpl (void *dst, const void *src, std::size_t count, Allocator const &allocator)
 
template<typename T , typename Size , template< class > class Allocator>
void amrex::detail::maybe_init_snan (T *data, Size count, Allocator< T > const &allocator)
 
Real amrex::VectorGrowthStrategy::GetGrowthFactor ()
 
void amrex::VectorGrowthStrategy::SetGrowthFactor (Real a_factor)
 
void amrex::VectorGrowthStrategy::detail::ValidateUserInput ()
 
void amrex::VectorGrowthStrategy::Initialize ()
 
std::size_t amrex::grow_podvector_capacity (GrowthStrategy strategy, std::size_t new_size, std::size_t old_capacity, std::size_t sizeof_T)
 

Variables

GrowthStrategy_EnumTraits amrex::amrex_get_enum_traits (GrowthStrategy)