Example #1
0
 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() );
   }
 }
Example #2
0
  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() );

    }
  }
Example #3
0
/** \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);
}