Panzer  Version of the Day
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)
 
template<typename PointArray >
void evaluateValues (const PHX::MDField< Scalar, Cell, NODE, Dim > &node_coords, const PointArray &in_point_coords, bool shallow_copy_nodes)
 
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::PointRulepoint_rule
 

Private Member Functions

void evaluateValues ()
 
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

◆ size_type

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

◆ PointValues2() [1/2]

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

Definition at line 65 of file Panzer_PointValues2.hpp.

◆ PointValues2() [2/2]

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

◆ operator=()

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

Definition at line 147 of file Panzer_PointValues2.hpp.

◆ setupArrays()

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.

◆ evaluateValues() [1/3]

template<typename Scalar>
template<typename CoordinateArray , typename PointArray >
void panzer::PointValues2< Scalar >::evaluateValues ( const CoordinateArray &  node_coords,
const PointArray &  in_point_coords 
)
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.

◆ evaluateValues() [2/3]

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 
)
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 98 of file Panzer_PointValues2.hpp.

◆ getRefCoordinates()

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 109 of file Panzer_PointValues2.hpp.

◆ getVertexCoordinates()

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 113 of file Panzer_PointValues2.hpp.

◆ evaluateValues() [3/3]

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

Definition at line 87 of file Panzer_PointValues2_impl.hpp.

◆ copyNodeCoords()

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

Definition at line 106 of file Panzer_PointValues2_impl.hpp.

◆ copyPointCoords()

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

Definition at line 124 of file Panzer_PointValues2_impl.hpp.

Member Data Documentation

◆ coords_ref

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

Definition at line 118 of file Panzer_PointValues2.hpp.

◆ node_coordinates

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

Definition at line 119 of file Panzer_PointValues2.hpp.

◆ jac

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

Definition at line 122 of file Panzer_PointValues2.hpp.

◆ jac_inv

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

Definition at line 123 of file Panzer_PointValues2.hpp.

◆ jac_det

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

Definition at line 124 of file Panzer_PointValues2.hpp.

◆ point_coords

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

Definition at line 125 of file Panzer_PointValues2.hpp.

◆ point_rule

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

Definition at line 127 of file Panzer_PointValues2.hpp.

◆ alloc_arrays_

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

Definition at line 138 of file Panzer_PointValues2.hpp.

◆ prefix_

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

Definition at line 139 of file Panzer_PointValues2.hpp.

◆ ddims_

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

Definition at line 140 of file Panzer_PointValues2.hpp.


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