mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-15 16:18:22 +01:00
Subsequent simulation wiped out dump file even though there was no dump. Check to see if dump file is needed before opening file in dump_entities.
git-svn-id: svn://136.177.114.72/svn_GW/phreeqcpp/trunk@3705 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
parent
4d71795183
commit
c3d4c1c462
@ -1135,7 +1135,16 @@ dump_entities(void)
|
||||
{
|
||||
int i, n, return_value;
|
||||
return_value = OK;
|
||||
|
||||
if (!dump_info.get_dump_solution() &&
|
||||
!dump_info.get_dump_pp_assemblage() &&
|
||||
!dump_info.get_dump_exchange() &&
|
||||
!dump_info.get_dump_surface() &&
|
||||
!dump_info.get_dump_s_s_assemblage() &&
|
||||
!dump_info.get_dump_gas_phase() &&
|
||||
!dump_info.get_dump_kinetics())
|
||||
{
|
||||
return(OK);
|
||||
}
|
||||
|
||||
|
||||
std::ofstream dump_stream;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user