pygbe package

Submodules

pygbe.class_initialization module

pygbe.classes module

pygbe.gmres module

pygbe.gpuio module

pygbe.lspr module

pygbe.main module

pygbe.matrixfree module

pygbe.output module

Prints output with the main information.

pygbe.output.print_summary(surf_array, field_array, param, results_dict)[source]

Prints a summary with the main information of the run.

Parameters:
  • surf_array (array, contains the surface classes of each region on the) – surface.
  • field_array (array, contains the Field classes of each region on the surface.) –
  • param (class, parameters related to the surface.) –

pygbe.projection module

pygbe.quadrature module

It contains the functions to compute the fine Gaussian quadrature and the wights and gauss points for the regular Gauss quadrature.

pygbe.quadrature.getWeights(K)[source]

It gets the weights of the Gauss points.

Parameters:K (int, number of Gauss points per element. (1, 3, 4, and 7 are supported)) –
Returns:w
Return type:K-size array, weights of the Gauss points.
pygbe.quadrature.quadratureRule_fine(K)[source]

Fine quadrature rule, to solve the near singular integrals.

Parameters:K (int (1, 7, 13, 17, 19, 25, 37, 48, 52, 61, 79), number of Gauss points) – per element.
Returns:
  • X (array, position of the gauss quadrature points.)
  • W (array, gauss quadrature weights.)

Module contents