@@ -535,6 +535,11 @@ void verifyChunkMcplib( const PhotoatomicTable& chunk ) {
535535
536536 // SPHEL block - not an EPR data file
537537 CHECK ( false == chunk.SPHEL ().has_value () );
538+
539+ // XPROB block - EPR data file
540+
541+ // ESZE block - EPR data file
542+ CHECK ( false == chunk.ESZE ().has_value () );
538543}
539544
540545void verifyChunkMcplib03 ( const PhotoatomicTable& chunk ) {
@@ -683,6 +688,11 @@ void verifyChunkMcplib03( const PhotoatomicTable& chunk ) {
683688
684689 // SPHEL block - not an EPR data file
685690 CHECK ( false == chunk.SPHEL ().has_value () );
691+
692+ // XPROB block - EPR data file
693+
694+ // ESZE block - EPR data file
695+ CHECK ( false == chunk.ESZE ().has_value () );
686696}
687697
688698void verifyChunkEprdata12 ( const PhotoatomicTable& chunk ) {
@@ -849,4 +859,37 @@ void verifyChunkEprdata12( const PhotoatomicTable& chunk ) {
849859
850860 CHECK ( 0.000000000000E+00 == Approx ( chunk.SPHEL ()->photoelectric (1 ).front () ) );
851861 CHECK ( -3.249289163676E+01 == Approx ( chunk.SPHEL ()->photoelectric (1 ).back () ) );
862+
863+ // XPROB block - EPR data file
864+
865+ // ESZE block - EPR data file
866+ CHECK ( true == chunk.ESZE ().has_value () );
867+
868+ CHECK ( 342 == chunk.ESZE ()->NE () );
869+ CHECK ( 342 == chunk.ESZE ()->numberEnergyPoints () );
870+ CHECK ( 1 == chunk.ESZE ()->NSSH () );
871+ CHECK ( 1 == chunk.ESZE ()->numberElectronSubshells () );
872+
873+ CHECK ( 342 == chunk.ESZE ()->energies ().size () );
874+ CHECK ( 342 == chunk.ESZE ()->total ().size () );
875+ CHECK ( 342 == chunk.ESZE ()->elastic ().size () );
876+ CHECK ( 342 == chunk.ESZE ()->bremsstrahlung ().size () );
877+ CHECK ( 342 == chunk.ESZE ()->excitation ().size () );
878+ CHECK ( 342 == chunk.ESZE ()->totalElectroionisation ().size () );
879+ CHECK ( 342 == chunk.ESZE ()->electroionisation (1 ).size () );
880+
881+ CHECK ( 1.000000000000E-05 == Approx ( chunk.ESZE ()->energies ().front () ) );
882+ CHECK ( 1.000000000000E+05 == Approx ( chunk.ESZE ()->energies ().back () ) );
883+ CHECK ( 2.748960297832E+08 == Approx ( chunk.ESZE ()->total ().front () ) );
884+ CHECK ( 1.643349906341E+05 == Approx ( chunk.ESZE ()->total ().back () ) );
885+ CHECK ( 2.748960000000E+08 == Approx ( chunk.ESZE ()->elastic ().front () ) );
886+ CHECK ( 1.311760000000E-05 == Approx ( chunk.ESZE ()->elastic ().back () ) );
887+ CHECK ( 2.978320000000E+01 == Approx ( chunk.ESZE ()->bremsstrahlung ().front () ) );
888+ CHECK ( 9.906210000000E-01 == Approx ( chunk.ESZE ()->bremsstrahlung ().back () ) );
889+ CHECK ( 0.000000000000E+00 == Approx ( chunk.ESZE ()->excitation ().front () ) );
890+ CHECK ( 8.144160000000E+04 == Approx ( chunk.ESZE ()->excitation ().back () ) );
891+ CHECK ( 0.000000000000E+00 == Approx ( chunk.ESZE ()->totalElectroionisation ().front () ) );
892+ CHECK ( 8.289240000000E+04 == Approx ( chunk.ESZE ()->totalElectroionisation ().back () ) );
893+ CHECK ( 0.000000000000E+00 == Approx ( chunk.ESZE ()->electroionisation (1 ).front () ) );
894+ CHECK ( 8.289240000000E+04 == Approx ( chunk.ESZE ()->electroionisation (1 ).back () ) );
852895}
0 commit comments