add_element (method)

add_element(self, node_tags, new_tag, group=-1)[source]

Add a new element defined by a vector of node tags

Parameters:
  • self (ElementMat) – an ElementMat object
  • new_tag (int) – an new element tag
  • node_tags (numpy.array) – an array of node tags
  • group (int) – the group number
Returns:

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

Return type:

bool