[root]/CCA/Components/PatchCombiner
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 25 (100.0%) | 596 (100.0%) | 23.8 |
harman | 20 (80.0%) | 591 (99.2%) | 29.5 |
jas | 5 (20.0%) | 5 (0.8%) | 1.0 |
More housekeeping
renamed directory PatchComber -> ReduceUda
0 lines of code changed in 5 files:
Housekeeping:
-Removed PatchCombiner code and cleaned out calls to it.
1 lines of code changed in 4 files:
DataArchiver.cc
- reduceUdaSetup()
Just use a plain copy for coping the checkpoints.
Now copying the original ups and input.xml.org files
-beginOutputTimestep()
fixed compiler warning
- copy_outputProblemSpec()
cleaned up output statement
AMRSimulationController.cc
- run() inside reduceUda conditional block
setting the intital physical time from reduceUda
Dir.cc
- getFilenamesBySuffix()
comment out cout statement
UdaReducer.cc
- polished, added comments, cleaned up user output
- added user message
- initialize()
set delt = 0. You must have this if outputInitTimestep was used.
- computeLabels()
removed code that will never be used.
- deleted finalizeTimestep related code. It's not needed
- needRecompile()
recompile the taskgraph every timestep. The saved variable list
and the number of matls could change from timestep to timestep.
reduce_uda is in final testing phase. All initial tests show that it's working.
63 lines of code changed in 4 files:
Stepping gently.
UdaReducer.cc
- updated debugstream messages.
- no longer setting the current top level timestep in the initialization task.
DataArchiever.cc/h
- created a map that is used only by reduceUda that holds what the directory timesteps are
and is keyed by the simulation timestep.
- added getTimestepTopLevel()
This returns the simulation timestep or if reduceUda is used a directory timestep.
- reduceUdaSetup()
created the global map that holds the directory timesteps
-makeTimestepDirs() & writeto_xml_files() & outputVariables()
use getTimestepTopLevel() for the timestep stamp.
6 lines of code changed in 1 file:
Overall
Cleaning out combined_patches, reuse combinePatchSetup() & more heavy construction on reduceUda, details below.
sus.cc
- removed combine_patch option and related code.
- renamed doCombinePatches() -> setReduceUdaFlags()
Output.h
- alphabetize includes
- renamed doCombinePatches() -> setReduceUdaFlags()
SimulationController.h
- renamed doCombinePatches() -> setReduceUdaFlags()
- removed d_combinedPatches variable
SimulationController.cc
- renamed doCombinePatches() -> setReduceUdaFlags()
- remove d_combinedPatches variable
- cleaned up schizophrenic indentation
- using proc0cout instead of cout with conditional wrappers
- pulled reduceUda code from preGridSetup()
AMRSimulationController.cc
- removed d_combinePatches variable
- added d_timeinfo code from SimulationController to reduceUda conditional block
UdaReducer.cc/.h
- removed piles of code that failed for various reasons.
DataArchiver.h
- renamed doCombinePatches() -> setReduceUdaFlags()
DataArchiver.cc
-- renamed doCombinePatches() -> setReduceUdaFlags()
- cleaned up debugstream output so you can follow it.
- minor reformatting
- reduceUdaSetup()
- the entire checkpoints directory is now being copied to the new uda.
92 lines of code changed in 2 files:
Heavy construction zone with piles of scraps code laying around that may get reused. It
works for a simple 2 level, 2matl problem, no particles.
252 lines of code changed in 2 files:
Updated copyright information.
5 lines of code changed in 5 files:
Cleanup just before the complete overhaul.
177 lines of code changed in 2 files: