[root]/CCA/Components/OnTheFlyAnalysis
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 283 (100.0%) | 7193 (100.0%) | 25.4 |
harman | 179 (63.3%) | 6537 (90.9%) | 36.5 |
allen | 72 (25.4%) | 597 (8.3%) | 8.2 |
mcconnell | 6 (2.1%) | 33 (0.5%) | 5.5 |
jas | 26 (9.2%) | 26 (0.4%) | 1.0 |
Added python script that generates random samples from a multivariate normal distribution
and either plots the samples or writes them to a file. These samples are inputs for a verification
test of the meanTurbFluxes module.
meanTurbFluxes:
- Add populateVerifyLabels() task. Currently, this pulls in the values from the file
generated in the python script.
118 lines of code changed in 5 files:
Global:
- Removed temporal scheduling code and replaced it with break out conditionals in the tasks. KISS.
Temporal scheduling becomes very complex when multiple modules have analysis freq. which are multiples of each other.
- initialize task: set the last compute time = startTime - 1/analysis_freq.
planeExtract:
- Code simplification. All planes now have the same analysis start and stop times.
152 lines of code changed in 44 files:
Light reformatting so all modules are consistent
Code diet & consolidation. All machinery related to time has been moved to the base class.
There's no need to replicate it in each module.
557 lines of code changed in 20 files:
global:
- d_writeFreq & d_compFreq -> d_analysisFreq
planeExtract.*, planeAverage.*, AnalysisModule.*
- Added infrastructure to support switching between multiple taskgraphs.
144 lines of code changed in 19 files:
planeExtract()
-Added full temporal scheduling support.
With this commit planeAverage and planeExtract must have the same
samplingfrequency.
Added code so each module can have it's own samplingfrequency and thus
a separate taskgraph. Incomplete.
118 lines of code changed in 6 files:
Added #define ALL_LEVELS 99
2 lines of code changed in 1 file:
- Incorporated temporal scheduling virtual function calls into ICE and OnTheFly.
- Added full temporal scheduling support to planeAverage & meanTurbFluxes
- updated ups spec
This feature is disabled due to a bug in getSubCycleProgress().
174 lines of code changed in 15 files:
Removed OnTheFlyAnalysis/containerExtract.
0 lines of code changed in 5 files:
scheduleRestartInitialize() & scheduleIntialize()
- consolidated redundant code.
3 lines of code changed in 2 files:
Added make_unique() for clang compilers.
20 lines of code changed in 2 files:
planeAverage:
- use unique ids in label names. This class is instantiated twice.
- initialize ave[]
meanTurbFluxes:
- Added sched_writeToFiles() for planeAve_1 & 2
- delete copy-paste code that isn't used.
- clean out #includes
- move from new -> shared_ptr
125 lines of code changed in 4 files:
All of the major pieces are filled in and the two instantiations of planeAverage are
executing tasks.
176 lines of code changed in 5 files:
planeAverage:
- moved transforCellIndex() and planeIterator() from private -> public
- added templated method to compute planar ave. Previous it was computed at print time.
meanTurbFluxes:
- added a monitorCell for debugging
- scheduled tasks to compute Q_bar, which is used in the calculatio of turbulent fluctuations
- Filled in the calc of turbulent fluctuations
132 lines of code changed in 4 files:
Created separate schedule() methods for each of the tasks so they can be used by other
analysis modules.
writeToFiles()
- pass in the directory name.
290 lines of code changed in 3 files:
The pieces of the puzzle (tasks) are starting to take shape and solidify.
No communcation betweeen pieces.
*** heavy construction zone ***
353 lines of code changed in 5 files:
This module computes the mean turbulent fluxes on each user defined plane in the domain
u'u'_bar, v'v'_bar, w'w'_bar u'v'_bar, v'w'_bar u'w'_bar
foreach Q ( T, P, scalar )
( u'Q'_bar(y), v'Q'_bar(y), w'Q'_bar(y) )
end
** heavy contruction zone **
788 lines of code changed in 4 files:
Changed initialization of CC_pos from Point(0,0,0) -> Point(-DBL_MAX.....).
More descriptive function name: findCellIndex -> transformCellIndex
Set the invariant cell positions of each plane = level->InteriorCellRange()/2
53 lines of code changed in 2 files:
planeAverage:
- fixed memory leaks
- Creat a custom MPI_communicator. In multilevel/processor problems there's no guarentee that every rank
will own patches. Thanks Dav and Alan.
- Return immediately if a task has an empty patchSubset.
DbgOutput:
- printTask(): allow for empty patchSubsets.
258 lines of code changed in 2 files:
planeAverage.*
- switched from debugStream to Dout so the output doesn't become garbled when running in parallel.
- Decreased number of significant figures in output from 15 to 14. This hides the numerical fuzz
that's picked up when running in parallel. This allows for direct comparisons beweeen serial output
- Added clone virtual function allowing for deep copies of vector < vector <shared_ptr> > d_allLevels_planarVars
- computePlanarSums(): removed flow control logic d_progressVar. This task needs to be computed on all patches.
- Added resetProgressVar() task. It's trival but has to execute after the other tasks.
*** single and 4 core test problem are giving the same results for 2 level advect problem.
DbgOutput.*
- Added another implementation of printTask()
137 lines of code changed in 2 files:
- Added machinery to handle multiple levels.
- Removed per level conditionals from inside the loop over variables to average. We compute
planar averages for all variables on a level.
153 lines of code changed in 2 files:
Fixed restarting issue.
2 lines of code changed in 2 files:
Renamed tasks/functions, we're no longer computing averages but sums of the differenc variables.
The averages are computed at print time.
Added code to sum the "weight" over all ranks. The "weight" varLabel is user input option.
Working for small 2 proc, 1 matl, 1 Level, test problem.
359 lines of code changed in 2 files:
Updated MPI_Op functions to work with std::vector<Point/Vector>
Moved CC_pos declaration and reduction code to aveVar_base.
It's working for a small 2 patch problem on 2 mpi ranks.
156 lines of code changed in 2 files:
- Added MPI_Reduce code to operate on Uintah::Vector
- Added ReduceVar() function to each aveVar class
- Added int nPlanes to each aveVar class
- Moved MPI_reduce code from findAverage to to a separate task ( sumOverAllProcs() ). Perform reduction after the
planar average has been computed by all procs.
- Rename task doAnalysis -> writeToFiles
- Consolidated the "is it time to write" conditional tree. More to do....
skipRT
343 lines of code changed in 2 files:
- Added task to zero vector<T> <var>, where var = (ave, sum, weight)
- Schedule task computeAverage() to use perProcPatches. A proc can have more than one patch
therefore operate over all of them.
- Added MPI::Reduce() calls to sum over all procs. The Uintah::Vector call to MPI::Reduce has a bug.
222 lines of code changed in 2 files:
Added file output for the various variable types
Added CC_position std::vector to the aveVar class. It's used to output position of each planar average.
Started polishing.
136 lines of code changed in 2 files:
Added data structure to hold the planar averages of various data types (varLabels).
Add restartInitialize task
264 lines of code changed in 2 files:
Fixed compilation error.
3 lines of code changed in 1 file:
Stripped out old min/max variables
Added code to perform the averaging in either the XY, XY or YZ plane orientations.
Added code to create subDirectories below the rootPath and files. No output to the files yet.
237 lines of code changed in 2 files:
Added new analysis module to compute the instanteous spatial average of a VarLabel over a plane. This is
just a copy of the MinMax module with some name changes.
1046 lines of code changed in 4 files:
Replaced tabs with spaces.
Please check your editors.
16 lines of code changed in 6 files:
variable and comment clean up to refer to the material manager rather than the state
0 lines of code changed in 2 files:
removal of shared state and introduction of a material manager
222 lines of code changed in 28 files:
made the recompute and abort reduction vars
6 lines of code changed in 1 file:
change from restart to recompute time step so to differentiate from restarting a time step from a checkpoint
7 lines of code changed in 1 file:
to allow sole and per patch vars to read/write I added swapbytes functions and readNormal for specialized sole and per patch vars
45 lines of code changed in 4 files:
rolled back changes to r58119
13 lines of code changed in 2 files:
fix absently minded move
1 lines of code changed in 1 file:
Update copyright date.
1 lines of code changed in 1 file:
removed need for calls to shared state for the time step and sim time
18 lines of code changed in 2 files:
(13 more)