Uses of Class
xal.tools.math.r3.R3
Packages that use R3
Package
Description
Modeling Elements Package Library
Contains classes for representing particle beams
and various aspects and properties of particle beams.
-
Uses of R3 in xal.model.elem
Methods in xal.model.elem with parameters of type R3 -
Uses of R3 in xal.model.probe
Methods in xal.model.probe that return R3Modifier and TypeMethodDescriptionEnsembleProbe.electricField(R3 ptFld) Get the electric field at a point in R3 from the ensemble.TwissProbe.getBetatronPhase()Returns the betatron phase with space charge for all three phase planes.Methods in xal.model.probe with parameters of type R3Modifier and TypeMethodDescriptionEnsembleProbe.electricField(R3 ptFld) Get the electric field at a point in R3 from the ensemble.voidTwissProbe.setBetatronPhase(R3 vecPhase) Set the betatron phase for each phase plane. -
Uses of R3 in xal.model.probe.traj
Methods in xal.model.probe.traj that return R3Modifier and TypeMethodDescriptionEnsembleProbeState.electricField(R3 ptFld) Get the electric field at a point in R3 from the ensemble.TwissProbeState.getBetatronPhase()Returns the betatron phase with space charge for all three phase planes.Methods in xal.model.probe.traj with parameters of type R3Modifier and TypeMethodDescriptionEnsembleProbeState.electricField(R3 ptFld) Get the electric field at a point in R3 from the ensemble.voidTwissProbeState.setBetatronPhase(R3 vecPhase) Set the betatron phase with space charge for each phase plane. -
Uses of R3 in xal.tools.beam
Methods in xal.tools.beam that return R3Modifier and TypeMethodDescriptionPhaseVector.getMomentum()Get momentum coordinate in R3.PhaseVector.getPosition()Get position coordinates in R3.Methods in xal.tools.beam with parameters of type R3Modifier and TypeMethodDescriptionstatic PhaseMatrixPhaseMatrix.spatialTranslation(R3 vecDispl) Create a phase matrix representing a linear translation operator on homogeneous phase space that only affects the spatial coordinates.Constructors in xal.tools.beam with parameters of type R3ModifierConstructorDescriptionPhaseVector(R3 vecPos, R3 vecMom) Create a new instance of PhaseVector with specified initial value. -
Uses of R3 in xal.tools.beam.calc
Methods in xal.tools.beam.calc that return R3Modifier and TypeMethodDescriptionprotected R3CalculationEngine.calculatePhaseAdvance(PhaseMatrix matPhi, Twiss[] twsInit, Twiss[] twsFinal) Taken fromTransferMapState.protected R3CalculationEngine.calculatePhaseAdvPerCell(PhaseMatrix matPhiCell) Taken fromTransferMapTrajectory.protected R3CalculationEngine.calculateTunePerCell(PhaseMatrix matPhiCell) Taken fromTransferMapTrajectory.CalculationsOnBeams.computeBetatronPhase(EnvelopeProbeState state) Computes and returns the "betatron phase" of a beam particle within the simulated envelope at the given state location.CalculationsOnMachines.computeBetatronPhase(TransferMapState state) This is the phase advance for the given state location.ISimulationResults.ISimEnvResults.computeBetatronPhase(S state) Get the betatron phase values at the given state location for all three phase planes.SimResultsAdaptor.computeBetatronPhase(ProbeState<?> state) CalculationsOnRings.computeFractionalTunes()Calculates the fractional phase tune for the ring from its one-turn matrix.CalculationsOnRings.computeFullTunes()Calculates and returns the full tune around the ring including the integer portion.CalculationsOnRings.computePhaseAdvanceBetween(TransferMapState state1, TransferMapState state2) Computes the phase advances between the given state locations for each phase plane.CalculationsOnBeams.periodBetatronPhaseAdvance()Returns the betatron phase advances from the simulation beginning to end (which are computed at instantiation).CalculationsOnParticles.periodBetatronPhaseAdvance()Returns the betatron phase advances from the simulation beginning to end (which are computed at instantiation).CalculationsOnRings.ringBetatronPhaseAdvance()Returns the betatron phase advances for the ring entrance (which are computed at instantiation). -
Uses of R3 in xal.tools.beam.em
Constructors in xal.tools.beam.em with parameters of type R3ModifierConstructorDescriptionBeamEllipsoid(double dblGamma, R3 vec1stMmts, R3 vec2ndMmts) Construct a beam charge density ellipsoid where the second spatial moments and axial displacement are given directly. -
Uses of R3 in xal.tools.beam.ens
Methods in xal.tools.beam.ens that return R3Modifier and TypeMethodDescriptionParticle.electricField(R3 ptFld) Computes the Coulomb electric field of the particle at the given field point.Particle.electricField(R3 ptFld, double radius) Computes electric field assuming the particle is an uniform sphere of charge with radius R.Particle.getMomentum()Get the velocity vector of the particleParticle.getPosition()Get the position vector of the particleParticle.magneticField(R3 ptFld) Computes magnetic field assuming the particle is an uniform sphere of charge with radius R.Particle.magneticField(R3 ptFld, double radius) Computes magnetic field assuming the particle is an uniform sphere of charge with radius R.Ensemble.totalCurrent()Get the total current of the ensemble.Methods in xal.tools.beam.ens with parameters of type R3Modifier and TypeMethodDescriptionParticle.electricField(R3 ptFld) Computes the Coulomb electric field of the particle at the given field point.Particle.electricField(R3 ptFld, double radius) Computes electric field assuming the particle is an uniform sphere of charge with radius R.doubleParticle.electricPotential(R3 ptFld) Computes the Coulomb potential of the particle at the given field point.doubleParticle.electricPotential(R3 ptFld, double radius) Computes electric potential assuming the particle was an uniform sphere of charge with radius R.Particle.magneticField(R3 ptFld) Computes magnetic field assuming the particle is an uniform sphere of charge with radius R.Particle.magneticField(R3 ptFld, double radius) Computes magnetic field assuming the particle is an uniform sphere of charge with radius R.doubleEnsemble.potentialQuadExpansion(R3 pt, double q, PhaseMatrix matSigma) Computes the electric potential from a quadrupole multipole expansion.doubleEnsemble.potentialSummation(R3 ptFld) Computes the Coulomb potential of the ensemble at the given field point. -
Uses of R3 in xal.tools.math.r3
Methods in xal.tools.math.r3 that return R3Modifier and TypeMethodDescriptionApply coordinate transform from cartesian to cylindrical coordinates.R3.cartesian2Spherical()Apply coordinate transform from cartesian to spherical coordinates.ClosedBox.centroid()Compute the centroid of the domainR3.clone()Creates and returns a deep copy of this vector.Grid.compPtCoords(int i, int j, int k) Return the coordinates in R3 of the grid point at index (i,j,k)Grid.compPtCoords(Z3 vecIndex) Return the coordinates in R3 of the grid point at index (i,j,k)R3.copy()Performs a deep copy operation.Apply coordinate transform from cylindrical to cartesian coordinatesClosedBox.dimensions()Compute the dimensions of the domainPoissonGrid.fieldCartesian(R3 pt) Compute and return the field in cartesian coordinates at point pt as generated by the potential values on the grid.PoissonGrid.fieldCylindrical(R3 pt) Compute and return the field in cylindrical coordinates at point pt as generated by the potential values on the grid.PoissonGrid.fieldSpherical(R3 pt) Compute and return the field in spherical coordinates at point pt as generated by the potential values on the grid.Sphere.getCentroid()Get the centroid of the sphereGrid.getGridOrigin()Get the coordinates of the grid origin, i.e., the first grid vertex.Grid.getGridResolution()Get grid resolution.ClosedBox.getVertexMax()Get the maximum vertexClosedBox.getVertexMin()Get the minimum vertexGrid.interpolateGradient(R3 pt) Compute and return the interpolated function gradient at the point pt.protected R3R3.newInstance(double[] arrVecInt) protected R3R3.newInstance(int size) Handles object creation required by the base class.static R3Create a new instance of R3 with initial value determined by the formatted string argument.R3.spherical2Cartesian()Apply coordinate tranform from spherical to cartesian coordinatesR3.squared()Returns the vector of squared elements.Vector multiplication using three-dimensional cross product.Nondestructive Matrix-Vector multiplication.static R3R3.zero()Create a new instance of the zero vector.Methods in xal.tools.math.r3 with parameters of type R3Modifier and TypeMethodDescriptionbooleanDetermine whether or not point pt is member of the boundary of this set.booleanDetermine whether a point is a boundary element of the spherexal.tools.math.r3.Grid.GridCellGrid.compCellContaining(R3 pt) Return the grid cell containing this point.Grid.compCellIndex(R3 pt) Compute the base vertex index of grid cell containing this point.PoissonGrid.fieldCartesian(R3 pt) Compute and return the field in cartesian coordinates at point pt as generated by the potential values on the grid.PoissonGrid.fieldCylindrical(R3 pt) Compute and return the field in cylindrical coordinates at point pt as generated by the potential values on the grid.PoissonGrid.fieldSpherical(R3 pt) Compute and return the field in spherical coordinates at point pt as generated by the potential values on the grid.Grid.interpolateGradient(R3 pt) Compute and return the interpolated function gradient at the point pt.doubleGrid.interpolateValue(R3 pt) Compute and return the interpolated function value at the point ptbooleanClosedBox.membership(R3 pt) Determine whether point pt is an element of the domain.booleanSphere.membership(R3 pt) Determine whether a point is an element of the spherebooleanGrid.membershipGrid(R3 pt) Determine whether a point is an element of the domain of definition for this grid.doubleCompute and return interpolated potential at a point pt within grid definition.Vector multiplication using three-dimensional cross product.Nondestructive Matrix-Vector multiplication.Constructors in xal.tools.math.r3 with parameters of type R3