Directory CCA/Components/OnTheFlyAnalysis/

Total Files:
32
Deleted Files:
2
Lines of Code:
9101

[root]/CCA/Components/OnTheFlyAnalysis

Lines of Code

CCA/Components/OnTheFlyAnalysis/ Lines of Code

Developers

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

Most Recent Commits

harman 2018-12-21 15:06 Rev.: 59136

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:

  • CCA/Components/OnTheFlyAnalysis: meanTurbFluxes.cc (changed), meanTurbFluxes.h (new), meanTurbFluxesVerify.py (new 118)
harman 2018-12-14 16:53 Rev.: 59092

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:

  • CCA/Components/OnTheFlyAnalysis: 1stLawThermo.cc (new), 1stLawThermo.h (-3), AnalysisModule.cc (+15 -87), AnalysisModule.h (new), MinMax.cc (+18 -16), MinMax.h (+1 -4), flatPlate_heatFlux.h (-3), lineExtract.cc (+3 -3), lineExtract.h (new), meanTurbFluxes.cc (+22 -21), meanTurbFluxes.h (+1 -3), momentumAnalysis.cc (new), momentumAnalysis.h (-3), particleExtract.cc (+2 -2), particleExtract.h (-3), planeAverage.cc (+45 -135), planeAverage.h (new), planeExtract.cc (+17 -90), planeExtract.h (-11), radiometer.h (+1 -3), statistics.cc (+2 -2), statistics.h (new), vorticity.h (new)
harman 2018-12-13 10:16 Rev.: 59067

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:

  • CCA/Components/OnTheFlyAnalysis: 1stLawThermo.cc (+69 -85), 1stLawThermo.h (+5 -5), AnalysisModule.cc (+68 -7), AnalysisModule.h (+48 -16), MinMax.cc (+113 -172), MinMax.h (+6 -8), lineExtract.cc (+41 -54), lineExtract.h (+8 -13), momentumAnalysis.cc (+128 -143), momentumAnalysis.h (+6 -9), particleExtract.cc (+32 -47), particleExtract.h (+2 -4), planeAverage.h (+1 -3), planeExtract.cc (+4 -4), planeExtract.h (+6 -8), statistics.cc (+9 -6), statistics.h (+3 -5), vorticity.cc (+6 -24), vorticity.h (+2 -8)
harman 2018-12-10 18:10 Rev.: 59049

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:

  • CCA/Components/OnTheFlyAnalysis: 1stLawThermo.cc (+5 -5), 1stLawThermo.h (-1), AnalysisModule.cc (+71 -1), AnalysisModule.h (+13 -3), AnalysisModuleFactory.cc (new), MinMax.cc (+5 -5), MinMax.h (-1), lineExtract.cc (+3 -3), lineExtract.h (-1), meanTurbFluxes.cc (+6 -2), momentumAnalysis.cc (+4 -4), momentumAnalysis.h (-1), particleExtract.cc (+3 -3), particleExtract.h (-1), planeAverage.cc (+17 -30), planeAverage.h (-5), planeExtract.cc (+14 -18), planeExtract.h (+1 -5)
harman 2018-12-04 18:23 Rev.: 59001

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:

  • CCA/Components/OnTheFlyAnalysis: AnalysisModule.cc (+1 -1), AnalysisModule.h (+2), planeAverage.cc (+7 -12), planeAverage.h (+1 -1), planeExtract.cc (+96 -58), planeExtract.h (+11 -2)
harman 2018-11-30 18:36 Rev.: 58982

Added #define ALL_LEVELS 99

2 lines of code changed in 1 file:

  • CCA/Components/OnTheFlyAnalysis: meanTurbFluxes.cc (+2)
harman 2018-11-30 18:20 Rev.: 58981

- 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:

  • CCA/Components/OnTheFlyAnalysis: 1stLawThermo.h (+3), AnalysisModule.h (+3 -1), MinMax.h (+3), flatPlate_heatFlux.h (+3), lineExtract.h (+3), meanTurbFluxes.cc (+19 -16), meanTurbFluxes.h (+9 -7), momentumAnalysis.h (+3), particleExtract.h (+3), planeAverage.cc (+98 -91), planeAverage.h (+10 -6), planeExtract.h (+3), radiometer.h (+5 -2), statistics.h (+5 -2), vorticity.h (+4 -1)
harman 2018-11-29 15:59 Rev.: 58976

Removed OnTheFlyAnalysis/containerExtract.

0 lines of code changed in 5 files:

  • CCA/Components/OnTheFlyAnalysis: AnalysisModuleFactory.cc (-4), containerExtract.cc (del), containerExtract.h (del), sub.mk (-1)
harman 2018-11-29 15:20 Rev.: 58975

scheduleRestartInitialize() & scheduleIntialize()
- consolidated redundant code.

3 lines of code changed in 2 files:

  • CCA/Components/OnTheFlyAnalysis: planeAverage.cc (+2 -18), planeAverage.h (+1 -1)
harman 2018-11-29 12:32 Rev.: 58973

Added make_unique() for clang compilers.

20 lines of code changed in 2 files:

  • CCA/Components/OnTheFlyAnalysis: meanTurbFluxes.cc (+14), meanTurbFluxes.h (+6)
harman 2018-11-29 10:08 Rev.: 58972

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:

  • CCA/Components/OnTheFlyAnalysis: meanTurbFluxes.cc (+65 -111), meanTurbFluxes.h (+23 -49), planeAverage.cc (+19 -17), planeAverage.h (+18 -5)
harman 2018-11-27 16:03 Rev.: 58957

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:

  • CCA/Components/OnTheFlyAnalysis: AnalysisModuleFactory.cc (+1 -1), meanTurbFluxes.cc (+119 -93), meanTurbFluxes.h (+6 -24), planeAverage.cc (+38 -30), planeAverage.h (+12 -3)
harman 2018-11-26 16:24 Rev.: 58949

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:

  • CCA/Components/OnTheFlyAnalysis: meanTurbFluxes.cc (+53 -28), meanTurbFluxes.h (+1), planeAverage.cc (-1), planeAverage.h (+78 -15)
harman 2018-11-15 17:46 Rev.: 58921

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:

  • CCA/Components/OnTheFlyAnalysis: AnalysisModule.cc (+15 -5), planeAverage.cc (+228 -114), planeAverage.h (+47 -11)
harman 2018-11-14 10:52 Rev.: 58913

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:

  • CCA/Components/OnTheFlyAnalysis: AnalysisModuleFactory.cc (+6 -2), meanTurbFluxes.cc (+179 -190), meanTurbFluxes.h (+38 -35), planeAverage.cc (+125 -137), planeAverage.h (+5 -5)
harman 2018-11-12 12:27 Rev.: 58905


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:

  • CCA/Components/OnTheFlyAnalysis: meanTurbFluxes.cc (+565), meanTurbFluxes.h (+220), planeAverage.h (+2 -1), sub.mk (+1)
harman 2018-11-06 18:54 Rev.: 58901

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:

  • CCA/Components/OnTheFlyAnalysis: planeAverage.cc (+46 -37), planeAverage.h (+7 -6)
harman 2018-11-05 18:09 Rev.: 58900

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:

  • CCA/Components/OnTheFlyAnalysis: planeAverage.cc (+217 -158), planeAverage.h (+41 -31)
harman 2018-11-02 17:13 Rev.: 58896

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:

  • CCA/Components/OnTheFlyAnalysis: planeAverage.cc (+86 -34), planeAverage.h (+51 -34)
harman 2018-10-30 17:17 Rev.: 58893

- 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:

  • CCA/Components/OnTheFlyAnalysis: planeAverage.cc (+143 -140), planeAverage.h (+10 -4)
harman 2018-10-22 17:45 Rev.: 58874

Fixed restarting issue.

2 lines of code changed in 2 files:

  • CCA/Components/OnTheFlyAnalysis: planeAverage.cc (+2 -17), planeAverage.h (-6)
harman 2018-10-22 17:00 Rev.: 58873

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:

  • CCA/Components/OnTheFlyAnalysis: planeAverage.cc (+218 -162), planeAverage.h (+141 -68)
harman 2018-10-19 14:19 Rev.: 58864

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:

  • CCA/Components/OnTheFlyAnalysis: planeAverage.cc (+25 -17), planeAverage.h (+131 -97)
harman 2018-10-03 17:18 Rev.: 58738

- 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:

  • CCA/Components/OnTheFlyAnalysis: planeAverage.cc (+255 -262), planeAverage.h (+88 -35)
harman 2018-10-02 14:28 Rev.: 58735

- 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:

  • CCA/Components/OnTheFlyAnalysis: planeAverage.cc (+177 -41), planeAverage.h (+45 -8)
harman 2018-09-28 15:30 Rev.: 58731

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:

  • CCA/Components/OnTheFlyAnalysis: planeAverage.cc (+52 -72), planeAverage.h (+84 -13)
harman 2018-09-27 17:26 Rev.: 58723

Added data structure to hold the planar averages of various data types (varLabels).

Add restartInitialize task



264 lines of code changed in 2 files:

  • CCA/Components/OnTheFlyAnalysis: planeAverage.cc (+176 -109), planeAverage.h (+88 -16)
harman 2018-09-19 13:19 Rev.: 58686

Fixed compilation error.

3 lines of code changed in 1 file:

  • CCA/Components/OnTheFlyAnalysis: planeAverage.cc (+3 -2)
harman 2018-09-19 13:11 Rev.: 58685

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:

  • CCA/Components/OnTheFlyAnalysis: planeAverage.cc (+225 -170), planeAverage.h (+12 -4)
harman 2018-09-14 14:48 Rev.: 58673

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:

  • CCA/Components/OnTheFlyAnalysis: AnalysisModuleFactory.cc (+10 -6), planeAverage.cc (+871), planeAverage.h (+164), sub.mk (+1)
harman 2018-08-23 17:30 Rev.: 58549

Replaced tabs with spaces.
Please check your editors.


16 lines of code changed in 6 files:

  • CCA/Components/OnTheFlyAnalysis: AnalysisModule.cc (+2 -2), AnalysisModule.h (+2 -2), AnalysisModuleFactory.cc (+7 -7), AnalysisModuleFactory.h (new), particleExtract.cc (+3 -3)
allen 2018-08-13 14:25 Rev.: 58524

variable and comment clean up to refer to the material manager rather than the state

0 lines of code changed in 2 files:

  • CCA/Components/OnTheFlyAnalysis: planeExtract.cc (-4), statistics.cc (-8)
allen 2018-08-10 09:00 Rev.: 58514

removal of shared state and introduction of a material manager

222 lines of code changed in 28 files:

  • CCA/Components/OnTheFlyAnalysis: 1stLawThermo.cc (+17 -15), 1stLawThermo.h (+5 -3), AnalysisModule.cc (+2 -2), AnalysisModule.h (+12 -10), AnalysisModuleFactory.cc (+13 -13), AnalysisModuleFactory.h (+2 -2), MinMax.cc (+13 -11), MinMax.h (+6 -4), containerExtract.cc (new 10), containerExtract.h (new 5), flatPlate_heatFlux.cc (+7 -5), flatPlate_heatFlux.h (+5 -3), lineExtract.cc (+12 -10), lineExtract.h (+5 -3), momentumAnalysis.cc (+13 -11), momentumAnalysis.h (+5 -3), particleExtract.cc (+20 -17), particleExtract.h (+5 -3), planeExtract.cc (+12 -10), planeExtract.h (+5 -3), radiometer.cc (+11 -9), radiometer.h (+5 -3), statistics.cc (+14 -12), statistics.h (+6 -4), vorticity.cc (+7 -5), vorticity.h (+5 -3)
allen 2018-08-03 15:42 Rev.: 58506

made the recompute and abort reduction vars

6 lines of code changed in 1 file:

  • CCA/Components/OnTheFlyAnalysis: momentumAnalysis.cc (+6 -6)
allen 2018-08-01 18:44 Rev.: 58496

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:

  • CCA/Components/OnTheFlyAnalysis: momentumAnalysis.cc (+7 -5)
allen 2018-04-25 16:13 Rev.: 58190

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:

  • CCA/Components/OnTheFlyAnalysis: FileInfoVar.cc (new 33), FileInfoVar.h (new), sub.mk (+2 -1)
mcconnell 2018-04-16 15:54 Rev.: 58140

rolled back changes to r58119

13 lines of code changed in 2 files:

  • CCA/Components/OnTheFlyAnalysis: AnalysisModule.h (+5 -13), sub.mk (+8 -1)
mcconnell 2018-04-16 15:04 Rev.: 58138

fix absently minded move

1 lines of code changed in 1 file:

  • CCA/Components/OnTheFlyAnalysis: sub.mk (+1 -12)
mcconnell 2018-04-16 15:04 Rev.: 58137

Update copyright date.

1 lines of code changed in 1 file:

  • CCA/Components/OnTheFlyAnalysis: AnalysisModule.h (+1 -1)
mcconnell 2018-04-16 15:03 Rev.: 58123

removed need for calls to shared state for the time step and sim time

18 lines of code changed in 2 files:

  • CCA/Components/OnTheFlyAnalysis: AnalysisModule.h (+14 -6), sub.mk (+4)

(13 more)

Generated by StatSVN 0.7.0