BucketArray( const field_type & f , const Bucket & b ) { if ( b.field_data_size(f) ) { array_type::assign_stride( (ScalarType*)( b.field_data_location(f,b[0]) ), b.field_data_stride(f) , (typename array_type::size_type) b.size() ); } }
BucketArray( const field_type & f , const Bucket & k ) { if (k.field_data_size(f)) { array_type::assign( (ScalarType*)( k.field_data_location(f,k[0]) ) , k.size() ); } }
/** \brief Size, in bytes, of the field data for each entity */ inline unsigned field_data_size( const FieldBase & f , const Bucket & k ) { return k.field_data_size(f); }