Sierra Toolkit Version of the Day
stk::mesh::Bucket Class Reference

A container for the field data of a homogeneous collection of entities. More...

#include <Bucket.hpp>

List of all members.

Public Types

typedef BucketIterator iterator

Public Member Functions

iterator begin () const
 Beginning of the bucket.
iterator end () const
 End of the bucket.
size_t size () const
 Number of entities associated with this bucket.
size_t capacity () const
 Capacity of this bucket.
Entityoperator[] (size_t i) const
 Query the i^th entity.
unsigned field_data_size (const FieldBase &field) const
 Query the size of this field data specified by FieldBase.
const
FieldBase::Restriction::size_type * 
field_data_stride (const FieldBase &field) const
 Query the stride of this field data specified by FieldBase.
unsigned char * field_data_location (const FieldBase &field, const Entity &entity) const
 Query the location of this field data specified by FieldBase and Entity.
unsigned char * field_data_location (const FieldBase &field) const
 Query the location of this field data specified by FieldBase.
template<class field_type >
FieldTraits< field_type >
::data_type * 
field_data (const field_type &field, const Entity &entity) const
 Query the location of this field data specified by FieldBase and Entity.
BulkDatamesh () const
 The bulk data manager that owns this bucket.
unsigned entity_rank () const
 Type of entities in this bucket.
void supersets (PartVector &) const
 This bucket is a subset of these parts.
bool member (const Part &) const
 Bucket is a subset of the given part.
bool member_all (const std::vector< Part * > &) const
 Bucket is a subset of all of the given parts.
bool member_any (const std::vector< Part * > &) const
 Bucket is a subset of any of the given parts.
std::pair< const unsigned
*, const unsigned * > 
superset_part_ordinals () const
bool equivalent (const Bucket &b) const
 Equivalent buckets have the same parts.
unsigned allocation_size () const
 The allocation size, in bytes, of this bucket.

Friends

class impl::BucketRepository
class impl::BucketImpl
class ::stk::mesh::BulkData

Detailed Description

A container for the field data of a homogeneous collection of entities.

The entities are homogeneous in that they are of the same entity type and are members of the same of parts.

Definition at line 248 of file Bucket.hpp.


Member Function Documentation

std::pair<const unsigned *, const unsigned *> stk::mesh::Bucket::superset_part_ordinals ( ) const [inline]

Query bucket's supersets' ordinals.

Definition at line 324 of file Bucket.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends