Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 22 (100.0%) | 192 (100.0%) | 8.7 |
dav | 9 (40.9%) | 121 (63.0%) | 13.4 |
jas | 11 (50.0%) | 68 (35.4%) | 6.1 |
luitjens | 2 (9.1%) | 3 (1.6%) | 1.5 |
Added a new SCI_DEBUG called WaitForDebugger.
This will cause sus to wait for a debugger if it crashes or throws an exception.
To use add WaitForDebugger:+ to your SCI_DEBUG line. When a crash occurs you will see a message that contains
hostname and the pid. Then open a terminal on the host and attach gdb using `gdb --pid <pid>`.
3 lines of code changed in 2 files:
Added 'getFile()' function for Wes.
14 lines of code changed in 3 files:
- Updated the ups validation code.
- Split the ups_spec into several different files.
- Added -do_not_validate flag.
See below for details:
D StandAlone/inputs/ups_spec.xml
A StandAlone/inputs/UPS_SPEC
AM + StandAlone/inputs/UPS_SPEC/ups_spec.xml
A StandAlone/inputs/UPS_SPEC/constitutive_models.xml
A StandAlone/inputs/UPS_SPEC/mpm_spec.xml
A StandAlone/inputs/UPS_SPEC/ice_spec.xml
A StandAlone/inputs/UPS_SPEC/arches_spec.xml
- Moved the ups_spec.xml file into UPS_SPEC and broke out pieces of it into separate files.
More pieces can probably be broken out and/or other files created for those pieces.
- Note, a lot of changes were made to the .ups spec (by other people) while I was doing this.
I tried to incorporate those changes, but might have misses a few. If so, I apologize.
M CCA/Components/ProblemSpecification/ProblemSpecReader.cc
- Added the ups_spec child requirement ALL_OR_NONE_OF and fixed the
ONE_OF. Added some bulletproofing to make sure that specified
children/attributes actually exist.
- Fixed a number of error statements to be more clear.
- Updated the <include> directive to allow for specifying a section of
a file.
M Core/ProblemSpec/ProblemSpec.h
M Core/ProblemSpec/ProblemSpec.cc
- getAttribute() functions should be 'const'.
M StandAlone/inputs/Models/Radiation/impHotBlob_Container.ups
- Removed 2nd <absorbingSolid>... Todd/Jeremy, is this right?
M StandAlone/inputs/MPMICE/grainSlice_noReact.ups
- Cosmetic cleanup. Don't need an explicit </end_tag> if the tag doesn't have children.
M StandAlone/inputs/MPMICE/LODI_BUG.ups
- The <union> tag had only one child, so I removed it...
- Spaced out some input values to make it easier to see them.
M StandAlone/inputs/IS/ArchesHeatUpExplosion/HTContainer_arches_mpmice.ups
- <DataArchiver> requires an <outputInterval>.
M StandAlone/sus.cc
- Added a '-do_not_validate' flag to sus to turn off .ups validation.
I highly suggest not using it. ;) A warning is displayed on the screen if you do.
M CCA/Components/DataArchiver/DataArchiver.cc
- Just some cosmetic cleanups.
6 lines of code changed in 2 files:
Use findBlockWithOutAttributes() when searching for MaterialProperties
to avoid finding the MaterialProperties add=true node.
This is second part of the changes needed to replace the
AddMaterialProperties with attribute add=true for MaterialProperties.
26 lines of code changed in 2 files:
Remove the <AddMaterialProperties> tag and replace it with the
<MaterialProperties add="true">.
Add the function ProblemSpec::findBlockWithAttribute('name','attr') which
finds a block with an attribute used for the change in the MaterialProperties
tag.
Change input files to use the new MaterialProperties tag when adding a
material.
Eliminate from the ups_spec.xml all references to AddMaterialProperties.
25 lines of code changed in 2 files:
Fixes to the code that broke when I fixed the checkForInputError()
code.
M Grid/BoundaryConditions/BoundCondFactory.cc
Clean up the Boundary Condition input code. Not sure if we really
should use the try/catch mechanism to determine if the BC is a double
or a vector... but perhaps there isn't any other choice. However, I
think the <BCType> tag should be fixed... perhaps add an attribute
that specifies what type it really is instead of relying on the
string in the <value> tag...?
M ProblemSpec/ProblemSpec.h
Update the documentation on get() to be more accurate.
M ProblemSpec/ProblemSpec.cc
* Fix indentation of #includes.
* Remove old SGI pragmas.
* use namespace std
* Fix checkForInputError() error strings.
* Use {} for if statement.
44 lines of code changed in 2 files:
Exposed checkForInputError() as it might be useful in other locations. Also fixed it to use a 'enum' instead of a 'string' (sigh). BTW, all the checks for the validity of 'double' before hand were actually not doing anything as only "int" and "float" were being tested. (Note, with respect to a 'string', doubles and floats are the same thing.)
5 lines of code changed in 1 file:
Exposed checkForInputError() as it might be useful in other locations. Also fixed it to use a 'enum' instead of a 'string' (sigh). BTW, all the checks for the validity of 'double' before hand were actually not doing anything as only 'int' and 'float' were being tested. (Note, with respect to a 'string', doubles and floats are the same thing.)
52 lines of code changed in 1 file:
Change to_char_ptr to (const char *) to eliminate requirement of XMLUtil.h
8 lines of code changed in 1 file:
Remove sgi_stl_warnings include line
0 lines of code changed in 2 files:
Remove the Packages/Uintah/
6 lines of code changed in 2 files:
Remove the Packages/Uintah/
3 lines of code changed in 2 files: