Panzer Version of the Day
Loading...
Searching...
No Matches
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.
 
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.
 
const PHX::MDField< Scalar, Cell, NODE, Dim > & getVertexCoordinates () const
 Return the vertex coordinates this class uses (Cell,NODE,Dim) sized.
 

Public Attributes

PHX::MDField< Scalar, IP, Dimcoords_ref
 
PHX::MDField< Scalar, Cell, NODE, Dimnode_coordinates
 
PHX::MDField< Scalar, Cell, IP, Dim, Dimjac
 
PHX::MDField< Scalar, Cell, IP, Dim, Dimjac_inv
 
PHX::MDField< Scalar, Cell, IPjac_det
 
PHX::MDField< Scalar, Cell, IP, Dimpoint_coords
 
Teuchos::RCP< const panzer::PointRulepoint_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

◆ 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 149 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 90 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,
const int  in_num_cells = -1 
)
inline

Evaluate the 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,
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 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.

◆ getRefCoordinates()

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

◆ getVertexCoordinates()

template<typename Scalar >
const 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.

◆ evaluateValues() [3/3]

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

Definition at line 119 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 145 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 162 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 120 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 121 of file Panzer_PointValues2.hpp.

◆ jac

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

Definition at line 124 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 125 of file Panzer_PointValues2.hpp.

◆ jac_det

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

Definition at line 126 of file Panzer_PointValues2.hpp.

◆ point_coords

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

Definition at line 127 of file Panzer_PointValues2.hpp.

◆ point_rule

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

Definition at line 129 of file Panzer_PointValues2.hpp.

◆ alloc_arrays_

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

Definition at line 140 of file Panzer_PointValues2.hpp.

◆ prefix_

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

Definition at line 141 of file Panzer_PointValues2.hpp.

◆ ddims_

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: