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)
 
const PHX::MDField< Scalar, IP,
Dim > & 
getRefCoordinates () const
 Return reference cell coordinates this class uses (IP,Dim) sized. More...
 
const PHX::MDField< Scalar,
Cell, NODE, Dim > & 
getVertexCoordinates () const
 
const PHX::MDField< Scalar,
Cell, NODE, Dim > & 
getNodeCoordinates () const
 Return the node coordinates this class uses (Cell,NODE,Dim) sized. More...
 

Public Attributes

PHX::MDField< Scalar, IP, Dimcoords_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, IPjac_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 25 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 27 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 33 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 37 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 123 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 59 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 the jacobian and derivative information at the requested reference points.

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

Definition at line 52 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 the jacobian and derivative information at the requested reference points. This version allows a shallow copy of the node coordinates.

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

Definition at line 67 of file Panzer_PointValues2.hpp.

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

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

Definition at line 79 of file Panzer_PointValues2.hpp.

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

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

Definition at line 84 of file Panzer_PointValues2.hpp.

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

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

Definition at line 89 of file Panzer_PointValues2.hpp.

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

Definition at line 88 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 114 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 94 of file Panzer_PointValues2.hpp.

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

Definition at line 95 of file Panzer_PointValues2.hpp.

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

Definition at line 98 of file Panzer_PointValues2.hpp.

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

Definition at line 99 of file Panzer_PointValues2.hpp.

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

Definition at line 100 of file Panzer_PointValues2.hpp.

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

Definition at line 101 of file Panzer_PointValues2.hpp.

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

Definition at line 103 of file Panzer_PointValues2.hpp.

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

Definition at line 114 of file Panzer_PointValues2.hpp.

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

Definition at line 115 of file Panzer_PointValues2.hpp.

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

Definition at line 116 of file Panzer_PointValues2.hpp.


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