Central data structure of the celes software. More...
Public Member Functions | |
| function get | lookupParticleDistances (in obj) |
| get method for dependent property lookupParticleDistances More... | |
| function | computeMieCoefficients (in obj) |
| Evaluate the Mie coefficients. More... | |
| function | computeTranslationTable (in obj) |
| Prepare a lookup for the a and b coefficients for particle coupling. More... | |
| function | computeInitialFieldCoefficients (in obj) |
Evaluate the initial field coefficients of the initial field expansion around each particle: . More... | |
| function | computeInitialFieldPower (in obj) |
| Evaluate the power flux of the initial field. More... | |
| function | computeScatteredFieldCoefficients (in obj, in varargin) |
| Compute the scattered field coefficients b by iteratively solving the linear system M*b=T*aI. More... | |
| function | computeScatteredFieldPWP (in obj) |
| Compute the plane wave pattern of the scattered field (i.e., the expansion coefficients of the scattered field in plane vector wave functions) More... | |
| function | computeTotalFieldPWP (in obj) |
| Compute the plane wave pattern of the total field (i.e., the expansion coefficients of the scattered field in plane vector wave functions) More... | |
| function | computeTotalFieldPower (in obj) |
| Evaluate the power flux of the total field, both in forward and in backward direction. More... | |
| function | evaluatePower (in obj) |
| First prepare the scattered and total field's plane wave pattern, then evaluate the power flux. More... | |
| function | evaluateInitialField (in obj) |
| Evaluate the initial (near)field at the positions specified in the input. More... | |
| function | evaluateScatteredField (in obj) |
| Evaluate the scattered (near)field at the positions specified in the input. More... | |
| function | evaluateInternalField (in obj) |
| Evaluate the internal (near)field at the positions specified in the input. More... | |
| function | evaluateFields (in obj) |
| Evaluate both the initial and the scattered (near)field at the positions specified in the input. More... | |
| function | masterMatrixMultiply (in obj, in value, in varargin) |
| Multiply the master matrix M=1-T*W to some vector x. More... | |
| function | run (in obj, in varargin) |
| Run the simulation. More... | |
Public Attributes | |
| Property | input |
| celes_input object which contains the parameters that specify the simulation geometry and initial field More... | |
| Property | numerics |
| celes_numerics object which contains the numerical settings More... | |
| Property | tables |
| celes_tables object which contains lookup tables and other intermediate results More... | |
| Property | output |
| celes_output object which contains the results of the simulation More... | |
| Property | lookupParticleDistances |
| single array which contains a grid of distances used for the lookup of the spherical hankel function in the particle coupling More... | |
Central data structure of the celes software.
The simulation class contains all input, intermediate results and output for one calculation.
| function computeInitialFieldCoefficients | ( | in | obj | ) |
Evaluate the initial field coefficients
of the initial field expansion around each particle:
.
| function computeInitialFieldPower | ( | in | obj | ) |
Evaluate the power flux of the initial field.
| function computeMieCoefficients | ( | in | obj | ) |
Evaluate the Mie coefficients.
| function computeScatteredFieldCoefficients | ( | in | obj, |
| in | varargin | ||
| ) |
Compute the scattered field coefficients b by iteratively solving the linear system M*b=T*aI.
| Optional | b0, initial guess for scattered field coefficients |
| function computeScatteredFieldPWP | ( | in | obj | ) |
Compute the plane wave pattern of the scattered field (i.e., the expansion coefficients of the scattered field in plane vector wave functions)
| function computeTotalFieldPower | ( | in | obj | ) |
Evaluate the power flux of the total field, both in forward and in backward direction.
| function computeTotalFieldPWP | ( | in | obj | ) |
Compute the plane wave pattern of the total field (i.e., the expansion coefficients of the scattered field in plane vector wave functions)
| function computeTranslationTable | ( | in | obj | ) |
Prepare a lookup for the a and b coefficients for particle coupling.
| function evaluateFields | ( | in | obj | ) |
Evaluate both the initial and the scattered (near)field at the positions specified in the input.
The field can then be plotted.
| function evaluateInitialField | ( | in | obj | ) |
Evaluate the initial (near)field at the positions specified in the input.
The field can then be plotted.
| function evaluateInternalField | ( | in | obj | ) |
Evaluate the internal (near)field at the positions specified in the input.
The field can then be plotted.
| function evaluatePower | ( | in | obj | ) |
First prepare the scattered and total field's plane wave pattern, then evaluate the power flux.
| function evaluateScatteredField | ( | in | obj | ) |
Evaluate the scattered (near)field at the positions specified in the input.
The field can then be plotted.
| function get lookupParticleDistances | ( | in | obj | ) |
get method for dependent property lookupParticleDistances
| function masterMatrixMultiply | ( | in | obj, |
| in | value, | ||
| in | varargin | ||
| ) |
Multiply the master matrix M=1-T*W to some vector x.
| Vector | x of incoming field SVWF coefficients |
| verbose | (logical, optional): If true (default), display detailed timing information |
| function run | ( | in | obj, |
| in | varargin | ||
| ) |
Run the simulation.
A simulation run includes:
| Optional | Initial guess b0 for the scattered field coefficients vector b |
| Property input |
celes_input object which contains the parameters that specify the simulation geometry and initial field
| Property lookupParticleDistances |
single array which contains a grid of distances used for the lookup of the spherical hankel function in the particle coupling
| Property numerics |
celes_numerics object which contains the numerical settings
| Property output |
celes_output object which contains the results of the simulation
| Property tables |
celes_tables object which contains lookup tables and other intermediate results
1.8.13