class CAGrid

Public Instance Methods

initialize_copy(p1) click to toggle source
static VALUE
rb_ca_grid_initialize_copy (VALUE self, VALUE other)
{
  CAGrid *ca, *cs;

  Data_Get_Struct(self,  CAGrid, ca);
  Data_Get_Struct(other, CAGrid, cs);

  /* share grid info */
  ca_grid_setup(ca, cs->parent, cs->dim, cs->grid, cs->contig, 1);

  return self;
}