Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix formatting issues in dose scoring ausgab object #1013

Merged
merged 1 commit into from
Jun 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -257,10 +257,11 @@ void EGS_DoseScoring::setApplication(EGS_Application *App) {
description += " - Medium dose will be calculated\n";
}
description += "\n--------------------------------------\n";
sprintf(buf,"%*s rho (g/cm^3)\n",max_medl,"medium");
sprintf(buf,"%*s %*s rho/(g/cm^3)\n",max_medl/2,"medium",max_medl/2," ");
description += buf;
description += "--------------------------------------\n";
for (imed=0; imed < nmedia; imed++) {
sprintf(buf,"%-*s",max_medl,app->getMediumName(imed));
description += buf;
description += " ";
sprintf(buf,"%11.8f",app->getMediumRho(imed));
Expand Down Expand Up @@ -638,7 +639,7 @@ extern "C" {
// Check if one volume for each group requested.
// If not just pass the volumes read and if there
// is a mismatch, then the first volume element
// or 1g/cm3 will be used.
// or 1 g/cm3 will be used.
//=================================================
vector <EGS_Float> volin;
// groups of regions with same volume
Expand Down