HeatSumProvider2D Class

class plask.flow.HeatSumProvider2D

Combined provider for heat sources density.

This provider holds a sum of the other providers, so the provided field is the sum of its sources.

Methods

__call__(mesh[, interpolation])

Get value from the provider.

add(provider)

Add another provider to the combination.

clear()

Clear all elements of the combined provider.

remove(provider)

Remove provider from the combination.

Descriptions

Method Details

HeatSumProvider2D.__call__(mesh, interpolation='DEFAULT')

Get value from the provider.

Parameters:
  • mesh (mesh) – Target mesh to get the field at.

  • interpolation (str) – Requested interpolation method.

HeatSumProvider2D.add(provider)

Add another provider to the combination. Using this function is equal to calling self += provider.

Parameters:

provider – Provider to add.

HeatSumProvider2D.clear()

Clear all elements of the combined provider.

HeatSumProvider2D.remove(provider)

Remove provider from the combination.

Parameters:

provider – Provider to remove.