Panzer
Version of the Day
|
#include <Panzer_PointRule.hpp>
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 |
Base class useful for constructing data layouts for points on a reference cell.
Definition at line 61 of file Panzer_PointRule.hpp.
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
[in] | ptName | Name of the point rule. |
[in] | np | Number of points per cell |
[in] | cell_data | Description 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 | ||
) |
[in] | point_rule_name | Name for point rule |
[in] | num_cells | Number of cells |
[in] | num_points_per_cell | Number of points in each cell |
[in] | num_face | Number of faces |
[in] | num_points_per_face | Number of points on each face |
[in] | cell_topology | Cell 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.
|
inlinevirtual |
Destructor (Satisfying the compiler)
Definition at line 96 of file Panzer_PointRule.hpp.
|
inlineprotected |
Definition at line 153 of file Panzer_PointRule.hpp.
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.
|
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.
|
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.
|
protected |
Definition at line 144 of file Panzer_PointRule.cpp.
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.
|
protected |
Definition at line 168 of file Panzer_PointRule.hpp.
|
protected |
Definition at line 169 of file Panzer_PointRule.hpp.
|
private |
Definition at line 172 of file Panzer_PointRule.hpp.