OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
Public Member Functions | Public Attributes | List of all members
CoreFitSC::CoreSelection Struct Reference

Result of selectCore(), the same on every rank. More...

#include <CoreFitSC.h>

Collaboration diagram for CoreFitSC::CoreSelection:
Collaboration graph
[legend]

Public Member Functions

double getFarChargeFraction () const
 Far charge over live charge, 0 without live charge.
 

Public Attributes

Vector_t mean
 clipped mean [m]
 
Vector_t sigma
 clipped rms [m]
 
Vector_t boundsMin
 minimum over the core particles [m]
 
Vector_t boundsMax
 
std::size_t numLive = 0
 particles with Bin >= 0
 
std::size_t numCore = 0
 live particles within nSigma * sigma in every axis
 
std::size_t numFar = 0
 the other live particles
 
std::size_t numHalo = 0
 live particles beyond haloSigma * sigma in any axis
 
double chargeLive = 0.0
 charge of the live particles [C]
 
double chargeFar = 0.0
 charge of the far live particles [C]
 
double farMaxDistance = 0.0
 
unsigned int passes = 0
 clipped passes done, 0 to maxClipPasses
 
bool converged = false
 false if the passes stopped at maxClipPasses
 

Detailed Description

Result of selectCore(), the same on every rank.

Definition at line 117 of file CoreFitSC.h.

Member Function Documentation

◆ getFarChargeFraction()

double CoreFitSC::CoreSelection::getFarChargeFraction ( ) const

Far charge over live charge, 0 without live charge.

Definition at line 84 of file CoreFitSC.cpp.

Referenced by PartBunchBase< T, Dim >::getSolverMeshBounds(), ParallelCyclotronTracker::printMeshFit_m(), and StatWriter::write().

Member Data Documentation

◆ boundsMax

Vector_t CoreFitSC::CoreSelection::boundsMax

maximum over the core particles [m]; an empty box (boundsMin > boundsMax) if there is no core particle

Definition at line 121 of file CoreFitSC.h.

Referenced by CoreFitSC::getMeshBox(), PartBunchBase< T, Dim >::getSolverMeshBounds(), CoreFitSC::selectCore(), StatWriter::write(), and H5PartWrapperForPC::writeStepHeader().

◆ boundsMin

Vector_t CoreFitSC::CoreSelection::boundsMin

◆ chargeFar

double CoreFitSC::CoreSelection::chargeFar = 0.0

charge of the far live particles [C]

Definition at line 128 of file CoreFitSC.h.

Referenced by CoreFitSC::selectCore().

◆ chargeLive

double CoreFitSC::CoreSelection::chargeLive = 0.0

charge of the live particles [C]

Definition at line 127 of file CoreFitSC.h.

Referenced by CoreFitSC::selectCore().

◆ converged

bool CoreFitSC::CoreSelection::converged = false

false if the passes stopped at maxClipPasses

Definition at line 132 of file CoreFitSC.h.

Referenced by CoreFitSC::selectCore().

◆ farMaxDistance

double CoreFitSC::CoreSelection::farMaxDistance = 0.0

largest max_d |r_d - mean_d| / sigma_d of a far particle, over the axes with sigma_d > flatWidth

Definition at line 129 of file CoreFitSC.h.

Referenced by ParallelCyclotronTracker::printMeshFit_m(), CoreFitSC::selectCore(), and StatWriter::write().

◆ mean

Vector_t CoreFitSC::CoreSelection::mean

clipped mean [m]

Definition at line 118 of file CoreFitSC.h.

Referenced by CoreFitSC::getMeshBox(), and CoreFitSC::selectCore().

◆ numCore

std::size_t CoreFitSC::CoreSelection::numCore = 0

live particles within nSigma * sigma in every axis

Definition at line 124 of file CoreFitSC.h.

Referenced by PartBunchBase< T, Dim >::getSolverMeshBounds(), ParallelCyclotronTracker::printMeshFit_m(), CoreFitSC::selectCore(), and StatWriter::write().

◆ numFar

std::size_t CoreFitSC::CoreSelection::numFar = 0

◆ numHalo

std::size_t CoreFitSC::CoreSelection::numHalo = 0

live particles beyond haloSigma * sigma in any axis

Definition at line 126 of file CoreFitSC.h.

Referenced by ParallelCyclotronTracker::printMeshFit_m(), CoreFitSC::selectCore(), and StatWriter::write().

◆ numLive

std::size_t CoreFitSC::CoreSelection::numLive = 0

◆ passes

unsigned int CoreFitSC::CoreSelection::passes = 0

clipped passes done, 0 to maxClipPasses

Definition at line 131 of file CoreFitSC.h.

Referenced by ParallelCyclotronTracker::printMeshFit_m(), CoreFitSC::selectCore(), and StatWriter::write().

◆ sigma

Vector_t CoreFitSC::CoreSelection::sigma

The documentation for this struct was generated from the following files: