Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes | 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)
 
 PointRule (const std::string &point_rule_name, const int num_cells, const int num_points_per_cell, const int num_faces, const int num_points_per_face, const Teuchos::RCP< const shards::CellTopology > &cell_topology)
 
 PointRule (const panzer::PointDescriptor &description, const Teuchos::RCP< const shards::CellTopology > &cell_topology, const int num_cells)
 
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...
 
Teuchos::RCP< PHX::DataLayoutgetCellDataLayout () const
 
Teuchos::RCP< PHX::DataLayoutgetCellDataLayout (const int dim0) const
 
Teuchos::RCP< PHX::DataLayoutgetCellDataLayout (const int dim0, const int dim1) const
 
Teuchos::RCP< PHX::DataLayoutgetCellPointDataLayout () const
 
Teuchos::RCP< PHX::DataLayoutgetCellPointDataLayout (const int dim0) const
 
Teuchos::RCP< PHX::DataLayoutgetCellPointDataLayout (const int dim0, const int dim1) const
 
Teuchos::RCP< PHX::DataLayoutgetFaceDataLayout () const
 
Teuchos::RCP< PHX::DataLayoutgetFaceDataLayout (const int dim0) const
 
Teuchos::RCP< PHX::DataLayoutgetFaceDataLayout (const int dim0, const int dim1) const
 
Teuchos::RCP< PHX::DataLayoutgetFacePointDataLayout () const
 
Teuchos::RCP< PHX::DataLayoutgetFacePointDataLayout (const int dim0) const
 
Teuchos::RCP< PHX::DataLayoutgetFacePointDataLayout (const int dim0, const int dim1) const
 

Public Attributes

Teuchos::RCP< const
shards::CellTopology > 
topology
 
Teuchos::RCP
< shards::CellTopology > 
side_topology
 
Teuchos::RCP< PHX::DataLayoutdl_scalar
 Data layout for scalar fields. More...
 
Teuchos::RCP< PHX::DataLayoutdl_vector
 Data layout for vector fields. More...
 
Teuchos::RCP< PHX::DataLayoutdl_tensor
 Data layout for rank-2 tensor fields. More...
 
Teuchos::RCP< PHX::DataLayoutdl_vector3
 Data layout for vector fields - full (x,y,z) More...
 
Teuchos::RCP< PHX::DataLayoutdl_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 ()
 
void setup (const std::string &point_rule_name, const int num_cells, const int num_points_per_cell, const int num_faces, const int num_points_per_face, const Teuchos::RCP< const shards::CellTopology > &cell_topology)
 

Static Protected Member Functions

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

Protected Attributes

int _num_faces
 
int _num_points_per_face
 

Private Attributes

std::string point_name
 

Detailed Description

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

Definition at line 29 of file Panzer_PointRule.hpp.

Constructor & Destructor Documentation

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 21 of file Panzer_PointRule.cpp.

panzer::PointRule::PointRule ( const std::string &  point_rule_name,
const int  num_cells,
const int  num_points_per_cell,
const int  num_faces,
const int  num_points_per_face,
const Teuchos::RCP< const shards::CellTopology > &  cell_topology 
)
Parameters
[in]point_rule_nameName for point rule
[in]num_cellsNumber of cells
[in]num_points_per_cellNumber of points in each cell
[in]num_faceNumber of faces
[in]num_points_per_faceNumber of points on each face
[in]cell_topologyCell topology

Definition at line 30 of file Panzer_PointRule.cpp.

panzer::PointRule::PointRule ( const panzer::PointDescriptor description,
const Teuchos::RCP< const shards::CellTopology > &  cell_topology,
const int  num_cells 
)

Constructor from a point description.

Definition at line 43 of file Panzer_PointRule.cpp.

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

Destructor (Satisfying the compiler)

Definition at line 64 of file Panzer_PointRule.hpp.

panzer::PointRule::PointRule ( )
inlineprotected

Definition at line 121 of file Panzer_PointRule.hpp.

Member Function Documentation

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

Definition at line 52 of file Panzer_PointRule.cpp.

bool panzer::PointRule::isSide ( ) const

Definition at line 146 of file Panzer_PointRule.cpp.

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

Get the name of this point rule.

Definition at line 141 of file Panzer_PointRule.cpp.

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

print information about the integration rule

Reimplemented in panzer::IntegrationRule.

Definition at line 227 of file Panzer_PointRule.cpp.

Teuchos::RCP< PHX::DataLayout > panzer::PointRule::getCellDataLayout ( ) const

Definition at line 175 of file Panzer_PointRule.cpp.

Teuchos::RCP< PHX::DataLayout > panzer::PointRule::getCellDataLayout ( const int  dim0) const

Definition at line 179 of file Panzer_PointRule.cpp.

Teuchos::RCP< PHX::DataLayout > panzer::PointRule::getCellDataLayout ( const int  dim0,
const int  dim1 
) const

Definition at line 183 of file Panzer_PointRule.cpp.

Teuchos::RCP< PHX::DataLayout > panzer::PointRule::getCellPointDataLayout ( ) const

Definition at line 188 of file Panzer_PointRule.cpp.

Teuchos::RCP< PHX::DataLayout > panzer::PointRule::getCellPointDataLayout ( const int  dim0) const

Definition at line 192 of file Panzer_PointRule.cpp.

Teuchos::RCP< PHX::DataLayout > panzer::PointRule::getCellPointDataLayout ( const int  dim0,
const int  dim1 
) const

Definition at line 196 of file Panzer_PointRule.cpp.

Teuchos::RCP< PHX::DataLayout > panzer::PointRule::getFaceDataLayout ( ) const

Definition at line 201 of file Panzer_PointRule.cpp.

Teuchos::RCP< PHX::DataLayout > panzer::PointRule::getFaceDataLayout ( const int  dim0) const

Definition at line 205 of file Panzer_PointRule.cpp.

Teuchos::RCP< PHX::DataLayout > panzer::PointRule::getFaceDataLayout ( const int  dim0,
const int  dim1 
) const

Definition at line 209 of file Panzer_PointRule.cpp.

Teuchos::RCP< PHX::DataLayout > panzer::PointRule::getFacePointDataLayout ( ) const

Definition at line 214 of file Panzer_PointRule.cpp.

Teuchos::RCP< PHX::DataLayout > panzer::PointRule::getFacePointDataLayout ( const int  dim0) const

Definition at line 218 of file Panzer_PointRule.cpp.

Teuchos::RCP< PHX::DataLayout > panzer::PointRule::getFacePointDataLayout ( const int  dim0,
const int  dim1 
) const

Definition at line 222 of file Panzer_PointRule.cpp.

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 151 of file Panzer_PointRule.cpp.

void panzer::PointRule::setup ( const std::string &  point_rule_name,
const int  num_cells,
const int  num_points_per_cell,
const int  num_faces,
const int  num_points_per_face,
const Teuchos::RCP< const shards::CellTopology > &  cell_topology 
)
protected

Definition at line 111 of file Panzer_PointRule.cpp.

Member Data Documentation

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

Definition at line 75 of file Panzer_PointRule.hpp.

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

Definition at line 77 of file Panzer_PointRule.hpp.

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

Data layout for scalar fields.

Definition at line 80 of file Panzer_PointRule.hpp.

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

Data layout for vector fields.

Definition at line 82 of file Panzer_PointRule.hpp.

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

Data layout for rank-2 tensor fields.

Definition at line 84 of file Panzer_PointRule.hpp.

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

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

Definition at line 87 of file Panzer_PointRule.hpp.

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 90 of file Panzer_PointRule.hpp.

int panzer::PointRule::spatial_dimension

Definition at line 92 of file Panzer_PointRule.hpp.

int panzer::PointRule::workset_size

Definition at line 93 of file Panzer_PointRule.hpp.

int panzer::PointRule::num_points

Definition at line 94 of file Panzer_PointRule.hpp.

int panzer::PointRule::side

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

Definition at line 97 of file Panzer_PointRule.hpp.

int panzer::PointRule::_num_faces
protected

Definition at line 136 of file Panzer_PointRule.hpp.

int panzer::PointRule::_num_points_per_face
protected

Definition at line 137 of file Panzer_PointRule.hpp.

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

Definition at line 140 of file Panzer_PointRule.hpp.


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