DataTransferKit - Multiphysics Solution Transfer Services  2.0
Public Member Functions | List of all members
DataTransferKit::STKMeshEntityImpl Class Reference

Geometric entity implementation definition. More...

#include <DTK_STKMeshEntityImpl.hpp>

Inheritance diagram for DataTransferKit::STKMeshEntityImpl:
DataTransferKit::EntityImpl

Public Member Functions

 STKMeshEntityImpl (const stk::mesh::Entity &stk_entity, const Teuchos::Ptr< stk::mesh::BulkData > &bulk_data)
 Constructor. More...
 
EntityId id () const override
 Get the unique global identifier for the entity. More...
 
int ownerRank () const override
 Get the parallel rank that owns the entity. More...
 
int topologicalDimension () const override
 Return the topological dimension of the entity. More...
 
int physicalDimension () const override
 Return the physical dimension of the entity. More...
 
void boundingBox (Teuchos::Tuple< double, 6 > &bounds) const override
 Return the Cartesian bounding box around an entity. More...
 
bool inBlock (const int block_id) const override
 Determine if an entity is in the block with the given id. More...
 
bool onBoundary (const int boundary_id) const override
 Determine if an entity is on the boundary with the given id. More...
 
Teuchos::RCP< EntityExtraDataextraData () const override
 Get the extra data on the entity. More...
 
std::string description () const override
 Provide a one line description of the object. More...
 
void describe (Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verb_level) const override
 Provide a verbose description of the object. More...
 
- Public Member Functions inherited from DataTransferKit::EntityImpl
 EntityImpl ()
 Constructor. More...
 
virtual ~EntityImpl ()
 Destructor. More...
 

Detailed Description

Geometric entity implementation definition.

Definition at line 62 of file DTK_STKMeshEntityImpl.hpp.

Constructor & Destructor Documentation

DataTransferKit::STKMeshEntityImpl::STKMeshEntityImpl ( const stk::mesh::Entity &  stk_entity,
const Teuchos::Ptr< stk::mesh::BulkData > &  bulk_data 
)

Constructor.

Definition at line 58 of file DTK_STKMeshEntityImpl.cpp.

Member Function Documentation

EntityId DataTransferKit::STKMeshEntityImpl::id ( ) const
overridevirtual

Get the unique global identifier for the entity.

Returns
A unique global identifier for the entity.

Implements DataTransferKit::EntityImpl.

Definition at line 68 of file DTK_STKMeshEntityImpl.cpp.

int DataTransferKit::STKMeshEntityImpl::ownerRank ( ) const
overridevirtual

Get the parallel rank that owns the entity.

Returns
The parallel rank that owns the entity.

Implements DataTransferKit::EntityImpl.

Definition at line 77 of file DTK_STKMeshEntityImpl.cpp.

int DataTransferKit::STKMeshEntityImpl::topologicalDimension ( ) const
overridevirtual

Return the topological dimension of the entity.

Returns
The topological dimension of the entity. Any parametric coordinates describing the entity will be of this dimension.

Implements DataTransferKit::EntityImpl.

Definition at line 85 of file DTK_STKMeshEntityImpl.cpp.

int DataTransferKit::STKMeshEntityImpl::physicalDimension ( ) const
overridevirtual

Return the physical dimension of the entity.

Returns
The physical dimension of the entity. Any physical coordinates describing the entity will be of this dimension.

Implements DataTransferKit::EntityImpl.

Definition at line 96 of file DTK_STKMeshEntityImpl.cpp.

void DataTransferKit::STKMeshEntityImpl::boundingBox ( Teuchos::Tuple< double, 6 > &  bounds) const
overridevirtual

Return the Cartesian bounding box around an entity.

Parameters
boundsThe bounds of the box (x_min,y_min,z_min,x_max,y_max,z_max).

Implements DataTransferKit::EntityImpl.

Definition at line 104 of file DTK_STKMeshEntityImpl.cpp.

bool DataTransferKit::STKMeshEntityImpl::inBlock ( const int  block_id) const
overridevirtual

Determine if an entity is in the block with the given id.

Implements DataTransferKit::EntityImpl.

Definition at line 135 of file DTK_STKMeshEntityImpl.cpp.

bool DataTransferKit::STKMeshEntityImpl::onBoundary ( const int  boundary_id) const
overridevirtual

Determine if an entity is on the boundary with the given id.

Implements DataTransferKit::EntityImpl.

Definition at line 156 of file DTK_STKMeshEntityImpl.cpp.

Teuchos::RCP< EntityExtraData > DataTransferKit::STKMeshEntityImpl::extraData ( ) const
overridevirtual

Get the extra data on the entity.

Reimplemented from DataTransferKit::EntityImpl.

Definition at line 163 of file DTK_STKMeshEntityImpl.cpp.

std::string DataTransferKit::STKMeshEntityImpl::description ( ) const
inlineoverridevirtual

Provide a one line description of the object.

Reimplemented from DataTransferKit::EntityImpl.

Definition at line 123 of file DTK_STKMeshEntityImpl.hpp.

void DataTransferKit::STKMeshEntityImpl::describe ( Teuchos::FancyOStream &  out,
const Teuchos::EVerbosityLevel  verb_level 
) const
overridevirtual

Provide a verbose description of the object.

Reimplemented from DataTransferKit::EntityImpl.

Definition at line 170 of file DTK_STKMeshEntityImpl.cpp.


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