Default DataLayout implementation that allows for runtime sizing.  
 More...
#include <Phalanx_DataLayout_DynamicLayout.hpp>
 | 
| 
using  | KokkosLayout = PHX::DataLayout::KokkosLayoutType | 
|   | 
| enum class   | KokkosLayoutType { Left
, Right
, Default
 } | 
|   | Defines the kokkos layout to use. Default uses the recommended layout from the default device execution space. 
  | 
|   | 
| 
typedef PHX::Device::size_type  | size_type | 
|   | 
 | 
| 
  | Layout (const std::string &id="") | 
|   | 
| 
template<typename... extent_pack>  | 
|   | Layout (const std::string &id, extent_pack... extents) | 
|   | 
| 
template<typename... extent_pack>  | 
| void  | setExtents (extent_pack... extents) | 
|   | 
| 
virtual void  | setKokkosLayout (const PHX::DataLayout::KokkosLayoutType &klt) | 
|   | 
| virtual bool  | operator== (const DataLayout &src) const override | 
|   | 
| virtual PHX::Device::size_type  | rank () const override | 
|   | 
| virtual PHX::Device::size_type  | dimension (size_type ordinal) const override | 
|   | 
| virtual PHX::Device::size_type  | extent (size_type ordinal) const override | 
|   | 
| virtual int  | extent_int (size_type ordinal) const override | 
|   | 
| virtual void  | dimensions (std::vector< PHX::Device::size_type > &dim) const override | 
|   | 
| virtual PHX::Device::size_type  | size () const override | 
|   | 
| virtual std::string  | name (size_type ordinal) const override | 
|   | 
| virtual void  | names (std::vector< std::string > &names) const override | 
|   | 
| virtual PHX::DataLayout::KokkosLayoutType  | kokkosLayout () const override | 
|   | 
| virtual std::string  | identifier () const override | 
|   | Unique name identifier that can be used for strict weak ordering in stl std::map keys.  
  | 
|   | 
| virtual void  | print (std::ostream &os, int offset) const override | 
|   | 
| 
virtual bool  | operator!= (const DataLayout &left) const | 
|   | 
| 
template<typename... extent_pack>  | 
| void  | setExtents (extent_pack... extents) | 
|   | 
Default DataLayout implementation that allows for runtime sizing. 
 
◆ dimension()
  
  
      
        
          | PHX::Device::size_type PHX::Layout::dimension  | 
          ( | 
          size_type  | 
          ordinal | ) | 
           const | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ dimensions()
  
  
      
        
          | void PHX::Layout::dimensions  | 
          ( | 
          std::vector< PHX::Device::size_type > &  | 
          dim | ) | 
           const | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ extent()
  
  
      
        
          | PHX::Device::size_type PHX::Layout::extent  | 
          ( | 
          size_type  | 
          ordinal | ) | 
           const | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ extent_int()
  
  
      
        
          | int PHX::Layout::extent_int  | 
          ( | 
          size_type  | 
          ordinal | ) | 
           const | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ identifier()
  
  
      
        
          | std::string PHX::Layout::identifier  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
overridevirtual   | 
  
 
Unique name identifier that can be used for strict weak ordering in stl std::map keys. 
Implements PHX::DataLayout.
 
 
◆ kokkosLayout()
◆ name()
  
  
      
        
          | std::string PHX::Layout::name  | 
          ( | 
          size_type  | 
          ordinal | ) | 
           const | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ names()
  
  
      
        
          | void PHX::Layout::names  | 
          ( | 
          std::vector< std::string > &  | 
          names | ) | 
           const | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ operator==()
  
  
      
        
          | bool PHX::Layout::operator==  | 
          ( | 
          const DataLayout &  | 
          src | ) | 
           const | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ print()
  
  
      
        
          | void PHX::Layout::print  | 
          ( | 
          std::ostream &  | 
          os,  | 
         
        
           | 
           | 
          int  | 
          offset  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ rank()
  
  
      
        
          | PHX::Device::size_type PHX::Layout::rank  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ setExtentsOnDerivedClass()
  
  
      
        
          | void PHX::Layout::setExtentsOnDerivedClass  | 
          ( | 
          const std::vector< PHX::Device::size_type > &  | 
          extents | ) | 
           | 
         
       
   | 
  
overrideprotectedvirtual   | 
  
 
 
◆ size()
  
  
      
        
          | PHX::Device::size_type PHX::Layout::size  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
overridevirtual   | 
  
 
 
The documentation for this class was generated from the following files:
- Phalanx_DataLayout_DynamicLayout.hpp
 
- Phalanx_DataLayout_DynamicLayout.cpp