autopdex.seeder.int_pts_in_tri_mesh

autopdex.seeder.int_pts_in_tri_mesh(x_nodes, elem, order)[source]

Given a mesh of triangles, it linearly maps integration points from a reference triangle into the actual triangles

Parameters:
  • x_nodes – nodal coordinates of all nodes of the mesh

  • elem – nodal indices of each triangular element (if an element has more than 3 nodes, the first 3 nodes are used for the mapping)

  • order – polynomial accuracy order of integration rule within each triangle

Returns (coor, connectivity, weights):
  • coordinates of integration points

  • connectivity of integration points, i.e. list of all nodes that have a contribution

  • weights of integration points