stk::mesh::Bucket Class Reference
[Sierra Toolkit Mesh]

#include <Bucket.hpp>

List of all members.


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 234 of file Bucket.hpp.

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.
BulkDatamesh () const
 The bulk data manager that owns this bucket.
unsigned entity_type () 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
 Query bucket's supersets' ordinals.
unsigned allocation_size () const
 The allocation size, in bytes, of this bucket.

Friends

class BulkData
struct EntityArray
struct BucketArray
unsigned field_data_size (const FieldBase &f, const Bucket &k)
 Size, in bytes, of the field data for each entity.
template<class field_type>
FieldTraits< field_type
>::data_type * 
field_data (const field_type &f, const Bucket::iterator &i)
 Pointer to the field data array.
template<class field_type>
FieldTraits< field_type
>::data_type * 
field_data (const field_type &f, const Entity &e)
 Pointer to the field data array.


The documentation for this class was generated from the following files:
Generated on Tue Jul 13 09:27:33 2010 for Sierra Toolkit by  doxygen 1.4.7