Directory Packages/rtrt/Core/

Total Files:
127
Deleted Files:
0
Lines of Code:
49775

[root]/Packages/rtrt/Core
                directory in repo PathTracer (1 files, 578 lines)

Lines of Code

Packages/rtrt/Core/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 278 (100.0%) 227 (100.0%) 0.8
jas 229 (82.4%) 180 (79.3%) 0.7
dav 49 (17.6%) 47 (20.7%) 0.9

Most Recent Commits

dav 2008-10-29 17:03 Rev.: 42340


Clean ups for newer version of gcc. Perhaps this is a last checkin as
people move to Manta...

M rtrt/Core/NormalMapMaterial.cc
M rtrt/Core/Heightfield.cc
M rtrt/Core/BumpMaterial.cc
M rtrt/Core/Stealth.cc
M rtrt/Core/HTVolumeBrick.cc
M rtrt/Core/HVolumeBrickColor.cc
M rtrt/Core/DpyBase.cc
M rtrt/Core/ASETokens.h
M rtrt/Core/ObjReader.cc
M rtrt/Core/ASEReader.cc
M rtrt/Core/PathTracer/PathTraceEngine.cc
M rtrt/Core/HVolume.h
M rtrt/Core/RServer.cc
M rtrt/Core/ColorMapDpy.cc
M rtrt/Core/VideoMap.cc
M rtrt/Core/PNGImage.cc
M rtrt/StandAlone/scenes/min-museum.cc
M rtrt/StandAlone/scenes/3ds.cc
M rtrt/StandAlone/gl.cc
M rtrt/StandAlone/tex-utils/genpttex.cc
M rtrt/visinfo/visinfo.h
M rtrt/visinfo/visinfo.c

- Using #include <cstring/cstdlib/etc> to fix needs of newer compiler.
- Group #includes into related groups.
- Indent.
- Newer compiler wants "const char *", instead of "char *".

M rtrt/Core/bps.cc

Use {}.

M rtrt/Core/Grid.cc

- Use Thread::exitAll() (instead of exit) as this will help with rtrt
exiting fully (and not hanging.)
- Indent.

M rtrt/Core/HierarchicalGrid.cc

- Some indentation. Untabify.

M rtrt/Core/GridSpheres.cc

- Thread::exitAll()
- Better error messages.

M rtrt/StandAlone/scenes/t0.cc

- Parse arg as a 'string' as it is cleaner/easier.

0 lines of code changed in 38 files:

  • Packages/rtrt/Core: ASEReader.cc (changed), ASETokens.h (new), BumpMaterial.cc (changed), ColorMapDpy.cc (new), DpyBase.cc (new), Grid.cc (new), GridSpheres.cc (new), HTVolumeBrick.cc (new), HVolume.h (new), HVolumeBrickColor.cc (new), Heightfield.cc (new), HierarchicalGrid.cc (changed), NormalMapMaterial.cc (changed), ObjReader.cc (changed), PNGImage.cc (changed), RServer.cc (new), Stealth.cc (changed), VideoMap.cc (new), bps.cc (changed)
dav 2008-09-30 16:56 Rev.: 42178

Update location of glui.h to GL directory.

10 lines of code changed in 2 files:

  • Packages/rtrt/Core: Gui.cc (new)
dav 2008-08-25 17:21 Rev.: 41969

Added 'move light to eye' button.

31 lines of code changed in 3 files:

  • Packages/rtrt/Core: Gui.cc (+28 -7), Gui.h (+3)
dav 2008-08-15 16:46 Rev.: 41914

Fixes to allow Uintah to build using the PGI compiler:

M configure
M configure.ac

- Figure out size of 'long long' so that Endian.cc swapbytes() can be
set correctly... perhaps a bit of overkill, but...
- PGI compilers don't support -Wall, so don't use it.
- Better messages when determining dependency generation flag. Fix
grep for ":" as it sometimes is " :". See below (configVars.mk.in).
- pgf77 needs -lrt to link.

M configVars.mk.in

- ECHO should not be "echo -n" (no newline)... so named it more appropriately.
- Many compilers don't create dependency files (.d) with exactly "name.o : name.cc".
Then may use "name.o:name.cc". So don't use the ":" in the sed. This should
never cause a problem because of the "^".
- Added the dependency mode of: 'modify_and_move'. PGI compiler creates an invalid
.d file in the wrong place, so we have to fix it and move it.
- NOTE: the F77 dependency flag is currently (historically) just a copy of the CXX
flag... this has worked in the past and still works for everything but pgf77.
Soon (but not in this update) I will fix configure to do this correctly.

M StandAlone/regression/sub.mk
M Packages/Uintah/StandAlone/tools/compare_mms/sub.mk
M Packages/Uintah/StandAlone/tools/radiusMaker/sub.mk

- Need BLAS_LIBRARY to link... at least on Ranger using PGI.
- Please indent... it really does make it easier to read.

M Core/Malloc/Allocator.cc

Moved variable into the #if section that it is used in. Avoids compiler warning.

M Core/Util/Endian.cc
A Core/Util/testEndian.h.in
D Core/Util/Endian.h

- pgcc is requiring the swapbytes() for 'long long'... So add it
in. Since 'long long' size can be different on different machines,
use overkill method with configure figuring out size and setting it
for us.
- Moved Endian.h to testEndian.h.in to allow configure to modify it.
- Indented.

M Core/Util/sub.mk
M Packages/Uintah/Core/Grid/Variables/sub.mk

Untabified.

M Core/Util/Socket.cc

Fix compiler warning and possible 'random' error.

M Core/Math/MiscMath.cc

Fix PGI compiler issue.

M Packages/Uintah/CCA/Components/DataArchiver/DataArchiver.cc
M Packages/Uintah/CCA/Components/Schedulers/SchedulerCommon.cc

#include <time.h> is required for time functions.

M Packages/Uintah/CCA/Components/ICE/EOS/IdealGas.cc
M Packages/Uintah/CCA/Components/ICE/CustomBCs/sine.h
M Packages/Uintah/CCA/Components/ICE/CustomBCs/MMS_BCs.cc
M Packages/Uintah/CCA/Components/ICE/CustomBCs/microSlipBCs.cc
M Packages/Uintah/CCA/Components/ICE/BoundaryCond.cc

- Removed a bunch of definitions of "iter". (vector<IntVector>::const_iterator)...
probably a leftover from the iterator update a while back. In some cases,
renamed an interior (for loop) iterator from "iter" to "cIter" so that the
code would be a little more clear as to which iterator was being used
inside the inner for loop. Also, define some iterators in the for loop,
instead of above the loop. (for( vector::iterator iter...))

M Packages/Uintah/CCA/Components/ICE/AMRICE.h
M Packages/Uintah/Core/Grid/Variables/GridVariable.h
M Packages/Uintah/Core/Grid/Variables/GridVariableBase.h

Fix compiler warning about hidden parent class function.

M Packages/Uintah/CCA/Components/Arches/ExtraScalarSolver.h

Fix compiler warning about ineffectual use of a const return type. Eg:

const int doSomething() { return 1; }

doesn't mean anything... it doesn't make sense for the returned int to
be const. Should just be:

int doSomething() { return 1; }

M Packages/Uintah/CCA/Ports/SFC.h

Fix problem with nested comments. Don't use /* ... */ over many lines. Use #if 0.

M Packages/Uintah/StandAlone/tools/uda2nrrd/particles.cc

Comment about invalid code.

M Packages/Uintah/StandAlone/tools/puda/varsummary.cc

PGI compiler needs Min/Max defined.

M Packages/Uintah/StandAlone/tools/extractors/partextract.cc

#include <stdlib.h> for strtoll... Add hack to force (older (verion
7.1-2)) pgCC to allow strtoll.

M Packages/Uintah/Core/Grid/Patch.h
M Packages/Uintah/Core/Grid/AMR.h

Hack to remove PGI compiler warnings about unreachable code.

M Packages/Uintah/Core/Grid/Grid.h

Use white space... it is also your friend. Seriously (on a related
note ;) can someone tell me why they think "x=3;" is better than "x = 3;"?

M Packages/Uintah/Core/Grid/Variables/ReductionVariable_special.cc

Wow, this is an ugly file... Had to add some (templated) functions
that the PGI compiler was requiring.

M Packages/Uintah/Core/Grid/Variables/ComputeSet.h

Don't seem to need to #include the .cc file (for the templates) with
PGI anymore... at least not on Ranger using pgCC version 7.1-2.

M Packages/Uintah/Core/Grid/Variables/VarTypes.h

Needs the 'long long' var type.

M Packages/Uintah/Core/Grid/Variables/ComputeSet_special.cc

More use of white space, indentation, etc.

M Packages/Uintah/Core/DataArchive/DataArchive.cc

Added {} around what looks like a necessary block of code... strange
that this didn't cause hangs, etc in the code. Perhaps this section
of code isn't used that often? Hope the RT doesn't gripe
tomorrow... it's not my fault!

M Packages/Uintah/Core/Disclosure/TypeUtils.h
M Packages/Uintah/Core/Disclosure/TypeUtils.cc

Added 'long long' function. Organized the code a tad bit to make it
easier to see which functions (for which types) are defined.

M Packages/Uintah/testprograms/sub.mk
M Packages/Uintah/testprograms/PatchBVH/sub.mk
M Packages/Uintah/testprograms/TestFastMatrix/sub.mk
M Packages/Uintah/testprograms/BNRRegridder/sub.mk
M Packages/Uintah/testprograms/IteratorTest/sub.mk

Untabify. Clean up. Removed double definition of LIBS. Requires
BLAS_LIBRARY to link.

M Packages/Uintah/tools/BlasLapackTests/test_blas.c

Ranger's version of testcase... not sure I should have checked it
in... Probably need to have both with the #if separating them.

M Packages/Uintah/Dataflow/Modules/Selectors/ParticleFieldExtractor.h

Fix compiler warning about hidden function (update_progress).

M Packages/Uintah/Dataflow/Modules/Selectors/ParticleFieldExtractor.cc

Fix includes (better ordering). Fix (hack) PGI problem with finding atoll.

M Packages/Uintah/Dataflow/Modules/Selectors/FieldExtractor.h

More white space. Remove unused var. Move common code to above 'if'.

0 lines of code changed in 1 file:

  • Packages/rtrt/Core: Gui.cc (changed)
dav 2008-07-14 15:32 Rev.: 41508

These are C header files, not C++ and thus can't use the C++ #includes.

0 lines of code changed in 4 files:

  • Packages/rtrt/Core: ply.h (new), vec.h (new)
jas 2008-07-07 20:07 Rev.: 41434

Use the proper c++ standard for include files for the C inlude files, i.e.
<stdio.h> --> <cstdio>
<math.h> --> <cmath>

Tested on g++ 4.2 and 4.3 compilers.

180 lines of code changed in 229 files:

  • Packages/rtrt/Core: ASEReader.cc (+1 -1), ASETokens.h (+4 -4), BSplineMaterial.cc (new), Ball.cc (+1 -1), BallAux.cc (new), BallAux.h (new), BallMath.cc (+1 -1), Box.h (+1 -1), BrickArray2.h (+1 -1), BrickArray3.h (new), BumpMaterial.cc (+1 -1), BumpObject.h (new), ColorMap.cc (new), ColorMapDpy.cc (+2 -2), CoupledMaterial.cc (+1 -1), CubeRoot.cc (+3 -3), CutPlaneDpy.cc (new), CutVolumeDpy.cc (+2 -2), CycleMaterial.cc (+1 -1), Cylinder.h (+1 -1), DielectricMaterial.cc (new), DpyBase.cc (+2 -2), Exceptions.cc (+2 -2), GeoProbeReader.cc (+1 -1), Glyph.h (new), Grid.cc (+1 -1), Grid2.cc (new), GridSpheres.cc (+1 -1), GridSpheresDpy.cc (+2 -2), GridTris.cc (new), Gui.cc (+1 -1), HTVolumeBrick.cc (+1 -1), HTVolumeBrick.h (+1 -1), HTlists.cc (new), HVolume.h (+1 -1), HVolumeBrick.cc (+1 -1), HVolumeBrick.h (new), HVolumeBrick16.cc (+1 -1), HVolumeBrick16.h (new), HVolumeBrickColor.cc (+1 -1), HVolumeBrickColor.h (new), HVolumeVG.cc (+1 -1), HVolumeVG.h (new), HVolumeVGspecific.cc (new), HVolumeVis.h (+3 -3), HVolumeVis2D.h (+3 -3), HaloMaterial.h (new), Heightfield.cc (+1 -1), Heightfield.h (+1 -1), Hemisphere.h (+1 -1), HierarchicalGrid.cc (+1 -1), Hist2DDpy.cc (new), Image.cc (+2 -2), ImageMaterial.cc (new), InvisibleMaterial.cc (+1 -1), LambertianMaterial.cc (new), Light.cc (+1 -1), MIPHVB16.cc (new), MIPHVB16.h (+1 -1), MIPMaterial.cc (new), Material.cc (+1 -1), Material.h (+1 -1), MeshedTri.cc (+1 -1), MetalMaterial.cc (new), MiscMath.h (new), MusilRNG.h (+1 -1), NormalMapMaterial.cc (+1 -1), ObjReader.cc (+1 -1), PCAGridSpheres.cc (+1 -1), PLYReader.cc (new), PPMImage.h (+2 -2), PhongMaterial.cc (new), PlaneDpy.cc (new), Point2D.h (new), PriorityQ.h (new), RServer.cc (+2 -2), RingSatellite.h (new), SHLambertianMaterial.cc (new), Satellite.cc (+1 -1), Scene.cc (+1 -1), SeaLambertian.cc (new), SketchMaterial.h (new), Slice.cc (+1 -1), Slice.h (new), SmallTri.cc (new), SolidNoise3.h (+2 -2), Sphere.h (new), Stealth.cc (+2 -2), TextureGridSpheres.cc (+1 -1), TileImageMaterial.cc (new), TimeCycleMaterial.cc (+1 -1), TimeVaryingCheapCaustics.cc (+2 -2), Tri.cc (new), TrivialAllocator.cc (new), UVCylinder.h (new), UVCylinderArc.cc (new), UVCylinderArc.h (+1 -1), Util.h (+2 -2), VideoMap.cc (+1 -1), Volume.cc (new), Volume.h (+1 -1), Volume16.cc (+1 -1), Volume16.h (+1 -1), VolumeBrick.cc (+1 -1), VolumeBrick.h (new), VolumeBrick16.cc (new), VolumeBrick16.h (new), VolumeDpy.cc (+2 -2), VolumeVis.h (new), VolumeVis2D.h (+1 -1), VolumeVisDpy.cc (new), VolumeVisRGBA.h (+1 -1), Volvis2DDpy.cc (new), bps.cc (+1 -1), gl_test.cc (+3 -3), glm.cc (+6 -6), hilbert.cc (new), makebox.cc (new), makesph.cc (+3 -3), ply.h (+1 -1), prefilter.cc (new), tetra2htvol.cc (new), texture.h (+1 -1), vec.h (+1 -1), widget.cc (new)
dav 2008-02-25 16:21 Rev.: 40290

uP compiler problem fix...

6 lines of code changed in 1 file:

  • Packages/rtrt/Core: Gui.cc (+6 -6)
Generated by StatSVN 0.4.0