Helper¶
Defines helper functions used in the project
This file is a part of the coursework module Personal Programming Project (PPP) in M.Sc. Computational Materials Science, Technische Universität Bergakademie Freiberg.
This file is a part of the project Modeling of radiative heat-exchange using finite element method
This file defines helper functions.
- helper.plot_function(mesh: Mesh, values: array, title: str, file_name: str, transparent: bool, enabled: bool) None¶
To generate a contour plot for a given mesh.
- Parameters:
mesh (
parser.Mesh) – Mesh file consisting of information imported from the mesh.values (array) – Nodal values of the field parameter, i.e. temperature.
title (str) – Title to be given to the plots.
file_name (str) – Name of the output file.
transparent (bool) – To generate plots with transparent background or not.
enabled (bool) – Switch to enable or disable plotting.