Directory Packages/Uintah/StandAlone/tools/uda2nrrd/

Total Files:
12
Deleted Files:
3
Lines of Code:
2279

[root]/Packages/Uintah/StandAlone/tools/uda2nrrd

Lines of Code

Packages/Uintah/StandAlone/tools/uda2nrrd/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 68 (100.0%) 1755 (100.0%) 25.8
sshankar 16 (23.5%) 1219 (69.5%) 76.1
dav 29 (42.6%) 315 (17.9%) 10.8
knolla 14 (20.6%) 193 (11.0%) 13.7
luitjens 7 (10.3%) 26 (1.5%) 3.7
jas 2 (2.9%) 2 (0.1%) 1.0

Most Recent Commits

dav 2008-12-22 16:10 Rev.: 42764

Better error message if no particles are found... however, I'm not sure if it is a _full_ error or not... so I let the program continue. (It's possible that with AMR that this would occur. Also, I think if there are multiple particles variables, that if one is empty, but the other isn't, that a valid NRRD will be created (just having a 0 size for the variable that has no data). Need to look into this more.

0 lines of code changed in 2 files:

  • Packages/Uintah/StandAlone/tools/uda2nrrd: particles.cc (new)
dav 2008-12-01 17:17 Rev.: 42642

Fix compiler warning... size_t is unsigned.

1 lines of code changed in 1 file:

  • Packages/Uintah/StandAlone/tools/uda2nrrd: particles.cc (+1 -1)
dav 2008-11-06 16:13 Rev.: 42425

Added a script to run multiple parallel uda2nrrd jobs. Use Thread::exitAll() so that the exit code is correctly passed out of uda2nrrd.

162 lines of code changed in 3 files:

  • Packages/Uintah/StandAlone/tools/uda2nrrd: parallel_extract.sh (new 162), uda2nrrd.cc (new)
dav 2008-10-24 14:54

Save the timestep's time in the NRRD for future reference.

19 lines of code changed in 8 files:

  • Packages/Uintah/StandAlone/tools/uda2nrrd: QueryInfo.h (+9 -8), handleVariable.cc (+3 -1), particles.cc (+5 -2), particles.h (changed), uda2nrrd.cc (+2 -2)
dav 2008-09-26 17:01 Rev.: 42167

save correct number of particles

1 lines of code changed in 1 file:

  • Packages/Uintah/StandAlone/tools/uda2nrrd: particles.cc (+1 -1)
dav 2008-09-16 12:33 Rev.: 42112

Save level number in nrrd.

9 lines of code changed in 1 file:

  • Packages/Uintah/StandAlone/tools/uda2nrrd: handleVariable.cc (+9 -1)
dav 2008-09-09 16:34 Rev.: 42071

Added Key/Value pairs with more info to output NRRDs. Add 'data' line to particle NRRDs.

36 lines of code changed in 3 files:

  • Packages/Uintah/StandAlone/tools/uda2nrrd: handleVariable.cc (+9), particles.cc (+10 -7), uda2nrrd.cc (+17 -2)
dav 2008-08-27 16:12 Rev.: 41986

M uda2nrrd/handleVariable.cc

Print out the patch's index with respect to the level it is on.
(Display every 10th or 100th depending on number of patches.)

M uda2nrrd/uda2nrrd.cc

Fix usage text to be a little cleaner. Better error if '-v' not
specified.


38 lines of code changed in 2 files:

  • Packages/Uintah/StandAlone/tools/uda2nrrd: handleVariable.cc (+11 -2), uda2nrrd.cc (+27 -12)
dav 2008-08-25 17:09 Rev.: 41966

Better/more verbose error/info messages.

6 lines of code changed in 2 files:

  • Packages/Uintah/StandAlone/tools/uda2nrrd: handleVariable.cc (+4 -1), uda2nrrd.cc (+2 -1)
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'.

1 lines of code changed in 1 file:

  • Packages/Uintah/StandAlone/tools/uda2nrrd: particles.cc (+1)
dav 2008-08-14 17:12 Rev.: 41905

Verify that write permission is enabled for creating output files. Verify that '-p' was used when a particle variable is requested.

32 lines of code changed in 2 files:

  • Packages/Uintah/StandAlone/tools/uda2nrrd: particles.cc (+2 -2), uda2nrrd.cc (+30 -5)
luitjens 2008-08-08 13:52 Rev.: 41865

Store a grid pointer with each patch. This was the way Uintah was prior to the patch changes. The current way of storing patches limits the number of grids at any one time to 2. This is a problem when using scirun with multiple extractors/udas/timesteps/etc.


1 lines of code changed in 2 files:

  • Packages/Uintah/StandAlone/tools/uda2nrrd: build.cc (new)
dav 2008-08-06 13:20 Rev.: 41839

Alphabetized...

0 lines of code changed in 2 files:

  • Packages/Uintah/StandAlone/tools/uda2nrrd: sub.mk (changed)
sshankar 2008-07-23 17:35 Rev.: 41717

Removed sub.mk.old, readme.txt and particleData.h from uda2nrrd folder

0 lines of code changed in 3 files:

  • Packages/Uintah/StandAlone/tools/uda2nrrd: particleData.h (del), readme.txt (del), sub.mk.old (del)
knolla 2008-07-23 14:44 Rev.: 41710

made a new uda2vis branch; restored uda2nrrd from rev 41567.

193 lines of code changed in 14 files:

  • Packages/Uintah/StandAlone/tools/uda2nrrd: build.cc (+12 -17), build.h (+2 -7), handleVariable.cc (+28 -125), handleVariable.h (new), particles.cc (+36 -189), particles.h (+2 -12), sub.mk (+4 -3), uda2nrrd.cc (+36 -511), wrap_nrrd.cc (new), wrap_nrrd.h (new)
sshankar 2008-07-17 17:43 Rev.: 41570

readme.txt for building the library

0 lines of code changed in 1 file:

  • Packages/Uintah/StandAlone/tools/uda2nrrd: readme.txt (new)
sshankar 2008-07-17 17:35 Rev.: 41569

uda2nrrd library for VisIt

1219 lines of code changed in 12 files:

  • Packages/Uintah/StandAlone/tools/uda2nrrd: build.cc (+17 -12), build.h (+7 -2), handleVariable.cc (+125 -28), handleVariable.h (+7 -1), particleData.h (new 145), particles.cc (+189 -36), particles.h (+12 -2), sub.mk (+3 -4), sub.mk.old (new 48), uda2nrrd.cc (+511 -36), wrap_nrrd.cc (+152 -71), wrap_nrrd.h (+3 -1)
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.

2 lines of code changed in 2 files:

  • Packages/Uintah/StandAlone/tools/uda2nrrd: particles.h (+1 -1), uda2nrrd.cc (+1 -1)
dav 2008-05-22 17:50 Rev.: 41132

ICC fixes.

10 lines of code changed in 1 file:

  • Packages/Uintah/StandAlone/tools/uda2nrrd: wrap_nrrd.cc (+10)
luitjens 2008-05-12 09:53 Rev.: 40990

updated uda2nrrd to the new interface

17 lines of code changed in 2 files:

  • Packages/Uintah/StandAlone/tools/uda2nrrd: build.cc (+6 -6), handleVariable.cc (+11 -11)

(3 more)

Generated by StatSVN 0.4.0