Directory Core/ProblemSpec/

Total Files:
3
Deleted Files:
0
Lines of Code:
1712

[root]/Core/ProblemSpec

Lines of Code

Core/ProblemSpec/ Lines of Code

Developers

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

Most Recent Commits

luitjens 2009-10-27 14:51 Rev.: 44958

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:

  • Core/ProblemSpec: ProblemSpec.cc (new)
dav 2009-06-11 14:33 Rev.: 44414

Added 'getFile()' function for Wes.

14 lines of code changed in 3 files:

  • Core/ProblemSpec: ProblemSpec.cc (+5), ProblemSpec.h (new)
dav 2009-03-23 15:51 Rev.: 43824


- 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:

  • Core/ProblemSpec: ProblemSpec.cc (+3 -3), ProblemSpec.h (+3 -3)
jas 2009-03-18 23:33 Rev.: 43774

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:

  • Core/ProblemSpec: ProblemSpec.cc (+22 -2), ProblemSpec.h (+4)
jas 2009-03-18 23:33 Rev.: 43772

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:

  • Core/ProblemSpec: ProblemSpec.cc (+20), ProblemSpec.h (+5)
dav 2009-03-13 18:54 Rev.: 43702


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:

  • Core/ProblemSpec: ProblemSpec.cc (+38 -52), ProblemSpec.h (+6 -2)
dav 2009-03-13 17:30 Rev.: 43700

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:

  • Core/ProblemSpec: ProblemSpec.h (+5)
dav 2009-03-13 17:23 Rev.: 43699

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:

  • Core/ProblemSpec: ProblemSpec.cc (+52 -46)
jas 2009-03-09 17:56 Rev.: 43526

Change to_char_ptr to (const char *) to eliminate requirement of XMLUtil.h

8 lines of code changed in 1 file:

  • Core/ProblemSpec: ProblemSpec.cc (+8 -6)
jas 2009-03-09 16:43 Rev.: 43521

Remove sgi_stl_warnings include line

0 lines of code changed in 2 files:

  • Core/ProblemSpec: ProblemSpec.cc (-2), ProblemSpec.h (-2)
jas 2009-03-09 15:32 Rev.: 43511

Remove the Packages/Uintah/

6 lines of code changed in 2 files:

  • Core/ProblemSpec: ProblemSpec.cc (+2 -2), ProblemSpec.h (+4 -4)
jas 2009-03-09 15:23 Rev.: 43506

Remove the Packages/Uintah/

3 lines of code changed in 2 files:

  • Core/ProblemSpec: sub.mk (+3 -3)
Generated by StatSVN 0.4.0