Panzer Version of the Day
Loading...
Searching...
No Matches
panzer_stk::ElementDescriptor Class Reference

#include <Panzer_STK_Interface.hpp>

Public Member Functions

 ElementDescriptor (stk::mesh::EntityId gid, const std::vector< stk::mesh::EntityId > &nodes)
 Construct from the element's global ID and the global IDs of its nodes.
virtual ~ElementDescriptor ()
stk::mesh::EntityId getGID () const
 Returns the element's global ID.
const std::vector< stk::mesh::EntityId > & getNodes () const
 Returns the global IDs of the element's nodes.

Protected Member Functions

 ElementDescriptor ()

Protected Attributes

stk::mesh::EntityId gid_
std::vector< stk::mesh::EntityId > nodes_

Detailed Description

Pure virtial base class that builds a basic element. To be overidden with several types of elements.

Definition at line 51 of file Panzer_STK_Interface.hpp.

Constructor & Destructor Documentation

◆ ElementDescriptor() [1/2]

panzer_stk::ElementDescriptor::ElementDescriptor ( stk::mesh::EntityId gid,
const std::vector< stk::mesh::EntityId > & nodes )

Construct from the element's global ID and the global IDs of its nodes.

Definition at line 58 of file Panzer_STK_Interface.cpp.

◆ ~ElementDescriptor()

panzer_stk::ElementDescriptor::~ElementDescriptor ( )
virtual

Definition at line 60 of file Panzer_STK_Interface.cpp.

◆ ElementDescriptor() [2/2]

panzer_stk::ElementDescriptor::ElementDescriptor ( )
protected

Definition at line 57 of file Panzer_STK_Interface.cpp.

Member Function Documentation

◆ getGID()

stk::mesh::EntityId panzer_stk::ElementDescriptor::getGID ( ) const
inline

Returns the element's global ID.

Definition at line 58 of file Panzer_STK_Interface.hpp.

◆ getNodes()

const std::vector< stk::mesh::EntityId > & panzer_stk::ElementDescriptor::getNodes ( ) const
inline

Returns the global IDs of the element's nodes.

Definition at line 60 of file Panzer_STK_Interface.hpp.

Member Data Documentation

◆ gid_

stk::mesh::EntityId panzer_stk::ElementDescriptor::gid_
protected

Definition at line 62 of file Panzer_STK_Interface.hpp.

◆ nodes_

std::vector<stk::mesh::EntityId> panzer_stk::ElementDescriptor::nodes_
protected

Definition at line 63 of file Panzer_STK_Interface.hpp.


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