Panzer
Version of the Day
|
#include <Panzer_PointRule.hpp>
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 29 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 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 | ||
) |
[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 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.
|
inlinevirtual |
Destructor (Satisfying the compiler)
Definition at line 64 of file Panzer_PointRule.hpp.
|
inlineprotected |
Definition at line 121 of file Panzer_PointRule.hpp.
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.
|
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.
|
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.
|
protected |
Definition at line 111 of file Panzer_PointRule.cpp.
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.
|
protected |
Definition at line 136 of file Panzer_PointRule.hpp.
|
protected |
Definition at line 137 of file Panzer_PointRule.hpp.
|
private |
Definition at line 140 of file Panzer_PointRule.hpp.