This class provides methods for accessing optical interfaces, materials, media, stacks as well as Boundary Responses.
More...
|
| static ComplexAmplitude | ApplyBoundaryResponse (ComplexAmplitude incidentField, BoundaryResponseBase boundaryResponse, VectorD samplingDistance) |
| | Applies a boundary response on a harmonic field.
|
| |
| static HarmonicFieldsSet | ApplyBoundaryResponse (HarmonicFieldsSet incidentField, BoundaryResponseBase boundaryResponse, VectorD samplingDistance) |
| | Applies a boundary response on a harmonic fields sets.
|
| |
| static ? SampledTransitionPointLayers2D | GenerateTransitionPointLayers2DFromStack (OpticalStack stackToConvert, HomogeneousMedium mediumInfront, HomogeneousMedium mediumBehind, double wavelength, double accuracyTPL=1.0, bool reverseLayers=false, CancellationToken? cancellationToken=null) |
| | This method converts an optical stack to the y-invariant "transition point layers" structure definition that is used by the FMM.
|
| |
| static TransitionPointLayers3D | GenerateTransitionPointLayers3DFromStack (OpticalStack stackToConvert, HomogeneousMedium mediumInfront, HomogeneousMedium mediumBehind, double wavelength, double accuracyTPL=1.0, bool reverseLayers=false, CancellationToken? cancellationToken=null) |
| | This method converts an optical stack to the three-dimensional "transition point layers" structure definition that is used by the FMM.
|
| |
This class provides methods for accessing optical interfaces, materials, media, stacks as well as Boundary Responses.
◆ ApplyBoundaryResponse() [1/2]
Applies a boundary response on a harmonic field.
- Parameters
-
| incidentField | The incident field on which the boundary response shall be applied. |
| boundaryResponse | The boundary response to apply. |
| samplingDistance | The sampling distance of the resulting field. To avoid aliasing effects, the sampling distance should be a divisor of the sampling distance of the incident field. If necessary, the incident field is resampled to this sampling distance using the Accelerated Sinc-Interpolation. |
- Returns
- A harmonic field where the boundary response has been applied on the incident field.
◆ ApplyBoundaryResponse() [2/2]
Applies a boundary response on a harmonic fields sets.
- Parameters
-
| incidentField | The incident field on which the boundary response shall be applied. |
| boundaryResponse | The boundary response to apply. |
| samplingDistance | The sampling distance of all member fields the resulting fields set. To avoid aliasing effects, the sampling distance should be a divisor of the sampling distance of the incident fields. If necessary, the incident fields are resampled to this sampling distance using the Accelerated Sinc-Interpolation. |
- Returns
- A harmonic fields set where the boundary response has been applied on the incident field.
◆ GenerateTransitionPointLayers2DFromStack()
| static ? SampledTransitionPointLayers2D GenerateTransitionPointLayers2DFromStack |
( |
OpticalStack | stackToConvert, |
|
|
HomogeneousMedium | mediumInfront, |
|
|
HomogeneousMedium | mediumBehind, |
|
|
double | wavelength, |
|
|
double | accuracyTPL = 1::0, |
|
|
bool | reverseLayers = false, |
|
|
CancellationToken? | cancellationToken = null ) |
|
static |
This method converts an optical stack to the y-invariant "transition point layers" structure definition that is used by the FMM.
- Parameters
-
| stackToConvert | The optical stack that shall be converted. |
| mediumInfront | The medium in front of the stack, i.e. the medium in which the incoming light is defined. |
| mediumBehind | The medium behind the stack. |
| wavelength | The wavelength that should be used for calculating the refractive indices. |
| accuracyTPL | Optional accuracy factor that is used for the generation of both the layers and the transition points. If not specified, a value of 1 is taken. |
| reverseLayers | If this optional parameter is set to true, the order of the layers is reversed, i. e. the stack is orientated towards the incoming light. |
| cancellationToken | Optional token for cooperative task cancellation. |
- Returns
- The "transition point layers" structure definition that can used by the two-dimensional FMM.
◆ GenerateTransitionPointLayers3DFromStack()
| static TransitionPointLayers3D GenerateTransitionPointLayers3DFromStack |
( |
OpticalStack | stackToConvert, |
|
|
HomogeneousMedium | mediumInfront, |
|
|
HomogeneousMedium | mediumBehind, |
|
|
double | wavelength, |
|
|
double | accuracyTPL = 1::0, |
|
|
bool | reverseLayers = false, |
|
|
CancellationToken? | cancellationToken = null ) |
|
static |
This method converts an optical stack to the three-dimensional "transition point layers" structure definition that is used by the FMM.
- Parameters
-
| stackToConvert | The optical stack that shall be converted. |
| mediumBehind | The medium behind the stack. |
| mediumInfront | The medium in front of the stack, i.e. the medium in which the incoming light is defined. |
| wavelength | The wavelength that should be used for calculating the refractive indices. |
| accuracyTPL | Optional accuracy factor that is used for the generation of both the layers and the transition points. If not specified, a value of 1 is taken. |
| reverseLayers | If this optional parameter is set to true, the order of the layers is reversed, i. e. the stack is orientated towards the incoming light. |
| cancellationToken | Optional token for cooperative task cancellation. |
- Returns
- The "transition point layers" structure definition that can used by the three-dimensional FMM.