Directory Packages/Uintah/Core/Grid/Variables/

Total Files:
44
Deleted Files:
0
Lines of Code:
4644

[root]/Packages/Uintah/Core/Grid/Variables

Lines of Code

Packages/Uintah/Core/Grid/Variables/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 161 (100.0%) 2143 (100.0%) 13.3
luitjens 81 (50.3%) 1795 (83.8%) 22.1
dav 29 (18.0%) 255 (11.9%) 8.7
jas 50 (31.1%) 91 (4.2%) 1.8
harman 1 (0.6%) 2 (0.1%) 2.0

Most Recent Commits

luitjens 2008-11-26 12:53 Rev.: 42601

Added a count variable to the PSPatchMatlGhost structure. This variable is used to record how many times a particle set has been added/erased in the process of combining. Doing this allows us to avoid deleting particle sets that are still needed and will hopefully resolve the issues i've been seeing reguarding particle sendsets.

5 lines of code changed in 4 files:

  • Packages/Uintah/Core/Grid/Variables: PSPatchMatlGhost.cc (new), PSPatchMatlGhost.h (new)
dav 2008-09-16 16:18 Rev.: 42118

Apparently the PGI compiler on REDSTORM is different from PGI everywhere else... sigh.

0 lines of code changed in 2 files:

  • Packages/Uintah/Core/Grid/Variables: ReductionVariable_special.cc (new)
luitjens 2008-09-01 11:22 Rev.: 42003

Added a few operators

22 lines of code changed in 2 files:

  • Packages/Uintah/Core/Grid/Variables: PSPatchMatlGhost.cc (+12), PSPatchMatlGhost.h (+10)
dav 2008-08-21 16:25 Rev.: 41954


M Core/Exceptions/PetscError.cc ----renamed_to---> UintahPetscError.cc
M Core/Exceptions/PetscError.h ----renamed_to---> UintahPetscError.h

PetscError implies a function defined in Petsc (and actually, there is
a Petsc PetscError which caused a naming conflict with our PetscError.
So I renamed our PetscError to the more clear UintahPetscError.

M CCA/Components/Models/Radiation/Models_PetscSolver.cc
M CCA/Components/MPM/PetscSolver.cc
M CCA/Components/Arches/PetscSolver.cc
M CCA/Components/Arches/Radiation/RadLinearSolver.cc
M CCA/Components/Arches/Filter.cc

Using UintahPetscError. Some coding convention cleanups.

M CCA/Components/Models/Radiation/RadiationConstVariables.h
M CCA/Components/Arches/ArchesConstVariables.h

This file doesn't use PetscError, so doesn't need to include it.
ALSO, PLEASE don't place #includes above the '#ifndef .h file guard'
at the top of a .h file.

M CCA/Components/Models/Radiation/Models_HypreSolver.cc

Finish cleanup up what Todd started. ;) Removed references to
PetscError from this Hypre file. Rearranged the #includes to
be in a better order. Fixed #include "" to use #include <>.

M CCA/Components/Arches/Radiation/RadHypreSolver.cc

This file doesn't use PetscError, so don't #include it. Fixed
#include "" to be #include <>.

M CCA/Components/Arches/StencilMatrix.h

Don't use std::vector when it isn't used in the file.

M CCA/Components/Regridder/PatchFixer.cc

Untabify. Indent. Group using statements. Few coding standard
updates.

M Core/Exceptions/sub.mk

PetscError -> UintahPetscError. Clean up ordering of src files.

M Core/Grid/Variables/ReductionVariable_special.cc

Still trying to get the symbols to be defined correctly on all
compilers.

13 lines of code changed in 1 file:

  • Packages/Uintah/Core/Grid/Variables: ReductionVariable_special.cc (+13 -7)
dav 2008-08-18 00:26 Rev.: 41917

More fixes to fixes for PGI compiler.

26 lines of code changed in 1 file:

  • Packages/Uintah/Core/Grid/Variables: ReductionVariable_special.cc (+26 -24)
dav 2008-08-17 20:18 Rev.: 41916

Fixes to fixes for PGI compiler... to allow compilation at LLNL (Atlas/uP).

M StandAlone/regression/sub.mk
M Packages/Uintah/StandAlone/tools/compare_mms/sub.mk
M Packages/Uintah/StandAlone/tools/radiusMaker/sub.mk
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

Need to link Lapack too (when Blas is used).

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

- The "using namespace Uintah" wasn't enough for the xlC (AIX
compiler)... Had to use "Uintah::" explicitly.
- Indent. Organize #includes.

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

- Declare the parent classes allocate function. (Might not be
completely necessary, but before it was only declared in the parent
and in the subclass which made it kinda hard to figure out where
it was coming from.)

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

- More indention.

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

- AIX (xlC) compiler doesn't like the "using" statement... complains
that it can't figure out which function is the right one.
- Indent. Untabify.

93 lines of code changed in 8 files:

  • Packages/Uintah/Core/Grid/Variables: GridVariable.h (new), GridVariableBase.cc (+2 -2), GridVariableBase.h (new), ugc_templates.cc (+44 -45)
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'.

103 lines of code changed in 11 files:

  • Packages/Uintah/Core/Grid/Variables: ComputeSet.h (new), ComputeSet_special.cc (new), GridVariable.h (+2 -2), GridVariableBase.h (+2 -2), ReductionVariable_special.cc (+57 -10), VarTypes.h (new), sub.mk (new)
luitjens 2008-07-30 09:35 Rev.: 41770

Set d_done by checking if the range between d_s and d_e is a valid iterator. This allows null iterators to be specified which will say the iterator is always in a done state.


0 lines of code changed in 4 files:

  • Packages/Uintah/Core/Grid/Variables: CellIterator.h (changed), GridIterator.h (new)
luitjens 2008-07-29 13:56 Rev.: 41755

Don't call reset() from begin() instead call reset when it is needed. Calling reset from begin could cause lots of unintended consequences.

101 lines of code changed in 3 files:

  • Packages/Uintah/Core/Grid/Variables: GridIterator.h (+101 -101), Iterator.h (-1)
jas 2008-07-29 09:45 Rev.: 41748

Print out the limits of the iterators.

Reset the index in each iterator when calling the begin().

36 lines of code changed in 11 files:

  • Packages/Uintah/Core/Grid/Variables: BaseIterator.h (+2), CellIterator.h (+6), GridIterator.h (+7), Iterator.cc (new), Iterator.h (+8 -1), ListOfCellsIterator.h (new), NodeIterator.h (+7)
harman 2008-07-28 16:14 Rev.: 41740

added tydef min_vartype

2 lines of code changed in 1 file:

  • Packages/Uintah/Core/Grid/Variables: VarTypes.h (+2)
luitjens 2008-07-23 14:19 Rev.: 41706

Changed the operator< to match the array3 layout.


2 lines of code changed in 5 files:

  • Packages/Uintah/Core/Grid/Variables: BaseIterator.h (-19), DifferenceIterator.cc (new), UnionIterator.cc (+1 -1)
luitjens 2008-07-23 13:20 Rev.: 41704

Changed the listOfCells Iterator to return a sentinal for the end of the list as opposed to returning the last item in the list. This matches the behaviour of our other iterators and the behaviour of stl iterators

14 lines of code changed in 4 files:

  • Packages/Uintah/Core/Grid/Variables: BaseIterator.h (+1 -1), ListOfCellsIterator.cc (+1 -1), ListOfCellsIterator.h (+12 -4)
jas 2008-07-23 09:18 Rev.: 41695

Move clone() operation back to protected.

5 lines of code changed in 1 file:

  • Packages/Uintah/Core/Grid/Variables: BaseIterator.h (+5 -5)
luitjens 2008-07-23 08:55 Rev.: 41693

untabified and indented

360 lines of code changed in 1 file:

  • Packages/Uintah/Core/Grid/Variables: ComputeSet.h (+360 -360)
jas 2008-07-21 16:11 Rev.: 41664

Remove using namespace std; and replace with only what is needed.

13 lines of code changed in 22 files:

  • Packages/Uintah/Core/Grid/Variables: CellIterator.cc (new), CellIterator.h (+1), ComputeSet.cc (+1 -1), GridIterator.cc (+1 -1), GridVariableBase.cc (+1 -1), LocallyComputedPatchVarMap.cc (new), ParticleSubset.cc (new), ParticleVariableBase.cc (+1 -1), ParticleVariable_special.cc (+1 -1), PerPatchBase.cc (new), VarLabel.cc (new), Variable.cc (new)
jas 2008-07-21 11:21 Rev.: 41654

Move default constructor to public interface.

0 lines of code changed in 2 files:

  • Packages/Uintah/Core/Grid/Variables: UnionIterator.h (new)
jas 2008-07-21 11:20 Rev.: 41653

Use scinew.

2 lines of code changed in 1 file:

  • Packages/Uintah/Core/Grid/Variables: NodeIterator.h (+2 -1)
jas 2008-07-21 11:20 Rev.: 41652

Use scinew.
Add reset() to copy constructor.

3 lines of code changed in 1 file:

  • Packages/Uintah/Core/Grid/Variables: ListOfCellsIterator.h (+3 -3)
jas 2008-07-21 11:18 Rev.: 41651

Use scinew.
Create default constructor.
Check for self in assingment operator.

10 lines of code changed in 1 file:

  • Packages/Uintah/Core/Grid/Variables: GridIterator.h (+10 -2)

(28 more)

Generated by StatSVN 0.4.0