[root]/CCA/Components/Models/Radiation/RMCRT
randomNums
(3 files, 795 lines)
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 196 (100.0%) | 4900 (100.0%) | 25.0 |
harman | 131 (66.8%) | 3433 (70.1%) | 26.2 |
ahumphrey | 29 (14.8%) | 1240 (25.3%) | 42.7 |
derekhar | 8 (4.1%) | 175 (3.6%) | 21.8 |
jas | 23 (11.7%) | 49 (1.0%) | 2.1 |
tsaad | 3 (1.5%) | 1 (0.0%) | 0.3 |
jthornoc | 1 (0.5%) | 1 (0.0%) | 1.0 |
awabboud | 1 (0.5%) | 1 (0.0%) | 1.0 |
Fixed typo "LatinHypreCube" -> "LatinHyperCube"
0 lines of code changed in 2 files:
Added Latin Hyper Cube ray direction algorithm. Untested.
0 lines of code changed in 6 files:
sched_computeCellType ()
- added missing requires for cellType
2 lines of code changed in 1 file:
Added logic/methods to control how cellType is coarsened.
there are two user options ROUNDUP and ROUNDDOWN
ROUNDDOWN:
- if the cellType_coarse cell is slightly < INTRUSION convert to a FLOWCELL
ROUNDUP:
- If the cellType_coarsen > 0 convert to INTRUSION
User Specs:
<RMCRT>
<cellTypeCoarsenLogic> ROUNDDOWN </cellTypeCoarsenLogic>
or
<cellTypeCoarsenLogic> ROUNDUP </cellTypeCoarsenLogic>
</RMCRT>
- cleaned up proc0cout statements
- added input file for testing
151 lines of code changed in 3 files:
No longer comparing strings (d_rayDirSampleAlgo == "LHC") in the inner most loop. Converted
over to enums.
Added
<rayDirSampleAlgo> naive </rayDirSampleAlgo>
to input files
31 lines of code changed in 2 files:
- no longer passing global variable d_isSeedRandom into functions.
- Fixed the random number generator seed when using Latin Hypre Cube ray direction scheme.
Needed for deterministic computing, RT.
- Added a night RT test that test the Latin Hypre Cube code.
- 2 space indentation.
31 lines of code changed in 6 files:
fix a memory bug in RMCRT that is causing problems when deleting the RMCRT instance in Wasatch. The bug was showing up on our OSX platforms. Thanks to James Sutherland for helping out on this one.
0 lines of code changed in 1 file:
Extended LHC ray-direction sampling to include the multi-level ray tracing algorithm.
13 lines of code changed in 1 file:
Updated comments to be slightly more accurate.
1 lines of code changed in 1 file:
sched_sigmaT4()
- fixed logic for requiring d_sigmaT4 from the OldDW. Only require it _if_ the
oldDW exists. The oldDW always exists except when schedule_RestartInitialize() is called.
4 lines of code changed in 1 file:
Arches/SourceTerms/*
- added sched_RestartInitialize() If you're restarting from a Discrete Ord. uda
you must initialize sigmaT4 & RMCRTBoundaryFlux variables
- Added task (DBLsToStencil) and scheduling. Needed to initialize RMCRTboundaryFlux
- removed EOL spaces
Models/Radiation/RMCRT/*
- sched_sigmaT4()
Added logic to restrict when to require d_sigmaT4Label. There are multiple "corner cases"
that need to be accounted for and they are not obvious.
- comment out all filter VarLabels & tasks, they're not used.
- moved d_boundFluxLabel and d_radiationVolqLabel -> RMCRTCommon. Needed
by Arches when restarting.
- updated ToDo list
- removed EOL spaces
This commit will change the number checkpoint variables in some RT tests
59 lines of code changed in 4 files:
Added Latin Hyper-Cube ray direction sampling to RMCRT.
156 lines of code changed in 4 files:
One of several commits to convert the rayLocation variable into physical coordinates. Currently,
it's defined as the cell index + some fraction of a cell. This is confusing on a multi-level grid.
Rename rayLocation() -> ray_orgin()
37 lines of code changed in 7 files:
Following r53735, varLabel name change boundFlux -> RMCRTboundFlux for GPU code.
9 lines of code changed in 1 file:
varLabel name change boundFlux -> RMCRTboundFlux
Added a task stencilToDBLs that:
copies CCVariabble<stencil 7> values into 6 CCVariable< double>
mimics output of DO radiation model.
5 lines of code changed in 2 files:
Revert "Templated wallHT model to interface with a generic type for directional radiative fluxes. "
This reverts commit fad7a4aa53a6c03168d3c25e8d2094e6554c70f8.
1 lines of code changed in 1 file:
changed sign on divQ
2 lines of code changed in 1 file:
Change sign notation on heat flux divergence for RMCRT to be consistent with discrete-ordinates. This will break all RMCRT regression tests.
2 lines of code changed in 1 file:
Templated wallHT model to interface with a generic type for directional radiative fluxes.
RMCRT can now be used in combination with the year 1 coal physics code.
3 lines of code changed in 1 file:
sched_rayTrace_dataOnion()
-added warning about high communication costs on coarse levels
-removed sanity debugging code.
2 lines of code changed in 2 files:
Limit the warning for increasing the cuda print buffer size to proc 0.
1 lines of code changed in 1 file:
Minor fix for compliers that don't have a uint typedef
1 lines of code changed in 1 file:
Revert c++-11 namespace changes.
19 lines of code changed in 5 files:
Explicit namespace usage as part of the transition to c++-11.
20 lines of code changed in 5 files:
Added #ifs around code that doesn't compile on titan.
That machine is using cuda 5.5.
7 lines of code changed in 1 file:
Ray.cc: updateSumI_ML()
- consistent debugging output with GPU code
RayGPU.cuh + RayGPUKernel.cu
- Pass regionLo and regionHi into the kernel instead of using levelP.
These quantities vary on a per patch basis. levelP is copied to global memory
and regionLo/Hi should be in shared memory.
55 lines of code changed in 3 files:
Do not throw exception when fine-level halo used in GPU::RMCRT_DO. This is all working properly now.
0 lines of code changed in 1 file:
Get rid of operator new calls on device. Use compile time constant to size arrays for now.
4 lines of code changed in 1 file:
- fixed compiler warnings.
- added patch.print() call
- removed a weed
2 lines of code changed in 1 file:
added patchParams:print(). Useful for debugging
7 lines of code changed in 1 file:
RMCRTCommon:
updateSumI() mimic debugging output for gpu code for direct comparison with cpu results.
Variable name change face->dir, consistent with cpu code.
Ray.cc:
update TO DO list
sched_rayTrace() and sched_rayTrace_dataOnion()
- throw an exception if calc_frequency > 1. This is another big infrastructure issue.
RayGPUKernel.cu
update TO DO list
RayGPU.cc
rayTraceGPU()
- In doCarryForward block added transferFrom() calls. These will be used once
the GPUDW transferFrom issue is fixed.
164 lines of code changed in 4 files:
Initialize d_halo to -9,-9,-9
problemSetup:GPU bulletproofing
- only check for halo violation if algorithm == dataOnion
Minor debugging tweaks.
19 lines of code changed in 2 files:
Moved the code that increases the cuda prinf buffer upstream to problemSetup. You only
want to do this once.
19 lines of code changed in 2 files:
delete abskgLabel if using FLOATS. Thanks Derek.
3 lines of code changed in 1 file:
RayGPU.cuh
- added operator > and operator < for GPUIntVector.
GPUVariableSanityCK()
- only compile if assertion level > 0
- if variable bounds are exceeded then print a warning and escape.
rayTraceDataOnionKernel()
- turn off raytracing. Currently crashing on 3rd timestep for some memory related issue.
- turn off the delete(GPUVariable) calls. . cuda-memcheck is throwing an error on them.
- added GPUVariableSanityCK() calls.
96 lines of code changed in 2 files:
rayTraceKernel:
- now using getLevel() instead of get() This avoid getRegion() which we know is slow for large patch counts.
- Passing level index into the kernel
added operator != for GPUIntVectors
Added GPUVariableSanityCK()
- Does variable exist and have the proper extents and doesn't contain INFs or NANs
** This commmit will break the GPU:RMCRT 1L tests. It is the right thing to do but there are issues in the unified scheduler
that need to be sorted out. **
107 lines of code changed in 3 files:
Comment out varLabelNames section. Something isn't right and it isn't needed right now.
3 lines of code changed in 1 file:
Added unifiedMemory class and GPUString class which are used to pass the varLabel struct into
the kernel. The varLabel struct isn't plugged in yet.
133 lines of code changed in 3 files:
Fixed GPU bulletproofing to allow the 2Level RMCRT algorithm.
This would have been caught with GPU RT coverage.....
17 lines of code changed in 2 files:
Ray.cc
- mimic the debugging output in the GPU kernel code for direct comparison
- simplified the jumping levels conditional statement.
- Don't jump levels at the edge of the computational domain.
RayGPU*
- mimic the debugging output in the CPU code for direct comparison
- simplified the jumping levels conditional statement.
- throw exception if number of levels > d_MAXLEVELS
141 lines of code changed in 4 files:
(44 more)