|
Quantum Phenomena Explorer 7.9.8
Interactive quantum-phenomena Explorer Tutor — source documentation
|
Implements the Potential Field2D component. More...
#include <potentialfield2d.h>
Public Types | |
| using | Value = float |
Public Member Functions | |
| PotentialField2D ()=default | |
| Performs potential field2 d. | |
| PotentialField2D (std::size_t width, std::size_t height, float dx=1.0f, float dy=1.0f) | |
| Performs potential field2 d. | |
| void | resize (std::size_t width, std::size_t height, float dx=1.0f, float dy=1.0f) |
| Performs resize. | |
| void | clear () noexcept |
| Performs clear. | |
| void | fill (Value value) noexcept |
| Performs fill. | |
| bool | empty () const noexcept |
| Performs empty. | |
| std::size_t | width () const noexcept |
| Returns width. | |
| std::size_t | height () const noexcept |
| Returns height. | |
| std::size_t | size () const noexcept |
| Returns size. | |
| float | dx () const noexcept |
| Performs dx. | |
| float | dy () const noexcept |
| Performs dy. | |
| Value | operator() (std::size_t x, std::size_t y) const noexcept |
| Returns the potential sample at a grid coordinate without bounds checking. | |
| Value | at (std::size_t x, std::size_t y) const |
| Performs at. | |
| void | set (std::size_t x, std::size_t y, Value value) noexcept |
| Performs set. | |
| void | setAt (std::size_t x, std::size_t y, Value value) |
| Sets at. | |
| void | accumulate (const PotentialField2D &other, Value scale=1.0f) |
| Performs accumulate. | |
| const Value * | data () const noexcept |
| Performs data. | |
| bool | matchesGrid (const ComplexField2D &field) const noexcept |
| Performs matches grid. | |
| Value | minimum () const noexcept |
| Performs minimum. | |
| Value | maximum () const noexcept |
| Performs maximum. | |
| std::uint64_t | revision () const noexcept |
| Performs revision. | |
| double | xCoordinate (std::size_t x) const noexcept |
| Performs x coordinate. | |
| double | yCoordinate (std::size_t y) const noexcept |
| Performs y coordinate. | |
| void | addRectangle (float centerX, float centerY, float width, float height, Value value) |
| Adds rectangle. | |
| void | addCircle (float centerX, float centerY, float radius, Value value) |
| Adds circle. | |
| void | addBarrier (float x1, float y1, float x2, float y2, float thickness, Value value) |
| Adds barrier. | |
| void | addPolygon (const std::vector< PotentialPoint2D > &vertices, Value value) |
| Adds polygon. | |
| void | addSingleSlit (float centerX, float barrierWidth, float slitCenterY, float slitHeight, Value value) |
| Adds single slit. | |
| void | addDoubleSlit (float centerX, float barrierWidth, float slitCenterY, float slitSeparation, float slitHeight, Value value) |
| Adds double slit. | |
| void | addGaussian (float centerX, float centerY, float sigmaX, float sigmaY, Value amplitude) |
| Adds gaussian. | |
| void | addHarmonic (float centerX, float centerY, Value offset, float curvatureX, float curvatureY) |
| Adds harmonic. | |
| void | addQuadrupole (float centerX, float centerY, Value q1, Value q2) |
| Adds quadrupole. | |
| void | addStandingWaveX (float period, Value depth, float phaseDegrees=0.0f) |
| Adds standing wave x. | |
| void | addLinear (float centerX, float centerY, Value offset, float slopeX, float slopeY) |
| Adds linear. | |
| void | addSoftenedRadial (float centerX, float centerY, Value coupling, float softening) |
| Adds softened radial. | |
| void | addStadiumExterior (float centerX, float centerY, float straightLength, float radius, Value value) |
| Adds stadium exterior. | |
Private Member Functions | |
| std::size_t | index (std::size_t x, std::size_t y) const noexcept |
| Returns index. | |
| std::size_t | checkedIndex (std::size_t x, std::size_t y) const |
| Checks ed index. | |
| void | touch () noexcept |
| Performs touch. | |
Private Attributes | |
| std::size_t | width_ = 0 |
| std::size_t | height_ = 0 |
| float | dx_ = 1.0f |
| float | dy_ = 1.0f |
| std::vector< Value > | data_ |
| std::uint64_t | revision_ = 0 |
Implements the Potential Field2D component.
The class provides one focused service within the QPE architecture and is documented here independently of the experiment-level Help.
Definition at line 43 of file potentialfield2d.h.
| using qpe::PotentialField2D::Value = float |
Definition at line 46 of file potentialfield2d.h.
|
default |
Performs potential field2 d.
| qpe::PotentialField2D::PotentialField2D | ( | std::size_t | width, |
| std::size_t | height, | ||
| float | dx = 1.0f, | ||
| float | dy = 1.0f ) |
Performs potential field2 d.
| width | The width value used by the operation. |
| height | The height value used by the operation. |
| dx | The dx value used by the operation. |
| dy | The dy value used by the operation. |
Definition at line 87 of file potentialfield2d.cpp.
| void qpe::PotentialField2D::accumulate | ( | const PotentialField2D & | other, |
| Value | scale = 1.0f ) |
Performs accumulate.
| other | The other value used by the operation. |
| scale | The scale value used by the operation. |
Definition at line 176 of file potentialfield2d.cpp.
References data_, dx_, dy_, height_, touch(), and width_.
Referenced by qpe::PotentialScene2D::rasterize().
| void qpe::PotentialField2D::addBarrier | ( | float | x1, |
| float | y1, | ||
| float | x2, | ||
| float | y2, | ||
| float | thickness, | ||
| Value | value ) |
Adds barrier.
| x1 | The x1 value used by the operation. |
| y1 | The y1 value used by the operation. |
| x2 | The x2 value used by the operation. |
| y2 | The y2 value used by the operation. |
| thickness | The thickness value used by the operation. |
| value | Value to assign or evaluate. |
Definition at line 298 of file potentialfield2d.cpp.
References data_, dx(), dy(), height_, index(), touch(), width_, xCoordinate(), and yCoordinate().
Referenced by MainWindow::buildSelectedPotential(), qpe::anonymous_namespace{potentialscene2d.cpp}::rasterizeObject(), and qpe::tests::runPotentialField2DTests().
| void qpe::PotentialField2D::addCircle | ( | float | centerX, |
| float | centerY, | ||
| float | radius, | ||
| Value | value ) |
Adds circle.
| centerX | The center x value used by the operation. |
| centerY | The center y value used by the operation. |
| radius | The radius value used by the operation. |
| value | Value to assign or evaluate. |
Definition at line 273 of file potentialfield2d.cpp.
References data_, dx(), dy(), height_, index(), touch(), width_, xCoordinate(), and yCoordinate().
Referenced by qpe::QuantumAharonovBohm2D::buildFields(), MainWindow::buildSelectedPotential(), qpe::anonymous_namespace{potentialscene2d.cpp}::rasterizeObject(), and qpe::tests::runPotentialField2DTests().
| void qpe::PotentialField2D::addDoubleSlit | ( | float | centerX, |
| float | barrierWidth, | ||
| float | slitCenterY, | ||
| float | slitSeparation, | ||
| float | slitHeight, | ||
| Value | value ) |
Adds double slit.
| centerX | The center x value used by the operation. |
| barrierWidth | The barrier width value used by the operation. |
| slitCenterY | The slit center y value used by the operation. |
| slitSeparation | The slit separation value used by the operation. |
| slitHeight | The slit height value used by the operation. |
| value | Value to assign or evaluate. |
Definition at line 404 of file potentialfield2d.cpp.
References data_, height_, index(), touch(), width_, xCoordinate(), and yCoordinate().
Referenced by MainWindow::buildSelectedPotential(), qpe::anonymous_namespace{potentialscene2d.cpp}::rasterizeObject(), and qpe::tests::runPotentialField2DTests().
| void qpe::PotentialField2D::addGaussian | ( | float | centerX, |
| float | centerY, | ||
| float | sigmaX, | ||
| float | sigmaY, | ||
| Value | amplitude ) |
Adds gaussian.
| centerX | The center x value used by the operation. |
| centerY | The center y value used by the operation. |
| sigmaX | The sigma x value used by the operation. |
| sigmaY | The sigma y value used by the operation. |
| amplitude | The amplitude value used by the operation. |
Definition at line 442 of file potentialfield2d.cpp.
References data_, dx(), dy(), height_, index(), touch(), width_, xCoordinate(), and yCoordinate().
Referenced by MainWindow::buildSelectedPotential(), qpe::anonymous_namespace{potentialscene2d.cpp}::rasterizeObject(), qpe::tests::runBoundStates1DTests(), and qpe::tests::runPotentialField2DTests().
| void qpe::PotentialField2D::addHarmonic | ( | float | centerX, |
| float | centerY, | ||
| Value | offset, | ||
| float | curvatureX, | ||
| float | curvatureY ) |
Adds harmonic.
| centerX | The center x value used by the operation. |
| centerY | The center y value used by the operation. |
| offset | The offset value used by the operation. |
| curvatureX | The curvature x value used by the operation. |
| curvatureY | The curvature y value used by the operation. |
Definition at line 468 of file potentialfield2d.cpp.
References data_, dx(), dy(), height_, index(), touch(), width_, xCoordinate(), and yCoordinate().
Referenced by MainWindow::buildSelectedPotential(), qpe::anonymous_namespace{potentialscene2d.cpp}::rasterizeObject(), qpe::tests::runPotentialField2DTests(), and qpe::anonymous_namespace{quantumkickedrotor2d_tests.cpp}::testDynamicalLocalizationSignature().
| void qpe::PotentialField2D::addLinear | ( | float | centerX, |
| float | centerY, | ||
| Value | offset, | ||
| float | slopeX, | ||
| float | slopeY ) |
Adds linear.
| centerX | The center x value used by the operation. |
| centerY | The center y value used by the operation. |
| offset | The offset value used by the operation. |
| slopeX | The slope x value used by the operation. |
| slopeY | The slope y value used by the operation. |
Definition at line 539 of file potentialfield2d.cpp.
References data_, dx(), dy(), height_, index(), touch(), width_, xCoordinate(), and yCoordinate().
Referenced by MainWindow::buildSelectedPotential(), qpe::anonymous_namespace{potentialscene2d.cpp}::rasterizeObject(), and qpe::tests::runPotentialField2DTests().
| void qpe::PotentialField2D::addPolygon | ( | const std::vector< PotentialPoint2D > & | vertices, |
| Value | value ) |
Adds polygon.
| vertices | The vertices value used by the operation. |
| value | Value to assign or evaluate. |
Definition at line 348 of file potentialfield2d.cpp.
References data_, height_, index(), touch(), width_, xCoordinate(), and yCoordinate().
Referenced by MainWindow::buildSelectedPotential(), qpe::anonymous_namespace{potentialscene2d.cpp}::rasterizeObject(), and qpe::tests::runPotentialField2DTests().
Adds quadrupole.
| centerX | The center x value used by the operation. |
| centerY | The center y value used by the operation. |
| q1 | The q1 value used by the operation. |
| q2 | The q2 value used by the operation. |
Definition at line 493 of file potentialfield2d.cpp.
References data_, dx(), dy(), height_, index(), touch(), width_, xCoordinate(), and yCoordinate().
Referenced by qpe::QuantumBerryPhase2D::rasterize().
| void qpe::PotentialField2D::addRectangle | ( | float | centerX, |
| float | centerY, | ||
| float | width, | ||
| float | height, | ||
| Value | value ) |
Adds rectangle.
| centerX | The center x value used by the operation. |
| centerY | The center y value used by the operation. |
| width | The width value used by the operation. |
| height | The height value used by the operation. |
| value | Value to assign or evaluate. |
Definition at line 242 of file potentialfield2d.cpp.
References data_, height(), height_, index(), touch(), width(), width_, xCoordinate(), and yCoordinate().
Referenced by qpe::QuantumHallEdge2D::buildFields(), qpe::anonymous_namespace{quantumzeno2d_tests.cpp}::buildGuidedPotential(), MainWindow::buildSelectedPotential(), qpe::tests::anonymous_namespace{boundstates1d_tests.cpp}::makeFiniteWell(), qpe::tests::anonymous_namespace{driventwolevel2d_tests.cpp}::makeSpectrum(), qpe::anonymous_namespace{potentialscene2d.cpp}::rasterizeObject(), qpe::tests::runPotentialContours2DTests(), and qpe::tests::runPotentialField2DTests().
| void qpe::PotentialField2D::addSingleSlit | ( | float | centerX, |
| float | barrierWidth, | ||
| float | slitCenterY, | ||
| float | slitHeight, | ||
| Value | value ) |
Adds single slit.
| centerX | The center x value used by the operation. |
| barrierWidth | The barrier width value used by the operation. |
| slitCenterY | The slit center y value used by the operation. |
| slitHeight | The slit height value used by the operation. |
| value | Value to assign or evaluate. |
Definition at line 373 of file potentialfield2d.cpp.
References data_, height_, index(), touch(), width_, xCoordinate(), and yCoordinate().
Referenced by MainWindow::buildSelectedPotential(), qpe::anonymous_namespace{potentialscene2d.cpp}::rasterizeObject(), and qpe::tests::runPotentialField2DTests().
| void qpe::PotentialField2D::addSoftenedRadial | ( | float | centerX, |
| float | centerY, | ||
| Value | coupling, | ||
| float | softening ) |
Adds softened radial.
| centerX | The center x value used by the operation. |
| centerY | The center y value used by the operation. |
| coupling | The coupling value used by the operation. |
| softening | The softening value used by the operation. |
Definition at line 564 of file potentialfield2d.cpp.
References data_, dx(), dy(), height_, index(), touch(), width_, xCoordinate(), and yCoordinate().
Referenced by MainWindow::buildSelectedPotential(), qpe::anonymous_namespace{potentialscene2d.cpp}::rasterizeObject(), and qpe::tests::runPotentialField2DTests().
| void qpe::PotentialField2D::addStadiumExterior | ( | float | centerX, |
| float | centerY, | ||
| float | straightLength, | ||
| float | radius, | ||
| Value | value ) |
Adds stadium exterior.
| centerX | The center x value used by the operation. |
| centerY | The center y value used by the operation. |
| straightLength | The straight length value used by the operation. |
| radius | The radius value used by the operation. |
| value | Value to assign or evaluate. |
Definition at line 609 of file potentialfield2d.cpp.
References data_, dx(), height_, index(), touch(), width_, xCoordinate(), and yCoordinate().
Referenced by MainWindow::buildSelectedPotential(), and qpe::anonymous_namespace{potentialscene2d.cpp}::rasterizeObject().
| void qpe::PotentialField2D::addStandingWaveX | ( | float | period, |
| Value | depth, | ||
| float | phaseDegrees = 0.0f ) |
Adds standing wave x.
| period | The period value used by the operation. |
| depth | The depth value used by the operation. |
| phaseDegrees | The phase degrees value used by the operation. |
Definition at line 515 of file potentialfield2d.cpp.
References data_, height_, index(), touch(), width_, and xCoordinate().
Referenced by qpe::QuantumKapitzaDirac2D::rasterize().
| PotentialField2D::Value qpe::PotentialField2D::at | ( | std::size_t | x, |
| std::size_t | y ) const |
Performs at.
| x | X coordinate/value. |
| y | Y coordinate/value. |
Definition at line 159 of file potentialfield2d.cpp.
References checkedIndex(), and data_.
|
private |
|
noexcept |
Performs clear.
Definition at line 112 of file potentialfield2d.cpp.
References fill().
Referenced by qpe::QuantumHallEdge2D::buildFields(), MainWindow::buildSelectedPotential(), qpe::PotentialScene2D::rasterize(), qpe::tests::runPotentialContours2DTests(), qpe::tests::runPotentialField2DTests(), qpe::tests::runQuantumLandau2DTests(), and qpe::tests::runQuantumLoschmidt2DTests().
|
noexcept |
Performs data.
Definition at line 190 of file potentialfield2d.cpp.
References data_.
Referenced by qpe::QuantumTextureFrame2D::build(), qpe::DiracSplitStepSolver2D::preparePotential(), and qpe::SplitStepFourierSolver2D::preparePotential().
|
noexcept |
Performs dx.
Definition at line 143 of file potentialfield2d.cpp.
References dx_.
Referenced by PotentialField2D(), addBarrier(), addCircle(), addGaussian(), addHarmonic(), addLinear(), addQuadrupole(), addSoftenedRadial(), addStadiumExterior(), qpe::SplitStepFourierSolver2D::preparePotential(), qpe::PotentialScene2D::rasterize(), MainWindow::rebuildLandauZenerReference(), MainWindow::rebuildRamseyReference(), resize(), qpe::tests::runTimeDependentPotential2DTests(), qpe::BoundStates1D::solve(), and qpe::DiracSplitStepSolver2D::step().
|
noexcept |
Performs dy.
Definition at line 148 of file potentialfield2d.cpp.
References dy_.
Referenced by PotentialField2D(), addBarrier(), addCircle(), addGaussian(), addHarmonic(), addLinear(), addQuadrupole(), addSoftenedRadial(), qpe::SplitStepFourierSolver2D::preparePotential(), qpe::PotentialScene2D::rasterize(), MainWindow::rebuildLandauZenerReference(), MainWindow::rebuildRamseyReference(), resize(), and qpe::DiracSplitStepSolver2D::step().
|
noexcept |
Performs empty.
Definition at line 123 of file potentialfield2d.cpp.
References data_.
Referenced by qpe::QuantumTextureFrame2D::build(), qpe::PotentialContours2D::compute(), MainWindow::computeBoundStates(), qpe::DiracSplitStepSolver2D::preparePotential(), qpe::SplitStepFourierSolver2D::preparePotential(), qpe::PotentialScene2D::rasterize(), qpe::tests::runPotentialField2DTests(), qpe::BoundStates1D::solve(), and qpe::DiracSplitStepSolver2D::step().
|
noexcept |
Performs fill.
| value | Value to assign or evaluate. |
Definition at line 117 of file potentialfield2d.cpp.
Referenced by qpe::QuantumAharonovBohm2D::buildFields(), clear(), qpe::tests::anonymous_namespace{boundstates1d_tests.cpp}::makeFiniteWell(), qpe::tests::runDiracSplitStepSolver2DTests(), qpe::tests::runEnergyObservables2DTests(), qpe::tests::runPotentialField2DTests(), qpe::tests::runQuantumBackflow2DTests(), and qpe::tests::runSplitStepFourierSolver2DTests().
|
noexcept |
Returns height.
Definition at line 133 of file potentialfield2d.cpp.
References height_.
Referenced by PotentialField2D(), addRectangle(), qpe::PotentialContours2D::compute(), qpe::tests::anonymous_namespace{potentialfield2d_tests.cpp}::nearestIndexY(), qpe::DiracSplitStepSolver2D::preparePotential(), qpe::SplitStepFourierSolver2D::preparePotential(), qpe::PotentialScene2D::rasterize(), MainWindow::rebuildLandauZenerReference(), MainWindow::rebuildRamseyReference(), resize(), qpe::tests::runPotentialContours2DTests(), qpe::tests::runPotentialField2DTests(), qpe::tests::runTimeDependentPotential2DTests(), qpe::BoundStates1D::solve(), and qpe::DiracSplitStepSolver2D::step().
|
privatenoexcept |
Returns index.
| x | X coordinate/value. |
| y | Y coordinate/value. |
Definition at line 588 of file potentialfield2d.cpp.
Referenced by addBarrier(), addCircle(), addDoubleSlit(), addGaussian(), addHarmonic(), addLinear(), addPolygon(), addQuadrupole(), addRectangle(), addSingleSlit(), addSoftenedRadial(), addStadiumExterior(), addStandingWaveX(), and checkedIndex().
|
noexcept |
Performs matches grid.
| field | Field data to read or modify. |
Definition at line 195 of file potentialfield2d.cpp.
Referenced by qpe::QuantumTextureFrame2D::build(), qpe::EnergyObservables2D::compute(), qpe::tests::runPotentialField2DTests(), qpe::tests::runQuantumAharonovBohm2DTests(), qpe::SplitStepFourierSolver2D::step(), and qpe::SplitStepFourierSolver2D::stepGaugeCovariant().
|
noexcept |
Performs maximum.
Definition at line 211 of file potentialfield2d.cpp.
References data_.
Referenced by qpe::PotentialContours2D::compute(), qpe::tests::runPotentialField2DTests(), qpe::tests::runQuantumAharonovBohm2DTests(), qpe::tests::runQuantumKapitzaDirac2DTests(), qpe::tests::runQuantumKleinTunneling2DTests(), qpe::tests::runQuantumMoshinsky2DTests(), qpe::tests::runQuantumScar2DTests(), and MainWindow::updateStatusText().
|
noexcept |
Performs minimum.
Definition at line 203 of file potentialfield2d.cpp.
References data_.
Referenced by qpe::PotentialContours2D::compute(), qpe::tests::runPotentialField2DTests(), and MainWindow::updateStatusText().
|
noexcept |
Returns the potential sample at a grid coordinate without bounds checking.
| x | Zero-based X sample index. |
| y | Zero-based Y sample index. |
(x,y). Definition at line 153 of file potentialfield2d.cpp.
| void qpe::PotentialField2D::resize | ( | std::size_t | width, |
| std::size_t | height, | ||
| float | dx = 1.0f, | ||
| float | dy = 1.0f ) |
Performs resize.
| width | The width value used by the operation. |
| height | The height value used by the operation. |
| dx | The dx value used by the operation. |
| dy | The dy value used by the operation. |
Definition at line 95 of file potentialfield2d.cpp.
References data_, dx(), dx_, dy(), dy_, height(), height_, touch(), width(), and width_.
Referenced by PotentialField2D(), qpe::QuantumAharonovBohm2D::buildFields(), qpe::QuantumHallEdge2D::buildFields(), MainWindow::resetSimulation(), and qpe::tests::runQuantumLandau2DTests().
|
noexcept |
Performs revision.
Definition at line 219 of file potentialfield2d.cpp.
References revision_.
Referenced by qpe::DiracSplitStepSolver2D::preparePotential(), qpe::SplitStepFourierSolver2D::preparePotential(), MainWindow::renderCurrentView(), and qpe::tests::runPotentialField2DTests().
|
noexcept |
Performs set.
| x | X coordinate/value. |
| y | Y coordinate/value. |
| value | Value to assign or evaluate. |
Definition at line 164 of file potentialfield2d.cpp.
Referenced by qpe::tests::runBoundStates1DTests(), qpe::tests::runPotentialContours2DTests(), qpe::tests::runPotentialField2DTests(), qpe::tests::runQuantumTextureFrame2DTests(), and qpe::tests::runSplitStepFourierSolver2DTests().
| void qpe::PotentialField2D::setAt | ( | std::size_t | x, |
| std::size_t | y, | ||
| Value | value ) |
Sets at.
| x | X coordinate/value. |
| y | Y coordinate/value. |
| value | Value to assign or evaluate. |
Definition at line 170 of file potentialfield2d.cpp.
References checkedIndex(), data_, and touch().
Referenced by qpe::tests::runPotentialField2DTests().
|
noexcept |
Returns size.
Definition at line 138 of file potentialfield2d.cpp.
References data_.
Referenced by qpe::DiracSplitStepSolver2D::preparePotential(), qpe::SplitStepFourierSolver2D::preparePotential(), and qpe::tests::runPotentialField2DTests().
|
privatenoexcept |
Performs touch.
Definition at line 601 of file potentialfield2d.cpp.
References revision_.
Referenced by accumulate(), addBarrier(), addCircle(), addDoubleSlit(), addGaussian(), addHarmonic(), addLinear(), addPolygon(), addQuadrupole(), addRectangle(), addSingleSlit(), addSoftenedRadial(), addStadiumExterior(), addStandingWaveX(), resize(), and setAt().
|
noexcept |
Returns width.
Definition at line 128 of file potentialfield2d.cpp.
References width_.
Referenced by PotentialField2D(), addRectangle(), qpe::PotentialContours2D::compute(), qpe::tests::anonymous_namespace{potentialfield2d_tests.cpp}::nearestIndexX(), qpe::DiracSplitStepSolver2D::preparePotential(), qpe::SplitStepFourierSolver2D::preparePotential(), qpe::PotentialScene2D::rasterize(), MainWindow::rebuildLandauZenerReference(), MainWindow::rebuildRamseyReference(), resize(), qpe::tests::runPotentialContours2DTests(), qpe::tests::runPotentialField2DTests(), qpe::tests::runTimeDependentPotential2DTests(), qpe::BoundStates1D::solve(), and qpe::DiracSplitStepSolver2D::step().
|
noexcept |
Performs x coordinate.
| x | X coordinate/value. |
Definition at line 224 of file potentialfield2d.cpp.
Referenced by addBarrier(), addCircle(), addDoubleSlit(), addGaussian(), addHarmonic(), addLinear(), addPolygon(), addQuadrupole(), addRectangle(), addSingleSlit(), addSoftenedRadial(), addStadiumExterior(), addStandingWaveX(), qpe::PotentialContours2D::compute(), qpe::tests::anonymous_namespace{potentialfield2d_tests.cpp}::nearestIndexX(), qpe::tests::runPotentialField2DTests(), qpe::tests::runTimeDependentPotential2DTests(), and qpe::BoundStates1D::solve().
|
noexcept |
Performs y coordinate.
| y | Y coordinate/value. |
Definition at line 233 of file potentialfield2d.cpp.
Referenced by addBarrier(), addCircle(), addDoubleSlit(), addGaussian(), addHarmonic(), addLinear(), addPolygon(), addQuadrupole(), addRectangle(), addSingleSlit(), addSoftenedRadial(), addStadiumExterior(), qpe::PotentialContours2D::compute(), qpe::tests::anonymous_namespace{potentialfield2d_tests.cpp}::nearestIndexY(), qpe::tests::runPotentialField2DTests(), and qpe::tests::runTimeDependentPotential2DTests().
|
private |
Definition at line 402 of file potentialfield2d.h.
Referenced by accumulate(), addBarrier(), addCircle(), addDoubleSlit(), addGaussian(), addHarmonic(), addLinear(), addPolygon(), addQuadrupole(), addRectangle(), addSingleSlit(), addSoftenedRadial(), addStadiumExterior(), addStandingWaveX(), at(), data(), empty(), maximum(), minimum(), resize(), setAt(), and size().
|
private |
Definition at line 400 of file potentialfield2d.h.
Referenced by accumulate(), dx(), and resize().
|
private |
Definition at line 401 of file potentialfield2d.h.
Referenced by accumulate(), dy(), and resize().
|
private |
Definition at line 399 of file potentialfield2d.h.
Referenced by accumulate(), addBarrier(), addCircle(), addDoubleSlit(), addGaussian(), addHarmonic(), addLinear(), addPolygon(), addQuadrupole(), addRectangle(), addSingleSlit(), addSoftenedRadial(), addStadiumExterior(), addStandingWaveX(), checkedIndex(), height(), and resize().
|
private |
Definition at line 403 of file potentialfield2d.h.
Referenced by revision(), and touch().
|
private |
Definition at line 398 of file potentialfield2d.h.
Referenced by accumulate(), addBarrier(), addCircle(), addDoubleSlit(), addGaussian(), addHarmonic(), addLinear(), addPolygon(), addQuadrupole(), addRectangle(), addSingleSlit(), addSoftenedRadial(), addStadiumExterior(), addStandingWaveX(), checkedIndex(), resize(), and width().