44 #ifndef PANZER_INTEGRATION_VALUES2_HPP
45 #define PANZER_INTEGRATION_VALUES2_HPP
49 #include "PanzerDiscFE_config.hpp"
53 #include "Phalanx_MDField.hpp"
54 #include "Intrepid2_Cubature.hpp"
58 template <
typename Scalar>
93 void evaluateValues(
const PHX::MDField<Scalar,Cell,NODE,Dim> & vertex_coordinates,
94 const int num_cells = -1);
110 void evaluateValues(
const PHX::MDField<Scalar,Cell,NODE,Dim> & vertex_coordinates,
111 const PHX::MDField<Scalar,Cell,IP,Dim> & other_ip_coordinates,
112 const int num_cells = -1);
163 std::vector<int> & order);
187 std::vector<PHX::index_size_type>
ddims_;
190 void getCubature(
const PHX::MDField<Scalar,Cell,NODE,Dim> & in_node_coordinates,
const int in_num_cells);
191 void getCubatureCV(
const PHX::MDField<Scalar,Cell,NODE,Dim> & in_node_coordinates,
const int in_num_cells);
192 void evaluateRemainingValues(
const PHX::MDField<Scalar,Cell,NODE,Dim> & in_node_coordinates,
const int in_num_cells);
193 void evaluateValuesCV(
const PHX::MDField<Scalar,Cell,NODE,Dim> & vertex_coordinates,
const int in_num_cells);
static void convertNormalToRotationMatrix(const Scalar normal[3], Scalar transverse[3], Scalar binormal[3])
static void uniqueCoordOrdering(Array_CellIPDim &coords, int cell, int offset, std::vector< int > &order)
Using coordinate build an arrray that specifies a unique ordering.
Array_CellIPDimDim covarient
IntegrationValues2(const std::string &pre="", bool allocArrays=false)
PHX::MDField< Scalar, Cell, IP > Array_CellIP
PHX::MDField< Scalar, Point > Array_Point
DblArrayDynamic dyn_side_cub_points
Array_CellIPDimDim jac_inv
void evaluateValuesCV(const PHX::MDField< Scalar, Cell, NODE, Dim > &vertex_coordinates, const int in_num_cells)
Array_CellIPDim ref_ip_coordinates
PHX::MDField< Scalar, IP > Array_IP
Array_CellBASISDim node_coordinates
PHX::MDField< Scalar > ArrayDynamic
void generateSurfaceCubatureValues(const PHX::MDField< Scalar, Cell, NODE, Dim > &in_node_coordinates, const int in_num_cells)
Array_CellIPDimDim surface_rotation_matrices
void swapQuadraturePoints(int cell, int a, int b)
Swap the ordering of quadrature points in a specified cell.
DblArrayDynamic dyn_cub_weights
void getCubatureCV(const PHX::MDField< Scalar, Cell, NODE, Dim > &in_node_coordinates, const int in_num_cells)
PHX::MDField< Scalar, Cell, IP, Dim, Dim > Array_CellIPDimDim
DblArrayDynamic dyn_cub_points
Array_CellIPDim weighted_normals
Teuchos::RCP< Intrepid2::Cubature< PHX::Device::execution_space, double, double > > intrepid_cubature
Array_CellIPDimDim contravarient
Teuchos::RCP< const panzer::IntegrationRule > int_rule
DblArrayDynamic dyn_phys_cub_norms
void evaluateValues(const PHX::MDField< Scalar, Cell, NODE, Dim > &vertex_coordinates, const int num_cells=-1)
Evaluate basis values.
Array_CellIPDim ip_coordinates
PHX::MDField< Scalar, Cell, BASIS, Dim > Array_CellBASISDim
Array_IPDim side_cub_points
void evaluateRemainingValues(const PHX::MDField< Scalar, Cell, NODE, Dim > &in_node_coordinates, const int in_num_cells)
ArrayTraits< Scalar, PHX::MDField< Scalar > >::size_type size_type
void setupArrays(const Teuchos::RCP< const panzer::IntegrationRule > &ir)
Sizes/allocates memory for arrays.
void getCubature(const PHX::MDField< Scalar, Cell, NODE, Dim > &in_node_coordinates, const int in_num_cells)
Array_CellIP weighted_measure
PHX::MDField< Scalar, Cell, IP, Dim > Array_CellIPDim
Array_CellIP norm_contravarient
Teuchos::RCP< Intrepid2::Cubature< PHX::Device::execution_space, double, double > > getIntrepidCubature(const panzer::IntegrationRule &ir) const
PHX::MDField< double > DblArrayDynamic
PHX::MDField< Scalar, IP, Dim > Array_IPDim
Array_CellIPDim surface_normals
Array_Point scratch_for_compute_side_measure
std::vector< PHX::index_size_type > ddims_
DblArrayDynamic dyn_phys_cub_weights
DblArrayDynamic dyn_phys_cub_points
void setupArraysForNodeRule(const Teuchos::RCP< const panzer::IntegrationRule > &ir)
DblArrayDynamic dyn_node_coordinates