Block-Structured AMR Software Framework
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches
amrex::TagVector< TagType > Struct Template Reference

#include <AMReX_TagParallelFor.H>

Public Member Functions

 TagVector ()=default
 
 TagVector (Vector< TagType > const &tags)
 
 ~TagVector ()
 
 TagVector (const TagVector &other)=delete
 
TagVectoroperator= (const TagVector &other)=delete
 
 TagVector (TagVector &&other) noexcept
 
TagVectoroperator= (TagVector &&other) noexcept
 
bool is_defined () const
 
void define (Vector< TagType > const &tags)
 
void undefine ()
 

Public Attributes

char * h_buffer = nullptr
 
char * d_buffer = nullptr
 
TagType * d_tags = nullptr
 
intd_nwarps = nullptr
 
int ntags = 0
 
int ntotwarps = 0
 
int nblocks = 0
 
bool defined = false
 

Static Public Attributes

static constexpr int nthreads = 256
 

Constructor & Destructor Documentation

◆ TagVector() [1/4]

template<class TagType >
amrex::TagVector< TagType >::TagVector ( )
default

◆ TagVector() [2/4]

template<class TagType >
amrex::TagVector< TagType >::TagVector ( Vector< TagType > const &  tags)
inline

◆ ~TagVector()

template<class TagType >
amrex::TagVector< TagType >::~TagVector ( )
inline

◆ TagVector() [3/4]

template<class TagType >
amrex::TagVector< TagType >::TagVector ( const TagVector< TagType > &  other)
delete

◆ TagVector() [4/4]

template<class TagType >
amrex::TagVector< TagType >::TagVector ( TagVector< TagType > &&  other)
inlinenoexcept

Member Function Documentation

◆ define()

template<class TagType >
void amrex::TagVector< TagType >::define ( Vector< TagType > const &  tags)
inline

◆ is_defined()

template<class TagType >
bool amrex::TagVector< TagType >::is_defined ( ) const
inline

◆ operator=() [1/2]

template<class TagType >
TagVector & amrex::TagVector< TagType >::operator= ( const TagVector< TagType > &  other)
delete

◆ operator=() [2/2]

template<class TagType >
TagVector & amrex::TagVector< TagType >::operator= ( TagVector< TagType > &&  other)
inlinenoexcept

◆ undefine()

template<class TagType >
void amrex::TagVector< TagType >::undefine ( )
inline

Member Data Documentation

◆ d_buffer

template<class TagType >
char* amrex::TagVector< TagType >::d_buffer = nullptr

◆ d_nwarps

template<class TagType >
int* amrex::TagVector< TagType >::d_nwarps = nullptr

◆ d_tags

template<class TagType >
TagType* amrex::TagVector< TagType >::d_tags = nullptr

◆ defined

template<class TagType >
bool amrex::TagVector< TagType >::defined = false

◆ h_buffer

template<class TagType >
char* amrex::TagVector< TagType >::h_buffer = nullptr

◆ nblocks

template<class TagType >
int amrex::TagVector< TagType >::nblocks = 0

◆ ntags

template<class TagType >
int amrex::TagVector< TagType >::ntags = 0

◆ nthreads

template<class TagType >
constexpr int amrex::TagVector< TagType >::nthreads = 256
staticconstexpr

◆ ntotwarps

template<class TagType >
int amrex::TagVector< TagType >::ntotwarps = 0

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