Phalanx  Development
 All Classes Functions Variables Typedefs Friends Pages
Public Member Functions | Protected Member Functions | List of all members
PHX::Layout Class Reference

Default DataLayout implementation that allows for runtime sizing. More...

#include <Phalanx_DataLayout_DynamicLayout.hpp>

Inheritance diagram for PHX::Layout:
Inheritance graph
[legend]
Collaboration diagram for PHX::Layout:
Collaboration graph
[legend]

Public Member Functions

 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 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 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
 

Additional Inherited Members

- Public Types inherited from PHX::DataLayout
typedef PHX::Device::size_type size_type
 

Detailed Description

Default DataLayout implementation that allows for runtime sizing.


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