11#ifndef PANZER_CELL_DATA_HPP
12#define PANZER_CELL_DATA_HPP
14#include "PanzerDiscFE_config.hpp"
16#include "Teuchos_Assert.hpp"
17#include "Teuchos_RCP.hpp"
19#include "Shards_CellTopology.hpp"
20#include "Shards_BasicTopologies.hpp"
45 const Teuchos::RCP<const shards::CellTopology> & ct) :
56 int local_side_id,
const Teuchos::RCP<const shards::CellTopology> & ct) :
68 TEUCHOS_TEST_FOR_EXCEPTION(!
m_is_side, std::logic_error,
69 "Cannot return side index, CellData is not a side!");
Data for determining cell topology and dimensionality.
Teuchos::RCP< const shards::CellTopology > m_cell_topo
int baseCellDimension() const
Dimension of the base cell. NOT the dimension of the local side, even if the side() method returns tr...
CellData(std::size_t num_cells, const Teuchos::RCP< const shards::CellTopology > &ct)
Teuchos::RCP< const shards::CellTopology > getCellTopology() const
Get CellTopology for the base cell.
std::size_t numCells() const
CellData(std::size_t num_cells, int local_side_id, const Teuchos::RCP< const shards::CellTopology > &ct)