40 unsigned int subStepNo,
41 unsigned int noIntegrationVariables )
56 PrintStatus(StartFT, CurrentFT, requestStep, subStepNo );
64 unsigned int subStepNo)
66 const G4int noPrecision = 8;
67 const G4int prec7 = noPrecision+2;
68 const G4int prec8 = noPrecision+3;
69 const G4int prec9 = noPrecision+4;
76 G4int verboseLevel= 2;
79 G4double DotStartCurrentVeloc= StartUnitVelocity.
dot(CurrentUnitVelocity);
84 if( (subStepNo <= 1) || (verboseLevel > 3) )
86 subStepNo = - subStepNo;
88 G4cout <<
"------------------------------------------------------------------"
90 G4cout << std::setw( 6) <<
" " << std::setw( 25)
91 <<
" G4DriverReporter: Current Position and Direction" <<
" "
93 G4cout << std::setw( 5) <<
"Step#" <<
" "
94 << std::setw( prec7) <<
"s-curve" <<
" "
95 << std::setw( prec9) <<
"X(mm)" <<
" "
96 << std::setw( prec9) <<
"Y(mm)" <<
" "
97 << std::setw( prec9) <<
"Z(mm)" <<
" "
98 << std::setw( prec8) <<
" N_x " <<
" "
99 << std::setw( prec8) <<
" N_y " <<
" "
100 << std::setw( prec8) <<
" N_z " <<
" "
101 << std::setw( 6) <<
" N^2-1 " <<
" "
102 << std::setw(10) <<
" N(0).N " <<
" "
103 << std::setw( 7) <<
"KinEner " <<
" "
104 << std::setw(12) <<
"Track-l" <<
" "
105 << std::setw(12) <<
"Step-len" <<
" "
106 << std::setw(12) <<
"Step-len" <<
" "
107 << std::setw( 9) <<
"ReqStep" <<
" "
111 G4cout.precision(noPrecision);
113 if( (subStepNo <= 0) )
121 G4cout.precision(noPrecision);
123 subStepNo, subStepSize, DotStartCurrentVeloc );
125 G4cout <<
"------------------------------------------------------------------"
127 G4cout.precision(oldPrec);
139 const G4int noPrecision = 8;
140 const G4int prec7 = noPrecision+2;
141 const G4int prec8 = noPrecision+3;
142 const G4int prec9 = noPrecision+4;
151 G4cout << std::setw( 5) << subStepNo <<
" ";
155 G4cout << std::setw( 5) <<
"Start" <<
" ";
158 G4cout << std::setw( 7) << curveLen;
160 G4cout << std::setw( prec9) << Position.x() <<
" "
161 << std::setw( prec9) << Position.y() <<
" "
162 << std::setw( prec9) << Position.z() <<
" "
163 << std::setw( prec8) << UnitVelocity.
x() <<
" "
164 << std::setw( prec8) << UnitVelocity.
y() <<
" "
165 << std::setw( prec8) << UnitVelocity.
z() <<
" ";
168 if( std::fabs( unitMagDif ) < 1.0e-15 ) { unitMagDif = 0.0; }
169 G4cout << std::setw( 8) << unitMagDif <<
" ";
171 G4cout << std::setw(10) << dotVeloc_StartCurr <<
" ";
172 G4cout.precision(oldprec);
174 G4cout << std::setw(12) << step_len <<
" ";
181 if( curveLen > oldCurveLength )
183 subStep_len= curveLen - oldCurveLength;
185 else if (subStepNo == oldSubStepNo)
187 subStep_len= oldSubStepLength;
189 oldCurveLength= curveLen;
190 oldSubStepLength= subStep_len;
192 G4cout << std::setw(12) << subStep_len <<
" ";
193 G4cout << std::setw(12) << subStepSize <<
" ";
194 if( requestStep != -1.0 )
196 G4cout << std::setw( prec9) << requestStep <<
" ";
200 G4cout << std::setw( prec9) <<
" InitialStep " <<
" ";
static void PrintStatus(const G4double *StartArr, G4double xstart, const G4double *CurrentArr, G4double xcurrent, G4double requestStep, unsigned int subStepNo, unsigned int noIntegrationVariables)
static void PrintStat_Aux(const G4FieldTrack &aFieldTrack, G4double requestStep, G4double actualStep, G4int subStepNo, G4double subStepSize, G4double dotVelocities)