41 #include "DTK_STKMeshEntityIntegrationRule.hpp" 42 #include "DTK_STKMeshHelpers.hpp" 44 #include <Shards_CellTopology.hpp> 51 const Teuchos::RCP<stk::mesh::BulkData> &bulk_data )
52 : d_bulk_data( bulk_data )
59 const Entity &entity,
const int order,
60 Teuchos::Array<Teuchos::Array<double>> &reference_points,
61 Teuchos::Array<double> &weights )
const 63 const stk::mesh::Entity &stk_entity =
65 shards::CellTopology cell_topo =
Geometric entity interface definition.
STKMeshEntityIntegrationRule(const Teuchos::RCP< stk::mesh::BulkData > &bulk_data)
Constructor.
void getIntegrationRule(const shards::CellTopology &topology, const int order, Teuchos::Array< Teuchos::Array< double >> &reference_points, Teuchos::Array< double > &weights) const
Given an topology and an integration order, get its integration rule.
static const stk::mesh::Entity & extractEntity(const Entity dtk_entity)
Given a DTK entity, extract the STK entity.
static shards::CellTopology getShardsTopology(const stk::mesh::Entity stk_entity, const stk::mesh::BulkData &bulk_data)
Given a STK entity, return its shards topology.
void getIntegrationRule(const Entity &entity, const int order, Teuchos::Array< Teuchos::Array< double >> &reference_points, Teuchos::Array< double > &weights) const override
Given an entity and an integration order, get its integration rule.