[root]/Packages/Uintah/Core/IO
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 9 (100.0%) | 134 (100.0%) | 14.8 |
dav | 6 (66.7%) | 132 (98.5%) | 22.0 |
jas | 3 (33.3%) | 2 (1.5%) | 0.6 |
Remove using namespace std; and replace with only what is needed.
1 lines of code changed in 2 files:
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.
1 lines of code changed in 1 file:
sscanf comes from stdio.h
2 lines of code changed in 1 file:
UintahZlibUtil depends on the compression library... And the Mac is a stickler for this.
0 lines of code changed in 2 files:
The previous commit was submitted accidentally without the complete
commit notes... The full notes follow:
A UintahZlibUtil.cc
A UintahZlibUtil.h
Moved the common zlib file reading functions into Core/IO so they can
be used by both ArchesTable.cc and NewStaticMixingTable.cc. (Still
not sure why there are two of these files that appear to read the same
files... I believe ArchesTable.cc reads in the table for use by ICE.
Perhaps it should be added to 'the list' an item to consolidate these
files.)
M CCA/Components/Models/test/ArchesTable.h
M CCA/Components/Models/test/ArchesTable.cc
Added in the zlib functions for reading a compressed Arches table
(...should still read non-compressed files). Removed tabs; did some
coding standard clean ups.
M CCA/Components/Arches/Mixing/sub.mk
Cleaned up formatting.
M CCA/Components/Arches/Mixing/NewStaticMixingTable.cc
Use the (now common) zlib functions from the common location. (Also,
API changed just slightly.)
M Core/sub.mk
Add IO subdir. Clean up formatting.
M Core/IO/sub.mk
Added UintahZlibUtil.cc.
125 lines of code changed in 2 files:
M CCA/Components/Models/test/ArchesTable.h
M CCA/Components/Models/test/ArchesTable.cc
Added in the zlib functions for reading a compressed Arches table.
Removed tabs; did some coding standard clean ups.
M CCA/Components/Arches/Mixing/sub.mk
M CCA/Components/Arches/Mixing/NewStaticMixingTable.cc
M Core/sub.mk
M Core/IO/sub.mk
5 lines of code changed in 1 file: