#include <AMReX_StructOfArrays.H>
◆ IdCPU
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
◆ IntVector
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
◆ RealVector
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
◆ define()
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
void amrex::StructOfArrays< NReal, NInt, Allocator, use64BitIdCpu >::define |
( |
int |
a_num_runtime_real, |
|
|
int |
a_num_runtime_int, |
|
|
std::vector< std::string > * |
soa_rdata_names = nullptr , |
|
|
std::vector< std::string > * |
soa_idata_names = nullptr |
|
) |
| |
|
inline |
◆ empty()
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
Returns whether the SoA is empty (i.e. has size() == 0)
◆ GetIdCPUData() [1/2]
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
◆ GetIdCPUData() [2/2]
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
Get access to the particle id/cpu Arrays
◆ GetIntData() [1/6]
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
◆ GetIntData() [2/6]
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
Get access to the particle Int Arrays (only compile-time components)
◆ GetIntData() [3/6]
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
Get access to a particle Int component Array (compile-time and runtime component)
- Parameters
-
index | component with 0...NInt-1 compile-time and NInt... runtime arguments |
◆ GetIntData() [4/6]
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
Get access to a particle Int component Array (compile-time and runtime component)
- Parameters
-
index | component with 0...NInt-1 compile-time and NInt... runtime arguments |
- Returns
◆ GetIntData() [5/6]
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
Get access to a particle Int component Array (compile-time and runtime component)
- Parameters
-
index | component with 0...NInt-1 compile-time and NInt... runtime arguments |
- Returns
◆ GetIntData() [6/6]
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
Get access to a particle Int component Array (compile-time and runtime component)
- Parameters
-
index | component with 0...NInt-1 compile-time and NInt... runtime arguments |
- Returns
◆ GetIntNames()
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
std::vector<std::string> amrex::StructOfArrays< NReal, NInt, Allocator, use64BitIdCpu >::GetIntNames |
( |
| ) |
const |
|
inline |
Get the names for the int SoA components
◆ getNumNeighbors()
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
◆ GetRealData() [1/6]
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
◆ GetRealData() [2/6]
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
Get access to the particle Real Arrays (only compile-time components)
◆ GetRealData() [3/6]
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
Get access to a particle Real component Array (compile-time and runtime component)
- Parameters
-
index | component with 0...NReal-1 compile-time and NReal... runtime arguments |
◆ GetRealData() [4/6]
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
Get access to a particle Real component Array (compile-time and runtime component)
- Parameters
-
index | component with 0...NReal-1 compile-time and NReal... runtime arguments |
◆ GetRealData() [5/6]
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
Get access to a particle Real component Array (compile-time and runtime component)
- Parameters
-
name | named component component with 0...NReal-1 compile-time and NReal... runtime arguments |
◆ GetRealData() [6/6]
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
Get access to a particle Real component Array (compile-time and runtime component)
- Parameters
-
name | named component component with 0...NReal-1 compile-time and NReal... runtime arguments |
◆ GetRealNames()
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
std::vector<std::string> amrex::StructOfArrays< NReal, NInt, Allocator, use64BitIdCpu >::GetRealNames |
( |
| ) |
const |
|
inline |
Get the names for the real SoA components
◆ idcpuarray()
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
◆ intarray()
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
◆ NumIntComps()
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
◆ numNeighborParticles()
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
Returns the number of neighbor particles (excluding reals)
◆ numParticles()
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
Returns the number of real particles (excluding neighbors)
◆ NumRealComps()
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
◆ numRealParticles()
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
Returns the number of real particles (excluding neighbors)
◆ numTotalParticles()
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
Returns the total number of particles (real and neighbor)
◆ realarray()
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
◆ resize()
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
◆ setNumNeighbors()
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
◆ size()
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
Returns the total number of particles (real and neighbor)
◆ m_defined
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
whether the runtime components are sized correctly
◆ m_idata
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
◆ m_idata_names
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
std::vector<std::string>* amrex::StructOfArrays< NReal, NInt, Allocator, use64BitIdCpu >::m_idata_names = nullptr |
|
private |
◆ m_idcpu
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
◆ m_num_neighbor_particles
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
◆ m_rdata
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
◆ m_rdata_names
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
std::vector<std::string>* amrex::StructOfArrays< NReal, NInt, Allocator, use64BitIdCpu >::m_rdata_names = nullptr |
|
private |
◆ m_runtime_idata
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
◆ m_runtime_rdata
template<int NReal, int NInt, template< class > class Allocator = DefaultAllocator, bool use64BitIdCpu = false>
The documentation for this struct was generated from the following file: