Uses of Class
simpa.core.api.exceptions.KnownFatalException
Packages that use KnownFatalException
Package
Description
This package contains the public interfaces and classes of the simpa.acc library.
This package contains all the interfaces and classes related to the creation and setting up of components
to construct accelerators.
This package contains utility classes to help in using the simpa.acc module.
This package contains all public interfaces and classes that can be programmed to.
This package contains the code related to tracking particles in SIMPA.
This package contains all utils that can be used to set up the SIMPA Core library.
-
Uses of KnownFatalException in simpa.acc.api
Methods in simpa.acc.api that throw KnownFatalExceptionModifier and TypeMethodDescriptionAccCli.beamFromFile(ParticleType type, Double mom, Double lPos, Double mass, Double charge, String name, String file) AccCli.createBeam(ParticleType type, Double mom, Double he, Double ve, Double lPos, Double dpOp, Double mass, Double charge, String name, BeamDistribution distribution, Integer nParticles, TwissParameters twiss) AccCli.createBeamRegion(Profile profile, double distance, Double ballRadius, Double extention) AccCli.createParticle(ParticleType type, Double mom, Double dx, Double ax, Double dy, Double ay, Double lPos, Double dpOp, Double mass, Double charge, String name) AccCli.createTwiss(Double x, Double xp, Double y, Double yp, Double ha, Double va, Double hb, Double vb, Double dispH, Double dispV, Double dispPrimeH, Double dispPrimeV, Double emH, Double emV, Double muH, Double muV, Double dpop, Double lPos) voidAccCli.fieldOnCurve(Map<String, Double> map, org.apache.commons.math3.geometry.euclidean.threed.Vector3D shift, String outputFile, Boolean localFrame) ParticleFactory.getFromFile(double p0InGeV, String fileName, double longiPos, PotentialProvider afp, double mass, double charge) Generate particles in a flat 5D beam, all particles are on the same longitudinal position.ParticleFactory.getParticle(double p0InGeV, PhaseSpaceCoordinates phs, double longiPos, PotentialProvider afp, double mass, double charge) Gets a particle with the given data.ParticleFactory.getParticle(double p0InGeV, PhaseSpaceCoordinates phs, double longiPos, PotentialProvider pp, ParticleType type) Gets a particle with the given data.voidAccCli.track(Particle particle, Beam beam, Integer turns, Double stepSize, Double[] phoLongiPosArray, Double diskRadius, Boolean trajectoryObserver, String sigmaFile, Boolean debug, Integer threads, Boolean backward) Constructors in simpa.acc.api that throw KnownFatalExceptionModifierConstructorDescriptionBeam(BeamSampler beamSampler, double nomMomentum, ReferenceOrbit refOrbit, double longiPos, PotentialProvider potProvider, double mass, double charge, int nbOfSamples, String name) Construct a beam with the given parameters.EllipseBeam(EllipseBeamSampler beamSampler, double nomMomentum, ReferenceOrbit refOrbit, double longiPos, PotentialProvider potProvider, double mass, double charge, int nbOfSamples, String name) -
Uses of KnownFatalException in simpa.acc.api.create
Methods in simpa.acc.api.create that throw KnownFatalExceptionModifier and TypeMethodDescriptionvoidBeamRegion.writeHCPLatticeCover(String outFileName, double radius) Writes a HCP lattice cover file for the beam region. -
Uses of KnownFatalException in simpa.acc.api.utils
Methods in simpa.acc.api.utils that throw KnownFatalExceptionModifier and TypeMethodDescriptionvoidFrequencyAnalysis.scanTunes2D(double stepSize) Executes the tune scan by tracking particles for the given number of turns for each point in the tune diagram.voidDynamicAperture.track(int turns) First it sets up the particle for the frequency analysys, then tracks particles for the specified number of turns. -
Uses of KnownFatalException in simpa.core.api
Methods in simpa.core.api that throw KnownFatalExceptionModifier and TypeMethodDescriptionstatic SphereCoveringSphereCovering.createHCPLatticeCover(String stlFile, double ballRadius) Creates an HCP lattice of equal spheres with a given radius.static SphereCoveringSphereCovering.createHCPLatticeCover(List<Profile> profiles, double ballRadius, boolean circularPath) Creates an HCP lattice of equal spheres with a given radius.double[][]PotentialProvider.getPotentialsWithDerivatives(org.apache.commons.math3.geometry.euclidean.threed.Vector3D r) Gets the vector potentials and gradients at a given point. -
Uses of KnownFatalException in simpa.core.api.track
Methods in simpa.core.api.track that throw KnownFatalException -
Uses of KnownFatalException in simpa.core.api.utils
Methods in simpa.core.api.utils that throw KnownFatalExceptionModifier and TypeMethodDescriptionstatic org.apache.commons.math3.geometry.euclidean.threed.Vector3DCalculatorUtils.getAVector(PotentialProvider afp, org.apache.commons.math3.geometry.euclidean.threed.Vector3D pos) Evaluates the vector potential at the given position from the given PotentialProvider instance.static org.apache.commons.math3.geometry.euclidean.threed.Vector3DCalculatorUtils.getBField(PotentialProvider pp, org.apache.commons.math3.geometry.euclidean.threed.Vector3D pos) Evaluates the magnetic field at the given position from the given PotentialProvider instance.static org.apache.commons.math3.geometry.euclidean.threed.Vector3DCalculatorUtils.getEField(PotentialProvider pp, org.apache.commons.math3.geometry.euclidean.threed.Vector3D pos) Evaluates the electric field at the given position from the given PotentialProvider instance.static voidDiagnosticUtils.getFieldsOnCurve(List<PointSource> sources, List<org.apache.commons.math3.geometry.euclidean.threed.Vector3D> curve, org.apache.commons.math3.geometry.euclidean.threed.Vector3D shift, String outfile, LengthUnit lUnit, List<LocalFrame> lfl) Write the field components into a file along a curve.static voidDiagnosticUtils.getFieldsOnCurve(PotentialProvider pp, List<org.apache.commons.math3.geometry.euclidean.threed.Vector3D> curve, org.apache.commons.math3.geometry.euclidean.threed.Vector3D shift, String outfile, List<LocalFrame> lfl, boolean localFrame) Write the field components into a file along a curve.static doubleCalculatorUtils.getScalarPotential(PotentialProvider afp, org.apache.commons.math3.geometry.euclidean.threed.Vector3D pos) Evaluates the scalar potential at the given position from the given PotentialProvider instance.static org.apache.commons.math3.geometry.euclidean.threed.Vector3DDiagnosticUtils.integrateBFieldOnCurve(List<PointSource> sources, List<org.apache.commons.math3.geometry.euclidean.threed.Vector3D> curve, org.apache.commons.math3.geometry.euclidean.threed.Vector3D shift, List<LocalFrame> lfl) Integrates the B field on the curve and returns the integral.static org.apache.commons.math3.geometry.euclidean.threed.Vector3DDiagnosticUtils.integrateEFieldOnCurve(List<PointSource> sources, List<org.apache.commons.math3.geometry.euclidean.threed.Vector3D> curve, org.apache.commons.math3.geometry.euclidean.threed.Vector3D shift, List<LocalFrame> lfl) Integrates the E field on the curve and returns the integral.voidRmsErrorCalculator.printRMSErrorForSHFieldFile(String filename, PotentialProvider pp, int ntest) Prints the RMS (root mean square) error for a SHField in a given file.