add_cell (method)

add_cell(self, pt_indice, new_ind)[source]

Add a new element

Parameters
  • self (CellMat) – an CellMat object

  • new_ind (int) – an new cell indices

  • pt_indice (ndarray) – connectivity

Returns

is_created – False if the element already exist or if it is not possible to add the element

Return type

bool