Loading...
Searching...
No Matches
Go to the documentation of this file.
16outLightMagnitude =
"""\
17Provider of the computed optical field magnitude [W/m²].
20outLightMagnitude(n=0, mesh, interpolation='default')
22:param int n: Computed mode number.
23:param mesh mesh: Target mesh to get the field at.
24:param str interpolation: Requested interpolation method.
26:return: Data with the optical field magnitude on the specified mesh **[W/m²]**.
28You may obtain the number of different values this provider can return by
32 Connect the provider to a receiver in some other solver:
34 >>> other_solver.inLightMagnitude = solver.outLightMagnitude
36 Obtain the provided field:
38 >>> solver.outLightMagnitude(0, mesh)
39 <plask.Data at 0x1234567>
41 Test the number of provided values:
43 >>> len(solver.outLightMagnitude)
48 Provider class: :class:`plask.flow.LightMagnitudeProviderCyl`
50 Receiver class: :class:`plask.flow.LightMagnitudeReceiverCyl`
54Provider of the computed modal extinction (1/cm).
59:param int n: Value number.
61:return: Value of the modal extinction **(1/cm)**.
63You may obtain the number of different values this provider can return by
67 Connect the provider to a receiver in some other solver:
69 >>> other_solver.inModalLoss = solver.outLoss
71 Obtain the provided value:
73 >>> solver.outLoss(n=0)
76 Test the number of provided values:
78 >>> len(solver.outLoss)
83 Provider class: :class:`plask.flow.ModalLossProvider`
85 Receiver class: :class:`plask.flow.ModalLossReceiver`
89Provider of the computed wavelength (nm).
94:param int n: Computed mode number.
96:return: Value of the wavelength **(nm)**.
98You may obtain the number of different values this provider can return by
102 Connect the provider to a receiver in some other solver:
104 >>> other_solver.inWavelength = solver.outWavelength
106 Obtain the provided value:
108 >>> solver.outWavelength(n=0)
111 Test the number of provided values:
113 >>> len(solver.outWavelength)
118 Provider class: :class:`plask.flow.WavelengthProvider`
120 Receiver class: :class:`plask.flow.WavelengthReceiver`
123outRefractiveIndex =
"""\
124Provider of the computed refractive index (-).
127outRefractiveIndex(mesh, interpolation='default')
129:param mesh mesh: Target mesh to get the field at.
130:param str interpolation: Requested interpolation method.
132:return: Data with the refractive index on the specified mesh **(-)**.
135 Connect the provider to a receiver in some other solver:
137 >>> other_solver.inRefractiveIndex = solver.outRefractiveIndex
139 Obtain the provided field:
141 >>> solver.outRefractiveIndex(mesh)
142 <plask.Data at 0x1234567>
146 Provider class: :class:`plask.flow.RefractiveIndexProviderCyl`
148 Receiver class: :class:`plask.flow.RefractiveIndexReceiverCyl`
152Provider of the computed permittivity tensor (-).
155outEpsilon(mesh, interpolation='default')
157:param mesh mesh: Target mesh to get the field at.
158:param str interpolation: Requested interpolation method.
160:return: Data with the permittivity tensor on the specified mesh **(-)**.
163 Connect the provider to a receiver in some other solver:
165 >>> other_solver.inEpsilon = solver.outEpsilon
167 Obtain the provided field:
169 >>> solver.outEpsilon(mesh)
170 <plask.Data at 0x1234567>
174 Provider class: :class:`plask.flow.EpsilonProviderCyl`
176 Receiver class: :class:`plask.flow.EpsilonReceiverCyl`
180Provider of the computed electric field [V/m].
183outLightE(n=0, mesh, interpolation='default')
185:param int n: Value number.
186:param mesh mesh: Target mesh to get the field at.
187:param str interpolation: Requested interpolation method.
189:return: Data with the electric field on the specified mesh **[V/m]**.
191You may obtain the number of different values this provider can return by
195 Connect the provider to a receiver in some other solver:
197 >>> other_solver.inLightE = solver.outLightE
199 Obtain the provided field:
201 >>> solver.outLightE(0, mesh)
202 <plask.Data at 0x1234567>
204 Test the number of provided values:
206 >>> len(solver.outLightE)
211 Provider class: :class:`plask.flow.LightEProvider2D`
213 Receiver class: :class:`plask.flow.LightEReceiver2D`
217Provider of the computed effective index (-).
222:param int n: Value number.
224:return: Value of the effective index **(-)**.
226You may obtain the number of different values this provider can return by
230 Connect the provider to a receiver in some other solver:
232 >>> other_solver.inEffectiveIndex = solver.outNeff
234 Obtain the provided value:
236 >>> solver.outNeff(n=0)
239 Test the number of provided values:
241 >>> len(solver.outNeff)
246 Provider class: :class:`plask.flow.EffectiveIndexProvider`
248 Receiver class: :class:`plask.flow.EffectiveIndexReceiver`