Phalanx  Development
 All Classes Functions Variables Typedefs Friends Pages
Public Types | Public Member Functions | Protected Member Functions | List of all members
PHX::MDALayout< Tag0, Tag1, Tag2, Tag3, Tag4, Tag5, Tag6, Tag7 > Class Template Reference

A concrete implementation of the DataLayout class for compile time checked multidimensional arrays. More...

#include <Phalanx_DataLayout_MDALayout.hpp>

Inheritance diagram for PHX::MDALayout< Tag0, Tag1, Tag2, Tag3, Tag4, Tag5, Tag6, Tag7 >:
Inheritance graph
[legend]
Collaboration diagram for PHX::MDALayout< Tag0, Tag1, Tag2, Tag3, Tag4, Tag5, Tag6, Tag7 >:
Collaboration graph
[legend]

Public Types

enum  { MaxRank = 8 }
 
enum  { Rank = tag_list::Rank }
 
typedef PHX::DLTagList< Tag0,
Tag1, Tag2, Tag3, Tag4, Tag5,
Tag6, Tag7 > 
tag_list
 
- Public Types inherited from PHX::DataLayout
typedef PHX::Device::size_type size_type
 

Public Member Functions

 MDALayout (size_type size1, size_type size2, size_type size3, size_type size4, size_type size5, size_type size6, size_type size7, size_type size8)
 
 MDALayout (size_type size1, size_type size2, size_type size3, size_type size4, size_type size5, size_type size6, size_type size7)
 
 MDALayout (size_type size1, size_type size2, size_type size3, size_type size4, size_type size5, size_type size6)
 
 MDALayout (size_type size1, size_type size2, size_type size3, size_type size4, size_type size5)
 
 MDALayout (size_type size1, size_type size2, size_type size3, size_type size4)
 
 MDALayout (size_type size1, size_type size2, size_type size3)
 
 MDALayout (size_type size1, size_type size2)
 
 MDALayout (size_type size1)
 
 MDALayout (const std::string &prefix, size_type size1, size_type size2, size_type size3, size_type size4, size_type size5, size_type size6, size_type size7, size_type size8)
 
 MDALayout (const std::string &prefix, size_type size1, size_type size2, size_type size3, size_type size4, size_type size5, size_type size6, size_type size7)
 
 MDALayout (const std::string &prefix, size_type size1, size_type size2, size_type size3, size_type size4, size_type size5, size_type size6)
 
 MDALayout (const std::string &prefix, size_type size1, size_type size2, size_type size3, size_type size4, size_type size5)
 
 MDALayout (const std::string &prefix, size_type size1, size_type size2, size_type size3, size_type size4)
 
 MDALayout (const std::string &prefix, size_type size1, size_type size2, size_type size3)
 
 MDALayout (const std::string &prefix, size_type size1, size_type size2)
 
 MDALayout (const std::string &prefix, size_type size1)
 
virtual bool operator== (const DataLayout &right) 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 std::string name (size_type ordinal) const override
 
virtual void names (std::vector< std::string > &names) const override
 
virtual PHX::Device::size_type size () 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
 
- Public Member Functions inherited from PHX::DataLayout
virtual bool operator!= (const DataLayout &left) const
 
template<typename... extent_pack>
void setExtents (extent_pack...extents)
 

Protected Member Functions

virtual void setExtentsOnDerivedClass (const std::vector< PHX::Device::size_type > &extents) override
 

Detailed Description

template<typename Tag0 = void, typename Tag1 = void, typename Tag2 = void, typename Tag3 = void, typename Tag4 = void, typename Tag5 = void, typename Tag6 = void, typename Tag7 = void>
class PHX::MDALayout< Tag0, Tag1, Tag2, Tag3, Tag4, Tag5, Tag6, Tag7 >

A concrete implementation of the DataLayout class for compile time checked multidimensional arrays.


The documentation for this class was generated from the following files: