#### Page Contents

class plask.flow.ModeLightEReceiverCyl

Receiver of the electric field in Cylindrical geometry [V/m].

You may connect a provider to this receiver usign either the connect method or an assignement operator. Then, you can read the provided value by calling this receiver with arguments identical as the ones of the corresponding provider ModeLightEProviderCyl.

Example

Connect the reveiver to a provider from some other solver:

>>> solver.inModeLightE = other_solver.outModeLightE


Provider of electric field: plask.flow.ModeLightEProviderCyl

Data filter for electric field: plask.flow.ModeLightEFilterCyl

## Methods¶

 __call__(…) Get value from the connected provider add_watch(callable) Connect callable to watch receiver changes. attach(source) Attach some provider or constant value to the receiver. reset() Disconnect any provider of value from the receiver.

## Descriptions¶

### Method Details¶

ModeLightEReceiverCyl.__call__(n, mesh, interpolation='DEFAULT')
ModeLightEReceiverCyl.__call__(mesh, interpolation='DEFAULT')

Get value from the connected provider

Get value from the connected provider

ModeLightEReceiverCyl.add_watch(callable)

Connect callable to watch receiver changes.

The callable will be called each time the value received by this receiver changes.

The callable should accept two arguments: the first one will be the receiver and the second one gives information what is changed.

ModeLightEReceiverCyl.attach(source)

Attach some provider or constant value to the receiver.

Parameters: source – source provider or value.

Example

>>> solver.inModeLightE.attach(300.)
>>> solver.inModeLightE(any_mesh)[0]
300.
>>> solver.inModeLightE(any_mesh)[-1]
300.

>>> solver.inModeLightE.attach(other_solver.outModeLightE)


Note

You may achieve the same effect by using the asignmnent operator if you put an exisiting provider at the right side of this operator:

>>> solver.inModeLightE = other_solver.outModeLightE

ModeLightEReceiverCyl.reset()

Disconnect any provider of value from the receiver.
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 1, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.2119261920452118, "perplexity": 6776.383734446249}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2022-49/segments/1669446711396.19/warc/CC-MAIN-20221209112528-20221209142528-00315.warc.gz"}