MaterialField Class

class plask.MaterialField(geometry, mesh)

Distribution of materials for a given geometry on a mesh.

This class creates a ‘field’ of material.Material objects and provides getters to easily obtain its properties as Data object.

Parameters:
  • geometry – Geometry for which the materials a retrieved

  • mesh – Mesh at which the parameters are retrieved

Example

>>> material_field = MaterialField(your_geometry, your_mesh)
>>> plot_field(material_field.thermk(300.), comp=0)