IPPL (Independent Parallel Particle Layer)
IPPL
Loading...
Searching...
No Matches
ippl::detail::ContainerForAllSpaces< Type > Struct Template Reference

#include <TypeUtils.h>

Inheritance diagram for ippl::detail::ContainerForAllSpaces< Type >:
Collaboration diagram for ippl::detail::ContainerForAllSpaces< Type >:

Public Types

template<typename... Spaces>
using container_type = MultispaceContainer<Type, Spaces...>
using type = typename TypeForAllSpaces<container_type>::memory_spaces_type

Static Public Member Functions

template<typename Functor>
static type createContainer (Functor &&initFunc)

Detailed Description

template<template< typename > class Type>
struct ippl::detail::ContainerForAllSpaces< Type >

Constructs a MultispaceContainer for all the available Kokkos memory spaces

Template Parameters
Typethe element type

Definition at line 408 of file TypeUtils.h.

Member Typedef Documentation

◆ container_type

template<template< typename > class Type>
template<typename... Spaces>
using ippl::detail::ContainerForAllSpaces< Type >::container_type = MultispaceContainer<Type, Spaces...>

Definition at line 410 of file TypeUtils.h.

◆ type

template<template< typename > class Type>
using ippl::detail::ContainerForAllSpaces< Type >::type = typename TypeForAllSpaces<container_type>::memory_spaces_type

Definition at line 412 of file TypeUtils.h.

Member Function Documentation

◆ createContainer()

template<template< typename > class Type>
template<typename Functor>
type ippl::detail::ContainerForAllSpaces< Type >::createContainer ( Functor && initFunc)
inlinestatic

Definition at line 416 of file TypeUtils.h.


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