Panzer  Version of the Day
Public Member Functions | Public Attributes | Protected Member Functions | Static Protected Member Functions | Private Attributes | List of all members
panzer::PointRule Class Reference

#include <Panzer_PointRule.hpp>

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

Public Member Functions

 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
 
virtual void print (std::ostream &os)
 print information about the integration rule More...
 

Public Attributes

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...
 

Protected Member Functions

 PointRule ()
 

Static Protected Member Functions

static Teuchos::RCP< shards::CellTopology > getSideTopology (const CellData &cell_data)
 

Private Attributes

std::string point_name
 

Detailed Description

Base class useful for constructing data layouts for points on a reference cell.

Definition at line 59 of file Panzer_PointRule.hpp.

Constructor & Destructor Documentation

◆ PointRule() [1/2]

panzer::PointRule::PointRule ( const std::string &  ptName,
int  np,
const panzer::CellData cell_data 
)

if side = -1 then we use the cell as an reference frame

Parameters
[in]ptNameName of the point rule.
[in]npNumber of points per cell
[in]cell_dataDescription of the cell

Definition at line 53 of file Panzer_PointRule.cpp.

◆ ~PointRule()

virtual panzer::PointRule::~PointRule ( )
inlinevirtual

Destructor (Satisfying the compiler)

Definition at line 71 of file Panzer_PointRule.hpp.

◆ PointRule() [2/2]

panzer::PointRule::PointRule ( )
inlineprotected

Definition at line 110 of file Panzer_PointRule.hpp.

Member Function Documentation

◆ setup()

void panzer::PointRule::setup ( const std::string &  ptName,
int  np,
const panzer::CellData cell_data 
)

Definition at line 62 of file Panzer_PointRule.cpp.

◆ isSide()

bool panzer::PointRule::isSide ( ) const

Definition at line 122 of file Panzer_PointRule.cpp.

◆ getName()

const std::string & panzer::PointRule::getName ( ) const

Get the name of this point rule.

Definition at line 117 of file Panzer_PointRule.cpp.

◆ print()

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

print information about the integration rule

Reimplemented in panzer::IntegrationRule.

Definition at line 150 of file Panzer_PointRule.cpp.

◆ getSideTopology()

Teuchos::RCP< shards::CellTopology > panzer::PointRule::getSideTopology ( const CellData cell_data)
staticprotected

Look up side topology for a cell_data object. Returns null if cell data does not correspond to a side object.

Definition at line 127 of file Panzer_PointRule.cpp.

Member Data Documentation

◆ topology

Teuchos::RCP<const shards::CellTopology> panzer::PointRule::topology

Definition at line 82 of file Panzer_PointRule.hpp.

◆ side_topology

Teuchos::RCP<shards::CellTopology> panzer::PointRule::side_topology

Definition at line 84 of file Panzer_PointRule.hpp.

◆ dl_scalar

Teuchos::RCP<PHX::DataLayout> panzer::PointRule::dl_scalar

Data layout for scalar fields.

Definition at line 87 of file Panzer_PointRule.hpp.

◆ dl_vector

Teuchos::RCP<PHX::DataLayout> panzer::PointRule::dl_vector

Data layout for vector fields.

Definition at line 89 of file Panzer_PointRule.hpp.

◆ dl_tensor

Teuchos::RCP<PHX::DataLayout> panzer::PointRule::dl_tensor

Data layout for rank-2 tensor fields.

Definition at line 91 of file Panzer_PointRule.hpp.

◆ dl_vector3

Teuchos::RCP<PHX::DataLayout> panzer::PointRule::dl_vector3

Data layout for vector fields - full (x,y,z)

Definition at line 94 of file Panzer_PointRule.hpp.

◆ dl_tensor3x3

Teuchos::RCP<PHX::DataLayout> panzer::PointRule::dl_tensor3x3

Data layout for vector fields - full ((xx,xy,xz),(yx,yy,yz),(zx,zy,zz)) (or transpose?)

Definition at line 97 of file Panzer_PointRule.hpp.

◆ spatial_dimension

int panzer::PointRule::spatial_dimension

Definition at line 99 of file Panzer_PointRule.hpp.

◆ workset_size

int panzer::PointRule::workset_size

Definition at line 100 of file Panzer_PointRule.hpp.

◆ num_points

int panzer::PointRule::num_points

Definition at line 101 of file Panzer_PointRule.hpp.

◆ side

int panzer::PointRule::side

Defaults to -1 if this is volume and not sideset.

Definition at line 104 of file Panzer_PointRule.hpp.

◆ point_name

std::string panzer::PointRule::point_name
private

Definition at line 118 of file Panzer_PointRule.hpp.


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