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 86 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 91 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 98 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 105 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 96 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 110 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 124 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 138 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 152 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 167 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 181 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 195 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 209 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 223 of file Panzer_CommonArrayFactories_impl.hpp.

Member Data Documentation

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

Definition at line 134 of file Panzer_CommonArrayFactories.hpp.

bool panzer::MDFieldArrayFactory::allocArray_
private

Definition at line 135 of file Panzer_CommonArrayFactories.hpp.

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

Definition at line 136 of file Panzer_CommonArrayFactories.hpp.


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