Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
panzer::MDFieldArrayFactory Class Reference

#include <Panzer_CommonArrayFactories.hpp>

Public Member Functions

 MDFieldArrayFactory ()
 
 MDFieldArrayFactory (const std::string &prefix, bool allocArray=false)
 
 MDFieldArrayFactory (const std::string &prefix, const std::vector< PHX::index_size_type > &ddims, bool allocArray=false)
 
template<typename Scalar , typename T0 >
PHX::MDField< Scalar > buildArray (const std::string &str, int d0) const
 
template<typename Scalar , typename T0 , typename T1 >
PHX::MDField< Scalar > buildArray (const std::string &str, int d0, int d1) const
 
template<typename Scalar , typename T0 , typename T1 , typename T2 >
PHX::MDField< Scalar > buildArray (const std::string &str, int d0, int d1, int d2) const
 
template<typename Scalar , typename T0 , typename T1 , typename T2 , typename T3 >
PHX::MDField< Scalar > buildArray (const std::string &str, int d0, int d1, int d2, int d3) const
 
template<typename Scalar , typename T0 , typename T1 , typename T2 , typename T3 , typename T4 >
PHX::MDField< Scalar > buildArray (const std::string &str, int d0, int d1, int d2, int d3, int d4) const
 
template<typename Scalar , typename T0 >
PHX::MDField< Scalar, T0 > buildStaticArray (const std::string &str, int d0) const
 
template<typename Scalar , typename T0 , typename T1 >
PHX::MDField< Scalar, T0, T1 > buildStaticArray (const std::string &str, int d0, int d1) const
 
template<typename Scalar , typename T0 , typename T1 , typename T2 >
PHX::MDField< Scalar, T0, T1, T2 > buildStaticArray (const std::string &str, int d0, int d1, int d2) const
 
template<typename Scalar , typename T0 , typename T1 , typename T2 , typename T3 >
PHX::MDField< Scalar, T0, T1,
T2, T3 > 
buildStaticArray (const std::string &str, int d0, int d1, int d2, int d3) const
 
template<typename Scalar , typename T0 , typename T1 , typename T2 , typename T3 , typename T4 >
PHX::MDField< Scalar, T0, T1,
T2, T3, T4 > 
buildStaticArray (const std::string &str, int d0, int d1, int d2, int d3, int d4) const
 

Private Attributes

std::string prefix_
 
bool allocArray_
 
std::vector< PHX::index_size_type > ddims_
 

Detailed Description

Implementation for MDField array factory. This is intended to be used only with the BasisValues and IntegrationValues objects.

Definition at line 54 of file Panzer_CommonArrayFactories.hpp.

Constructor & Destructor Documentation

panzer::MDFieldArrayFactory::MDFieldArrayFactory ( )
inline

Build fields with no prefix, will simply use the string passed into buildArray to name the fields.

Definition at line 59 of file Panzer_CommonArrayFactories.hpp.

panzer::MDFieldArrayFactory::MDFieldArrayFactory ( const std::string &  prefix,
bool  allocArray = false 
)
inline

Build fields with a prefix, will use the string passed into buildArray prefixed with the argument to this constructor to name the fields.

Definition at line 66 of file Panzer_CommonArrayFactories.hpp.

panzer::MDFieldArrayFactory::MDFieldArrayFactory ( const std::string &  prefix,
const std::vector< PHX::index_size_type > &  ddims,
bool  allocArray = false 
)
inline

Build fields with a prefix, will use the string passed into buildArray prefixed with the argument to this constructor to name the fields.

Definition at line 73 of file Panzer_CommonArrayFactories.hpp.

Member Function Documentation

template<typename Scalar , typename T0 >
PHX::MDField< Scalar > panzer::MDFieldArrayFactory::buildArray ( const std::string &  str,
int  d0 
) const

Definition at line 64 of file Panzer_CommonArrayFactories_impl.hpp.

template<typename Scalar , typename T0 , typename T1 >
PHX::MDField< Scalar > panzer::MDFieldArrayFactory::buildArray ( const std::string &  str,
int  d0,
int  d1 
) const

Definition at line 78 of file Panzer_CommonArrayFactories_impl.hpp.

template<typename Scalar , typename T0 , typename T1 , typename T2 >
PHX::MDField< Scalar > panzer::MDFieldArrayFactory::buildArray ( const std::string &  str,
int  d0,
int  d1,
int  d2 
) const

Definition at line 92 of file Panzer_CommonArrayFactories_impl.hpp.

template<typename Scalar , typename T0 , typename T1 , typename T2 , typename T3 >
PHX::MDField< Scalar > panzer::MDFieldArrayFactory::buildArray ( const std::string &  str,
int  d0,
int  d1,
int  d2,
int  d3 
) const

Definition at line 106 of file Panzer_CommonArrayFactories_impl.hpp.

template<typename Scalar , typename T0 , typename T1 , typename T2 , typename T3 , typename T4 >
PHX::MDField< Scalar > panzer::MDFieldArrayFactory::buildArray ( const std::string &  str,
int  d0,
int  d1,
int  d2,
int  d3,
int  d4 
) const

Definition at line 120 of file Panzer_CommonArrayFactories_impl.hpp.

template<typename Scalar , typename T0 >
PHX::MDField< Scalar, T0 > panzer::MDFieldArrayFactory::buildStaticArray ( const std::string &  str,
int  d0 
) const

Definition at line 135 of file Panzer_CommonArrayFactories_impl.hpp.

template<typename Scalar , typename T0 , typename T1 >
PHX::MDField< Scalar, T0, T1 > panzer::MDFieldArrayFactory::buildStaticArray ( const std::string &  str,
int  d0,
int  d1 
) const

Definition at line 149 of file Panzer_CommonArrayFactories_impl.hpp.

template<typename Scalar , typename T0 , typename T1 , typename T2 >
PHX::MDField< Scalar, T0, T1, T2 > panzer::MDFieldArrayFactory::buildStaticArray ( const std::string &  str,
int  d0,
int  d1,
int  d2 
) const

Definition at line 163 of file Panzer_CommonArrayFactories_impl.hpp.

template<typename Scalar , typename T0 , typename T1 , typename T2 , typename T3 >
PHX::MDField< Scalar, T0, T1, T2, T3 > panzer::MDFieldArrayFactory::buildStaticArray ( const std::string &  str,
int  d0,
int  d1,
int  d2,
int  d3 
) const

Definition at line 177 of file Panzer_CommonArrayFactories_impl.hpp.

template<typename Scalar , typename T0 , typename T1 , typename T2 , typename T3 , typename T4 >
PHX::MDField< Scalar, T0, T1, T2, T3, T4 > panzer::MDFieldArrayFactory::buildStaticArray ( const std::string &  str,
int  d0,
int  d1,
int  d2,
int  d3,
int  d4 
) const

Definition at line 191 of file Panzer_CommonArrayFactories_impl.hpp.

Member Data Documentation

std::string panzer::MDFieldArrayFactory::prefix_
private

Definition at line 102 of file Panzer_CommonArrayFactories.hpp.

bool panzer::MDFieldArrayFactory::allocArray_
private

Definition at line 103 of file Panzer_CommonArrayFactories.hpp.

std::vector<PHX::index_size_type> panzer::MDFieldArrayFactory::ddims_
private

Definition at line 104 of file Panzer_CommonArrayFactories.hpp.


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