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

#include <Panzer_PointValues2.hpp>

Inheritance diagram for panzer::PointValues2< Scalar >:
Inheritance graph
[legend]

Public Types

typedef ArrayTraits< Scalar,
PHX::MDField< Scalar >
>::size_type 
size_type
 

Public Member Functions

template<typename SourceScalar >
PointValues2< Scalar > & operator= (const PointValues2< SourceScalar > &source)
 
 PointValues2 (const std::string &pre="", bool allocArrays=false)
 
 PointValues2 (const std::string &pre, const std::vector< PHX::index_size_type > &ddims, bool allocArrays=false)
 
void setupArrays (const Teuchos::RCP< const panzer::PointRule > &pr)
 Sizes/allocates memory for arrays. More...
 
template<typename CoordinateArray , typename PointArray >
void evaluateValues (const CoordinateArray &node_coords, const PointArray &in_point_coords, const int in_num_cells=-1)
 
template<typename PointArray >
void evaluateValues (const PHX::MDField< Scalar, Cell, NODE, Dim > &node_coords, const PointArray &in_point_coords, bool shallow_copy_nodes, const int in_num_cells=-1)
 
PHX::MDField< Scalar, IP, Dim > & getRefCoordinates () const
 Return reference cell coordinates this class uses (IP,Dim) sized. More...
 
PHX::MDField< Scalar, Cell,
NODE, Dim > & 
getVertexCoordinates () const
 Return the vertex coordinates this class uses (Cell,NODE,Dim) sized. More...
 

Public Attributes

PHX::MDField< Scalar, IP, Dim > coords_ref
 
PHX::MDField< Scalar, Cell,
NODE, Dim > 
node_coordinates
 
PHX::MDField< Scalar, Cell, IP,
Dim, Dim > 
jac
 
PHX::MDField< Scalar, Cell, IP,
Dim, Dim > 
jac_inv
 
PHX::MDField< Scalar, Cell, IP > jac_det
 
PHX::MDField< Scalar, Cell, IP,
Dim > 
point_coords
 
Teuchos::RCP< const
panzer::PointRule
point_rule
 

Private Member Functions

void evaluateValues (const int in_num_cells)
 
template<typename CoordinateArray >
void copyNodeCoords (const CoordinateArray &in_node_coords)
 
template<typename CoordinateArray >
void copyPointCoords (const CoordinateArray &in_point_coords)
 

Private Attributes

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

Detailed Description

template<typename Scalar>
class panzer::PointValues2< Scalar >

Definition at line 57 of file Panzer_PointValues2.hpp.

Member Typedef Documentation

template<typename Scalar>
typedef ArrayTraits<Scalar, PHX::MDField<Scalar> >::size_type panzer::PointValues2< Scalar >::size_type

Definition at line 59 of file Panzer_PointValues2.hpp.

Constructor & Destructor Documentation

template<typename Scalar>
panzer::PointValues2< Scalar >::PointValues2 ( const std::string &  pre = "",
bool  allocArrays = false 
)
inline

Definition at line 65 of file Panzer_PointValues2.hpp.

template<typename Scalar>
panzer::PointValues2< Scalar >::PointValues2 ( const std::string &  pre,
const std::vector< PHX::index_size_type > &  ddims,
bool  allocArrays = false 
)
inline

Definition at line 69 of file Panzer_PointValues2.hpp.

Member Function Documentation

template<typename Scalar >
template<typename SourceScalar >
PointValues2< Scalar > & panzer::PointValues2< Scalar >::operator= ( const PointValues2< SourceScalar > &  source)

Definition at line 149 of file Panzer_PointValues2.hpp.

template<typename Scalar >
void panzer::PointValues2< Scalar >::setupArrays ( const Teuchos::RCP< const panzer::PointRule > &  pr)

Sizes/allocates memory for arrays.

Definition at line 58 of file Panzer_PointValues2_impl.hpp.

template<typename Scalar>
template<typename CoordinateArray , typename PointArray >
void panzer::PointValues2< Scalar >::evaluateValues ( const CoordinateArray &  node_coords,
const PointArray &  in_point_coords,
const int  in_num_cells = -1 
)
inline

Evaluate teh jacobian and derivative information at the requested reference points.

Parameters
[in]node_coordsCell vertices
[in]point_coordsReference cell coordinates

Definition at line 84 of file Panzer_PointValues2.hpp.

template<typename Scalar>
template<typename PointArray >
void panzer::PointValues2< Scalar >::evaluateValues ( const PHX::MDField< Scalar, Cell, NODE, Dim > &  node_coords,
const PointArray &  in_point_coords,
bool  shallow_copy_nodes,
const int  in_num_cells = -1 
)
inline

Evaluate teh jacobian and derivative information at the requested reference points. This version allows a shallow copy of the vertex coordinates.

Parameters
[in]node_coordsCell vertices
[in]point_coordsReference cell coordinates
[in]shallow_copy_nodesEnable or disable a shallow copy of the vertices

Definition at line 99 of file Panzer_PointValues2.hpp.

template<typename Scalar>
PHX::MDField<Scalar,IP,Dim>& panzer::PointValues2< Scalar >::getRefCoordinates ( ) const
inline

Return reference cell coordinates this class uses (IP,Dim) sized.

Definition at line 111 of file Panzer_PointValues2.hpp.

template<typename Scalar>
PHX::MDField<Scalar,Cell,NODE,Dim>& panzer::PointValues2< Scalar >::getVertexCoordinates ( ) const
inline

Return the vertex coordinates this class uses (Cell,NODE,Dim) sized.

Definition at line 115 of file Panzer_PointValues2.hpp.

template<typename Scalar >
void panzer::PointValues2< Scalar >::evaluateValues ( const int  in_num_cells)
private

Definition at line 87 of file Panzer_PointValues2_impl.hpp.

template<typename Scalar >
template<typename CoordinateArray >
void panzer::PointValues2< Scalar >::copyNodeCoords ( const CoordinateArray &  in_node_coords)
private

Definition at line 113 of file Panzer_PointValues2_impl.hpp.

template<typename Scalar >
template<typename CoordinateArray >
void panzer::PointValues2< Scalar >::copyPointCoords ( const CoordinateArray &  in_point_coords)
private

Definition at line 131 of file Panzer_PointValues2_impl.hpp.

Member Data Documentation

template<typename Scalar>
PHX::MDField<Scalar,IP,Dim> panzer::PointValues2< Scalar >::coords_ref
mutable

Definition at line 120 of file Panzer_PointValues2.hpp.

template<typename Scalar>
PHX::MDField<Scalar,Cell,NODE,Dim> panzer::PointValues2< Scalar >::node_coordinates
mutable

Definition at line 121 of file Panzer_PointValues2.hpp.

template<typename Scalar>
PHX::MDField<Scalar,Cell,IP,Dim,Dim> panzer::PointValues2< Scalar >::jac

Definition at line 124 of file Panzer_PointValues2.hpp.

template<typename Scalar>
PHX::MDField<Scalar,Cell,IP,Dim,Dim> panzer::PointValues2< Scalar >::jac_inv

Definition at line 125 of file Panzer_PointValues2.hpp.

template<typename Scalar>
PHX::MDField<Scalar,Cell,IP> panzer::PointValues2< Scalar >::jac_det

Definition at line 126 of file Panzer_PointValues2.hpp.

template<typename Scalar>
PHX::MDField<Scalar,Cell,IP,Dim> panzer::PointValues2< Scalar >::point_coords

Definition at line 127 of file Panzer_PointValues2.hpp.

template<typename Scalar>
Teuchos::RCP<const panzer::PointRule> panzer::PointValues2< Scalar >::point_rule

Definition at line 129 of file Panzer_PointValues2.hpp.

template<typename Scalar>
bool panzer::PointValues2< Scalar >::alloc_arrays_
private

Definition at line 140 of file Panzer_PointValues2.hpp.

template<typename Scalar>
std::string panzer::PointValues2< Scalar >::prefix_
private

Definition at line 141 of file Panzer_PointValues2.hpp.

template<typename Scalar>
std::vector<PHX::index_size_type> panzer::PointValues2< Scalar >::ddims_
private

Definition at line 142 of file Panzer_PointValues2.hpp.


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