Panzer  Version of the Day
Public Member Functions | Public Attributes | List of all members
panzer::IntegrationRule Class Reference

#include <Panzer_IntegrationRule.hpp>

Inheritance diagram for panzer::IntegrationRule:
Inheritance graph
[legend]

Public Member Functions

 IntegrationRule (int cubature_degree, const panzer::CellData &cell_data)
 if side = -1 then we use the cell volume integration rule. More...
 
 IntegrationRule (const panzer::CellData &cell_data, std::string cv_type)
 
void setup (int cubature_degree, const panzer::CellData &cell_data)
 
void setup_cv (const panzer::CellData &cell_data, std::string cv_type)
 
int order () const
 Returns the order of integration (cubature degree in intrepid lingo) More...
 
virtual void print (std::ostream &os)
 print information about the integration rule More...
 
void referenceCoordinates (Kokkos::DynRankView< double, PHX::Device > &container)
 Construct an array containing the reference coordinates. More...
 
- Public Member Functions inherited from panzer::PointRule
 PointRule (const std::string &ptName, int np, const panzer::CellData &cell_data)
 
virtual ~PointRule ()
 Destructor (Satisfying the compiler) More...
 
void setup (const std::string &ptName, int np, const panzer::CellData &cell_data)
 
bool isSide () const
 
const std::string & getName () const
 

Public Attributes

int cubature_degree
 
std::string cv_type
 
- Public Attributes inherited from panzer::PointRule
Teuchos::RCP< const shards::CellTopology > topology
 
Teuchos::RCP< shards::CellTopology > side_topology
 
Teuchos::RCP< PHX::DataLayout > dl_scalar
 Data layout for scalar fields. More...
 
Teuchos::RCP< PHX::DataLayout > dl_vector
 Data layout for vector fields. More...
 
Teuchos::RCP< PHX::DataLayout > dl_tensor
 Data layout for rank-2 tensor fields. More...
 
Teuchos::RCP< PHX::DataLayout > dl_vector3
 Data layout for vector fields - full (x,y,z) More...
 
Teuchos::RCP< PHX::DataLayout > dl_tensor3x3
 Data layout for vector fields - full ((xx,xy,xz),(yx,yy,yz),(zx,zy,zz)) (or transpose?) More...
 
int spatial_dimension
 
int workset_size
 
int num_points
 
int side
 Defaults to -1 if this is volume and not sideset. More...
 

Additional Inherited Members

- Protected Member Functions inherited from panzer::PointRule
 PointRule ()
 
- Static Protected Member Functions inherited from panzer::PointRule
static Teuchos::RCP< shards::CellTopology > getSideTopology (const CellData &cell_data)
 

Detailed Description

Derived class for building a point rule based on a finite element integration rule.

Parameters
[in]cubature_degreeOrder of the cubature integration.
[in]cell_dataDescription of the cell.

Definition at line 68 of file Panzer_IntegrationRule.hpp.

Constructor & Destructor Documentation

◆ IntegrationRule() [1/2]

panzer::IntegrationRule::IntegrationRule ( int  cubature_degree,
const panzer::CellData cell_data 
)

if side = -1 then we use the cell volume integration rule.

Definition at line 56 of file Panzer_IntegrationRule.cpp.

◆ IntegrationRule() [2/2]

panzer::IntegrationRule::IntegrationRule ( const panzer::CellData cell_data,
std::string  cv_type 
)

Definition at line 63 of file Panzer_IntegrationRule.cpp.

Member Function Documentation

◆ setup()

void panzer::IntegrationRule::setup ( int  cubature_degree,
const panzer::CellData cell_data 
)

Definition at line 69 of file Panzer_IntegrationRule.cpp.

◆ setup_cv()

void panzer::IntegrationRule::setup_cv ( const panzer::CellData cell_data,
std::string  cv_type 
)

Definition at line 107 of file Panzer_IntegrationRule.cpp.

◆ order()

int panzer::IntegrationRule::order ( ) const

Returns the order of integration (cubature degree in intrepid lingo)

Definition at line 152 of file Panzer_IntegrationRule.cpp.

◆ print()

void panzer::IntegrationRule::print ( std::ostream &  os)
virtual

print information about the integration rule

Reimplemented from panzer::PointRule.

Definition at line 155 of file Panzer_IntegrationRule.cpp.

◆ referenceCoordinates()

void panzer::IntegrationRule::referenceCoordinates ( Kokkos::DynRankView< double, PHX::Device > &  container)

Construct an array containing the reference coordinates.

Definition at line 167 of file Panzer_IntegrationRule.cpp.

Member Data Documentation

◆ cubature_degree

int panzer::IntegrationRule::cubature_degree

Definition at line 83 of file Panzer_IntegrationRule.hpp.

◆ cv_type

std::string panzer::IntegrationRule::cv_type

Definition at line 85 of file Panzer_IntegrationRule.hpp.


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