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::DataLayout > getCellDataLayout () const
 
Teuchos::RCP< PHX::DataLayout > getCellDataLayout (const int dim0) const
 
Teuchos::RCP< PHX::DataLayout > getCellDataLayout (const int dim0, const int dim1) const
 
Teuchos::RCP< PHX::DataLayout > getCellPointDataLayout () const
 
Teuchos::RCP< PHX::DataLayout > getCellPointDataLayout (const int dim0) const
 
Teuchos::RCP< PHX::DataLayout > getCellPointDataLayout (const int dim0, const int dim1) const
 
Teuchos::RCP< PHX::DataLayout > getFaceDataLayout () const
 
Teuchos::RCP< PHX::DataLayout > getFaceDataLayout (const int dim0) const
 
Teuchos::RCP< PHX::DataLayout > getFaceDataLayout (const int dim0, const int dim1) const
 
Teuchos::RCP< PHX::DataLayout > getFacePointDataLayout () const
 
Teuchos::RCP< PHX::DataLayout > getFacePointDataLayout (const int dim0) const
 
Teuchos::RCP< PHX::DataLayout > getFacePointDataLayout (const int dim0, const int dim1) const
 

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 ()
 
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 61 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 54 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 63 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 76 of file Panzer_PointRule.cpp.

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

Destructor (Satisfying the compiler)

Definition at line 96 of file Panzer_PointRule.hpp.

panzer::PointRule::PointRule ( )
inlineprotected

Definition at line 153 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 85 of file Panzer_PointRule.cpp.

bool panzer::PointRule::isSide ( ) const

Definition at line 179 of file Panzer_PointRule.cpp.

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

Get the name of this point rule.

Definition at line 174 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 260 of file Panzer_PointRule.cpp.

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

Definition at line 208 of file Panzer_PointRule.cpp.

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

Definition at line 212 of file Panzer_PointRule.cpp.

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

Definition at line 216 of file Panzer_PointRule.cpp.

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

Definition at line 221 of file Panzer_PointRule.cpp.

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

Definition at line 225 of file Panzer_PointRule.cpp.

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

Definition at line 229 of file Panzer_PointRule.cpp.

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

Definition at line 234 of file Panzer_PointRule.cpp.

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

Definition at line 238 of file Panzer_PointRule.cpp.

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

Definition at line 242 of file Panzer_PointRule.cpp.

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

Definition at line 247 of file Panzer_PointRule.cpp.

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

Definition at line 251 of file Panzer_PointRule.cpp.

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

Definition at line 255 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 184 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 144 of file Panzer_PointRule.cpp.

Member Data Documentation

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

Definition at line 107 of file Panzer_PointRule.hpp.

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

Definition at line 109 of file Panzer_PointRule.hpp.

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

Data layout for scalar fields.

Definition at line 112 of file Panzer_PointRule.hpp.

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

Data layout for vector fields.

Definition at line 114 of file Panzer_PointRule.hpp.

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

Data layout for rank-2 tensor fields.

Definition at line 116 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 119 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 122 of file Panzer_PointRule.hpp.

int panzer::PointRule::spatial_dimension

Definition at line 124 of file Panzer_PointRule.hpp.

int panzer::PointRule::workset_size

Definition at line 125 of file Panzer_PointRule.hpp.

int panzer::PointRule::num_points

Definition at line 126 of file Panzer_PointRule.hpp.

int panzer::PointRule::side

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

Definition at line 129 of file Panzer_PointRule.hpp.

int panzer::PointRule::_num_faces
protected

Definition at line 168 of file Panzer_PointRule.hpp.

int panzer::PointRule::_num_points_per_face
protected

Definition at line 169 of file Panzer_PointRule.hpp.

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

Definition at line 172 of file Panzer_PointRule.hpp.


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