File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -585,7 +585,7 @@ void Neutrals::calc_chapman(Grid grid) {
585
585
species[iSpecies].density_scgc .slice (iAlt) %
586
586
species[iSpecies].scale_height_scgc .slice (iAlt);
587
587
588
- species[iSpecies].rho_alt_int_scgc .slice (iAlt) = integral3d.slice (iAlt);
588
+ species[iSpecies].rho_alt_int_scgc .slice (iAlt) = integral3d.slice (iAlt) * species[iSpecies]. mass ;
589
589
590
590
for (iAlt = nAlts - 2 ; iAlt >= 0 ; iAlt--) {
591
591
// dr is used here instead of dalt, since we only want the radial integration, while
@@ -596,7 +596,7 @@ void Neutrals::calc_chapman(Grid grid) {
596
596
species[iSpecies].rho_alt_int_scgc .slice (iAlt) =
597
597
species[iSpecies].rho_alt_int_scgc .slice (iAlt + 1 ) +
598
598
species[iSpecies].density_scgc .slice (iAlt) %
599
- grid.dk_edge_m .slice (iAlt + 1 );
599
+ grid.dk_edge_m .slice (iAlt + 1 ) * species[iSpecies]. mass ;
600
600
}
601
601
602
602
erfcy3d = (a + b * y3d) / (c + d * y3d + y3d % y3d);
You can’t perform that action at this time.
0 commit comments