Quadrature

File for quadrature to be used in view factor calculation.

class quadrature.Quadrature2x2

Bases: object

Quadrature with 2-point basis.

classmethod compute_points()
class property q_points

Quadrature points in two dimensions.

classmethod q_weights()

Quadrature weights in two dimensions.

class quadrature.ShapeFunction1x4

Bases: object

Class to compute shape function for 4 elements.

classmethod compute_N(q_points)

Computes shape functions, same as the one present in elementRoutine.

Parameters:

q_points (array) – Quadrature point at which shape functions are to be evaluated.

classmethod compute_dN(q_points)

Computes derivatives of shape functions, same as the one present in elementRoutine.

Parameters:

q_points (array) – Quadrature point at which shape functions derivatives are to be evaluated.