mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 16:44:49 +01:00
changed back to using high_precision bool for diffc and disp in dump_cpp
git-svn-id: svn://136.177.114.72/svn_GW/phreeqc3/trunk@7994 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
parent
39abad331d
commit
7c66a50b9b
24
readtr.cpp
24
readtr.cpp
@ -1127,12 +1127,12 @@ dump_cpp(void)
|
||||
fs << token;
|
||||
sprintf(token, "\t-timest %13.5e\n", (double) timest);
|
||||
fs << token;
|
||||
//if (!high_precision)
|
||||
//{
|
||||
// sprintf(token, "\t-diffc %13.5e\n", (double) diffc);
|
||||
// fs << token;
|
||||
//}
|
||||
//else
|
||||
if (!high_precision)
|
||||
{
|
||||
sprintf(token, "\t-diffc %13.5e\n", (double) diffc);
|
||||
fs << token;
|
||||
}
|
||||
else
|
||||
{
|
||||
sprintf(token, "\t-diffc %20.12e\n", (double) diffc);
|
||||
fs << token;
|
||||
@ -1167,12 +1167,12 @@ dump_cpp(void)
|
||||
fs << token;
|
||||
for (int i = 0; i < count_cells; i++)
|
||||
{
|
||||
//if (!high_precision)
|
||||
//{
|
||||
// sprintf(token, "%12.3e", (double) cell_data[i].disp);
|
||||
// fs << token;
|
||||
//}
|
||||
//else
|
||||
if (!high_precision)
|
||||
{
|
||||
sprintf(token, "%12.3e", (double) cell_data[i].disp);
|
||||
fs << token;
|
||||
}
|
||||
else
|
||||
{
|
||||
sprintf(token, "%20.12e", (double) cell_data[i].disp);
|
||||
fs << token;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user