fastvpinns.FE.quadratureformulas module

The file quadratureformulas.py contains class for all quadrature formulas

Author: Thivin Anandh D

Changelog: Not specified

Known issues: None

Dependencies: numpy, scipy

class fastvpinns.FE.quadratureformulas.Quadratureformulas(quad_order: int, quad_type: str, num_quad_points: int)[source]

Bases: object

Defines the Quadrature Formulas for the 2D Quadrilateral elements.

Parameters:
  • quad_order (int) – The order of the quadrature.

  • quad_type (str) – The type of the quadrature.

abstract get_num_quad_points()[source]

Returns the number of quadrature points.

Returns:

The number of quadrature points.

Return type:

int

abstract get_quad_values()[source]

Returns the quadrature weights, xi and eta values.

Returns:

A tuple containing the quadrature weights, xi values, and eta values.

Return type:

tuple