Directory CCA/Components/Examples/

Total Files:
41
Deleted Files:
0
Lines of Code:
8694

[root]/CCA/Components/Examples

Lines of Code

CCA/Components/Examples/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 125 (100.0%) 933 (100.0%) 7.4
harman 31 (24.8%) 724 (77.6%) 23.3
ahumphrey 19 (15.2%) 95 (10.2%) 5.0
dav 5 (4.0%) 61 (6.5%) 12.2
jas 64 (51.2%) 33 (3.5%) 0.5
jsutherland 2 (1.6%) 15 (1.6%) 7.5
jthornoc 3 (2.4%) 4 (0.4%) 1.3
tsaad 1 (0.8%) 1 (0.1%) 1.0

Most Recent Commits

harman 2014-12-29 10:32 Rev.: 52902

RMCRT_Test.cc
- The user can specify RMCRT:float or RMCRT:double.
problemSetup()
- added BC_bulletproofing
- added bulletproofing to catch if the the user is trying to save abskg but
it doesn't exist. The component hands RMCRT abskg but internally RMCRT:float
uses abskgRMCRT.

Ray.cc & RMCRTCommon.cc
Global:
setBC()
Added an additional template parameter. This parameter is used to fake out
the BC infrastructure when CCVariable<float> are being passed in. The infrastructure
doesn't handle floats. Thanks James.

0 lines of code changed in 2 files:

  • CCA/Components/Examples: RMCRT_Test.cc (new)
harman 2014-12-22 12:57 Rev.: 52880

Multi-level RMCRT:
- removed maxLevels == 1 from the conditional.

This won't change the answers.

3 lines of code changed in 1 file:

  • CCA/Components/Examples: RMCRT_Test.cc (+3 -3)
harman 2014-12-19 14:26 Rev.: 52832

Global d_sigmaT4_label -> d_sigmaT4Label (consistency with the rest of the global labels)


RMCRT_test.cc/.h
- component defines either float or dbl RMCRT
- d_abskgLabel -> d_comp(onent)AbskgLabel
- No longer recomputing the abskg, temperature and cellType every timestep. Compute once in initialize()
and carryForward every timestep.
- Added DoublToFloat() task to scheduleTimeAdvance()

Arches/RMCRT.cc
- cleaned out DQMONEqnFac .h files
- component defines either float or dbl RMCRT
- scheduleTimeAdvance()
added calls to DoubleToFloat() task
- computeSource()
removed cellType carryForward. That's handled by RMCRT

Wasatch/RadiationSource
- component defines either float or dbl RMCRT
- Added DoublToFloat() task to scheduleTimeAdvance() to schedule_ray_tracing


RMCRTCommon.cc
- now using d_comp(onent)AbskgLabel and d_comp(onent)TempLabel
- Component now decides if communicated variables are doubles or floats
Added logic where appropriate.
More templates
- Added DoubleToFloat() task. This simply casts the CCVariable< double> -> CCVariable<float>


Radiometer
- Component now decides if communicated variables are doubles or floats
Added logic where appropriate.
More templates

Ray
- now using d_comp(onent)AbskgLabel and d_comp(onent)TempLabel
- Component now decides if communicated variables are doubles or floats
Added logic where appropriate.
More templates
- coarsen_Q(): This task carries forward coarse level variables on non-radCalc timesteps
- Added coarsen_cellType()task: This task computes cellType on the coarse levels, needs additional logic.


RayGPU.cc
d_sigmaT4_label -> d_sigmaT4Label (consistency with the rest of the labels)


OnTheFlyAnalysis/radiometer
- Component now decides if communicated variables are doubles or floats


______________________________________________________________________
S U M M A R Y
Failed: ARCHES-opt tests <<<< These tests fail due to an new material set for abskg. The answers are the same >>>

:rmcrt_bm1_ML: test failed comparison tests
:rmcrt_bm1_ML: (restart) test failed comparison tests
:rmcrt_bm1_DO: test failed comparison tests
:rmcrt_bm1_DO: (restart) test failed comparison tests
:rmcrt_bm1_ML_thread: test failed comparison tests
:rmcrt_bm1_DO_thread: test failed comparison tests

Failed: Examples-opt tests <<<< This commit drastically improves the answers >>>
:RMCRT_bm1_DO: test failed comparison tests
:RMCRT_bm1_DO: (restart) test failed comparison tests
:RMCRT_ML: test failed comparison tests
:RMCRT_ML: (restart) test failed comparison tests
Passed: Wasatch-opt tests!


134 lines of code changed in 3 files:

  • CCA/Components/Examples: RMCRT_Test.cc (+133 -186), RMCRT_Test.h (+1 -1)
harman 2014-12-15 13:57 Rev.: 52816

removed floatRMCRT/

There's a few missing pieces before the component is able to choose between float/double
RMCRT.


9 lines of code changed in 2 files:

  • CCA/Components/Examples: RMCRT_Test.cc (+8 -81), RMCRT_Test.h (+1 -7)
harman 2014-12-15 12:38 Rev.: 52812

Templated more tasks/methods/variables on the type double/float.

0 lines of code changed in 2 files:

  • CCA/Components/Examples: RMCRT_Test.cc (-4), RMCRT_Test.h (-1)
tsaad 2014-11-24 12:49 Rev.: 52753

fix some namespace issues int Ray et al that were causing build failures on mac dbg builds

1 lines of code changed in 1 file:

  • CCA/Components/Examples: RMCRT_Test.cc (+1 -2)
harman 2014-11-20 15:40 Rev.: 52743

RMCRT_Test: scheduleTimeAdvance()
- For 2 level approach changed looping limits for sched_Refine_Q()

Ray.cc: sched_Refine_Q()
- Now using ghosts:AroundCells 1 for requires of divQ from the coarse level. *** Key

Converted input file into a multipatch 2L problem with Refinement ratio = 4

Now using 8 cores for nightly RT tests.

2 lines of code changed in 1 file:

  • CCA/Components/Examples: RMCRT_Test.cc (+2 -2)
harman 2014-10-20 13:56 Rev.: 52596

Example component can compute just the fluxes for the radiometers.
This includes both spatial and temporal scheduling of the task.
It only runs on 1 mpi process due to a problem upstream in
reduceSysVars()

- added regression test.



48 lines of code changed in 2 files:

  • CCA/Components/Examples: RMCRT_Test.cc (+42 -1), RMCRT_Test.h (+6 -2)
harman 2014-10-20 12:46 Rev.: 52594

Update the example component for the new radiometer. This does not include spatial scheduling of
the radiometer.

13 lines of code changed in 1 file:

  • CCA/Components/Examples: RMCRT_Test.cc (+13 -1)
dav 2014-10-02 17:56 Rev.: 52539

(And a few more...) Sub.mks: for macs, need to link in Core/Thread for these libraries. Also alphabetized, removed tabs, and cleaned up.

1 lines of code changed in 2 files:

  • CCA/Components/Examples: sub.mk (+1)
harman 2014-09-15 09:13 Rev.: 52445

ScheduleTimeAdvance()
- added 1 level approach. Technically this isn't necessary but to be consistent with Arches/wasatch
and help keep me sane.

26 lines of code changed in 2 files:

  • CCA/Components/Examples: RMCRT_Test.cc (+25 -3), RMCRT_Test.h (+1 -1)
harman 2014-09-13 11:19 Rev.: 52433

Removed
-needRecompile()
-doCarryForward()

This functionality is provided from either RMCRTCommon or sharedState

1 lines of code changed in 2 files:

  • CCA/Components/Examples: RMCRT_Test.cc (+1 -23), RMCRT_Test.h (-1)
harman 2014-09-11 16:34 Rev.: 52423

Only schedule the "requires" for the super expensive
- abskg,
- sigmaT4
- cellType
variables on calculation timesteps. Carry forward timesteps ignore them.
The driving component must have needsRecompile() implemented with appropriate logic. This is
a 80% solution to the problem.


RMCRT_Test:
- added needsRecompile() which calls doCarryForward().
- formatting
doCarryForward()
- no longer passing in timestep

Ray.cc
sched_rayTrace()
- added logic around the requires.
doCarryForward()
- no longer passing in timestep

Radiometer.cc/ RMCRTCommon
doCarryForward()
- no longer passing in timestep

This shouldn't change the answers.

196 lines of code changed in 2 files:

  • CCA/Components/Examples: RMCRT_Test.cc (+194 -180), RMCRT_Test.h (+2 -3)
harman 2014-09-05 13:26 Rev.: 52389

Now passing the grid into the problemSetup() tasks.

Added bulletproofing to VRLocationsMin/Max. They can't lie outside the
computational domain.

1 lines of code changed in 1 file:

  • CCA/Components/Examples: RMCRT_Test.cc (+1 -1)
jsutherland 2014-08-20 21:10 Rev.: 52329

Clean up a few warnings (comparison of signed/unsigned) on gcc and reformat some particle stuff

15 lines of code changed in 2 files:

  • CCA/Components/Examples: ParticleTest1.cc (new)
ahumphrey 2014-07-25 14:04 Rev.: 52202

Allow underlying, raw Task to know it's deviceID when GPU-enabled. This commit is on behalf of Abhishek Bagusetty with modifications by Alan Humphrey.

9 lines of code changed in 4 files:

  • CCA/Components/Examples: UnifiedSchedulerTest.cc (new), UnifiedSchedulerTest.h (+7 -6)
jthornoc 2014-07-03 14:50 Rev.: 52080

I missed some merge markers when merging.

Remove the particle absorp. in favor of a total absorption coeffient for
RMCRT.

0 lines of code changed in 1 file:

  • CCA/Components/Examples: RMCRT_Test.cc (-4)
jthornoc 2014-07-03 14:50 Rev.: 52078

Complete divorce of the radiation properties from the radiation models
themselves. This simplified the radiation models considerably. The
properties are now being computed upstream and only accessed by the
models themselves.

For the RadProps models with particles, the particle interface needs to
added back in. It should be done in a generic way so as not to preclude
any CQMOM interface.

4 lines of code changed in 2 files:

  • CCA/Components/Examples: RMCRT_Test.cc (+4 -3), RMCRT_Test.h (-1)
harman 2014-06-25 13:05 Rev.: 52023

fixed previous sloppy commit.


6 lines of code changed in 1 file:

  • CCA/Components/Examples: RMCRT_Test.cc (+6 -7)
harman 2014-06-25 12:37 Rev.: 52021

accidently turned on float:RMCRT in last commit. Turned it off.

1 lines of code changed in 1 file:

  • CCA/Components/Examples: RMCRT_Test.h (+1 -1)
harman 2014-06-25 12:35 Rev.: 52020

- converted abskg and color from CCVariable<double> to CCVariable<float>.

- added a HACK around the setBC calls. The BC infrastructure
wasn't designed to work with floats and it will need a face lift
if we decide to continue down this path. For now
copy floats -> doubles
setBC (doubles)
copy doubles -> floats

The float version runs.


89 lines of code changed in 2 files:

  • CCA/Components/Examples: RMCRT_Test.cc (+88 -15), RMCRT_Test.h (+1 -1)
harman 2014-06-24 08:38 Rev.: 52008

Added a "sandbox" for testing using floats instead of doubles in RMCRT. This is just a copy
of RMCRT with no changes.

19 lines of code changed in 2 files:

  • CCA/Components/Examples: RMCRT_Test.cc (+9 -1), RMCRT_Test.h (+10 -1)
dav 2014-06-19 00:35 Rev.: 51998

Fixes for the CUDA linking for non-static builds. For CUDA builds, we
need to link in all libraries for executables (eg: sus, test programs,
etc) because Core_Util has CUDA in it and thus the extra dlink object
file must be linked against anything that uses Core/Util, but the
dlink file also has code from many other libraries (they all have to link
together to get the full dlink file). It might be possible to
separate all the CUDA linking out, but at least for now this will work.

Created ALL_STATIC_PSE_LIBS and ALL_PSE_LIBS variables in Makefile.in
that can be used to link executables.

Placed a list of all cuda files (.o version) in the variable
DLINK_FILES (it is added to in each sub.mk). Then, once all libraries
are built, this list of files is linked with -dlink (previously was
just linking all the archive (.a) files together, but nvcc won't let
you do this with shared (.so) libs.

Updated a number of sub.mk files to specify the complete list of libs
necessary to link and added in the CUDA_LIBRARY.

Alphabetized and removed duplicates in a lot of sub.mk files.

M CCA/Components/Models/ModelFactory.cc

- Don't use the RadiationDriver if radation was not turned on.

M Makefile.in
M CCA/Components/Models/Radiation/RMCRT/sub.mk
M CCA/Components/Models/Radiation/sub.mk
M CCA/Components/MPM/sub.mk
M CCA/Components/Wasatch/Transport/sub.mk
M CCA/Components/Wasatch/sub.mk
M CCA/Components/Wasatch/Expressions/sub.mk
M CCA/Components/Wasatch/Expressions/Turbulence/sub.mk
M CCA/Components/Wasatch/Operators/sub.mk
M CCA/Components/sub.mk
M CCA/Components/Schedulers/sub.mk
M CCA/Components/Arches/sub.mk
M CCA/Components/Examples/sub.mk
M Core/Util/sub.mk
M StandAlone/sub.mk
M StandAlone/tools/mpi_test/sub.mk
M StandAlone/tools/pfs/sub.mk
M StandAlone/tools/fsspeed/sub.mk
M StandAlone/tools/puda/sub.mk
M StandAlone/tools/tracker/sub.mk
M StandAlone/tools/dumpfields/sub.mk
M StandAlone/tools/graphview/sub.mk
M StandAlone/tools/extractors/sub.mk
M StandAlone/tools/sub.mk
M StandAlone/tools/compare_mms/sub.mk
M StandAlone/Benchmarks/sub.mk
M testprograms/CubeRootTest/sub.mk
M testprograms/TestFastMatrix/sub.mk
M testprograms/RegionTest/sub.mk
M testprograms/TestMatrix3/sub.mk
M testprograms/IteratorTest/sub.mk
M testprograms/Regridders/sub.mk
M testprograms/sub.mk
M testprograms/PatchBVH/sub.mk
M testprograms/Malloc/sub.mk
M testprograms/Thread/sub.mk
M testprograms/BNRRegridder/sub.mk


19 lines of code changed in 1 file:

  • CCA/Components/Examples: sub.mk (+19 -18)
dav 2014-06-18 17:33 Rev.: 51997

Missed two files in previous commit...

M CCA/Components/Schedulers/GPUDataWarehouse.cu

- Remove the implementation of isThread0_Blk0 from this file as it is in Core/Util/GPU.cu.
- #include GPU.h to get isThread0_Blk0.
- Fix indention.

M CCA/Components/Examples/UnifiedSchedulerTestKernel.cu

- Don't #include the .cu file, only need GPUDataWarehouse.h now.
- Added whitespace to make function variable list readable.
- Fix some indentation.

41 lines of code changed in 2 files:

  • CCA/Components/Examples: UnifiedSchedulerTestKernel.cu (+41 -34)
ahumphrey 2014-06-16 13:58 Rev.: 51988

* Prepare build system CUDA support for separate CUDA compilation and device code linking (Titan static builds)
* need NVCC flag -arch=sm_* to work with NVCC flags: -dc and -dlink
* Generate new configure script
* Cleanup Examples sub.mk - remove old lines refering to non-existent GPU example components
* Add temporary fix for CPU/GPU RMCRT carry forward issue

0 lines of code changed in 1 file:

  • CCA/Components/Examples: sub.mk (-3)
ahumphrey 2014-02-26 13:15 Rev.: 51572

Finish some straggler copyright/license updates. (2013 --> 2014).
Found while working in md-dev branch.

8 lines of code changed in 11 files:

  • CCA/Components/Examples: PoissonGPU1.cc (new), PoissonGPU1.h (+1 -1), PoissonGPU1Kernel.cu (+1 -1), RMCRT_Test.cc (+1 -1), RMCRT_Test.h (+1 -1), UnifiedSchedulerTest.cc (+1 -1), UnifiedSchedulerTest.h (+1 -1), UnifiedSchedulerTestKernel.cu (+1 -1)
ahumphrey 2014-02-12 14:54 Rev.: 51545

Some cleanup and fixes on existing GPU-enabled components and GPU-related APIs.

78 lines of code changed in 3 files:

  • CCA/Components/Examples: UnifiedSchedulerTest.cc (+29 -23), UnifiedSchedulerTest.h (+3 -2), UnifiedSchedulerTestKernel.cu (+46 -17)
jas 2014-01-16 00:47 Rev.: 51467

Updated copyright information.

33 lines of code changed in 64 files:

  • CCA/Components/Examples: AMRWave.cc (new), AMRWave.h (new), AdvectSlabs.cc (+1 -1), AdvectSlabs.h (+1 -1), Benchmark.cc (+1 -1), Benchmark.h (new), Burger.cc (new), Burger.h (new), ExamplesLabel.cc (new), ExamplesLabel.h (+1 -1), HeatEquation.cc (new), HeatEquation.h (+1 -1), Interpolator.cc (+1 -1), Interpolator.h (+1 -1), ParticleTest1.cc (+1 -1), ParticleTest1.h (new), Poisson1.cc (+1 -1), Poisson1.h (new), Poisson2.cc (new), Poisson2.h (new), Poisson3.cc (new), Poisson3.h (new), Poisson4.cc (new), Poisson4.h (new), RegionDB.cc (+1 -1), RegionDB.h (+1 -1), RegridderTest.cc (new), RegridderTest.h (+1 -1), SolverTest1.cc (new), SolverTest1.h (new), Wave.cc (+1 -1), Wave.h (+1 -1), sub.mk (+1 -1)
harman 2014-01-14 13:02 Rev.: 51460

Removed dead code from previous commit


0 lines of code changed in 1 file:

  • CCA/Components/Examples: RMCRT_Test.cc (-2)
harman 2014-01-14 12:56 Rev.: 51459

Eliminated the carryforward task. That code has been moved to the rayTrace task

Added calc_frequency tag to ups files.

RMCRT_test_1L.ups & RMCRT_bm1_DO.ups:
- set calc_frequency to 2.

This should not change the answers.

1 lines of code changed in 1 file:

  • CCA/Components/Examples: RMCRT_Test.cc (+1 -1)
harman 2014-01-10 11:21 Rev.: 51454

Reorganization:
- moved the initialization of abskg from ray.cc -> RMCRT_Test. This is consistent
with how Arches & Wasatch interact with the ray class.

- updated the input files to reflect the changes

Removed _abskgBench4, this is redundant with _abskg.

Commented out code related to benchmark 4 & 5. It's not clear
which verification test these refer to and they're creating heartburn.

** This should not change the answers.


175 lines of code changed in 2 files:

  • CCA/Components/Examples: RMCRT_Test.cc (+151 -18), RMCRT_Test.h (+24 -1)
Generated by StatSVN 0.7.0