Directory Packages/Uintah/Core/GeometryPiece/

Total Files:
51
Deleted Files:
0
Lines of Code:
5713

[root]/Packages/Uintah/Core/GeometryPiece

Lines of Code

Packages/Uintah/Core/GeometryPiece/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 206 (100.0%) 2213 (100.0%) 10.7
dav 105 (51.0%) 1618 (73.1%) 15.4
jas 44 (21.4%) 495 (22.4%) 11.2
worthen 49 (23.8%) 59 (2.7%) 1.2
banerjee 5 (2.4%) 40 (1.8%) 8.0
mjc 1 (0.5%) 1 (0.0%) 1.0
harman 2 (1.0%) 0 (0.0%) 0.0

Most Recent Commits

harman 2006-09-28 10:15 Rev.: 35452

eliminated warning
WARNING: Unknown Geometry Piece Type ( density, scalar, temperature)


0 lines of code changed in 2 files:

  • Packages/Uintah/Core/GeometryPiece: GeometryPieceFactory.cc (new)
worthen 2006-06-02 15:23 Rev.: 34405

Prep configure to run under cygwin. Not quite ready yet.

Windows port of Uintah. Currently does not support Arches or Radiation (due to lack of fortran).

59 lines of code changed in 49 files:

  • Packages/Uintah/Core/GeometryPiece: BoxGeometryPiece.h (new), ConeGeometryPiece.h (new), CorrugEdgeGeomPiece.h (+2 -1), CylinderGeometryPiece.h (+2 -1), CylinderShellPiece.h (+2 -1), DifferenceGeometryPiece.h (+2 -1), FileGeometryPiece.h (new), GUVSphereShellPiece.h (+2 -1), GeometryObject.h (+2 -1), GeometryPiece.h (+2 -1), GeometryPieceFactory.h (+2 -1), IntersectionGeometryPiece.h (+2 -1), NullGeometryPiece.h (+2 -1), PlaneShellPiece.h (new), ShellGeometryFactory.h (new), ShellGeometryPiece.h (new), SmoothCylGeomPiece.h (+2 -1), SmoothGeomPiece.h (+2 -1), SphereGeometryPiece.h (+2 -1), SphereMembraneGeometryPiece.h (+2 -1), SphereShellPiece.h (+2 -1), TriGeometryPiece.h (new), UniformGrid.h (+2 -1), UnionGeometryPiece.h (+2 -1), share.h (new 11)
banerjee 2006-05-02 14:45 Rev.: 34097

Added option for arc start position. Angles are always counterclockwise.

15 lines of code changed in 3 files:

  • Packages/Uintah/Core/GeometryPiece: SmoothCylGeomPiece.cc (+14 -5), SmoothCylGeomPiece.h (+1)
jas 2006-05-02 10:54 Rev.: 34086

Remove unused tags <sphere> and <shell>.

0 lines of code changed in 2 files:

  • Packages/Uintah/Core/GeometryPiece: SphereShellPiece.cc (new)
jas 2006-05-02 10:40 Rev.: 34085

Remove unused tags <plane> and <shell>.

0 lines of code changed in 2 files:

  • Packages/Uintah/Core/GeometryPiece: PlaneShellPiece.cc (new)
banerjee 2006-04-22 19:13 Rev.: 33970

Added option to create part of a cylinder using input angle.

25 lines of code changed in 2 files:

  • Packages/Uintah/Core/GeometryPiece: SmoothCylGeomPiece.cc (+24 -8), SmoothCylGeomPiece.h (+1)
dav 2006-04-21 11:10 Rev.: 33954


Updates to handle Shell pieces correctly. Before, shell pieces were
specified inside of a <shell> node... now they are specified just like
everything else, eg: <sphere_shell>. I tested a number of the shell
(ups) input files and receive the same results as before my geom obj
changes. This isn't to say that they work... There appear to be many
problems with the shell input files, but to the best of my knowledge
and testing, my changes have not broken anything else. -Dav


33 lines of code changed in 5 files:

  • Packages/Uintah/Core/GeometryPiece: GeometryPieceFactory.cc (+10 -8), ShellGeometryFactory.cc (+13 -22), ShellGeometryFactory.h (+4 -3), ShellGeometryPiece.h (+6 -22)
dav 2006-04-18 17:55 Rev.: 33903


These are fixes for correctly handling Uintah Geometry Objects.
However, there was a lot of clean up necessary in this effort so those
files are also included.

GeometryPieces are now stored in Handles so that we don't have to
explicitly delete them. Therefore many delete's have been removed,
and most "GeometryPiece *"s have been replaced with "GeometryPieceP"s.

ShellGeometryPieces aren't 100% yet, but they will be soon. (I don't
think anyone is actually using them.)

Instead of having the names of the GeometryPieces just used as strings
in the Factory file, I've placed the name in the .cc file of each
GeometryPiece. It can be referenced by using <TheClass>::TYPE_NAME or
theObject->getType();

The GeometryPiece::setName() function now sets a flag that specifies
that the name has been set. This is necessary so that when the piece
is output to a file, it will display the piece's name. Therefor the
setName() function is not used inside any of the GeometryPiece
classes.

The outputProblemSpec() function will now label the objects in
addition to outputing them. It will also only output a reference to
them on 2nd and subsequent references. It has been moved into the
GeometryPiece() file and uses outputHelper() from each subclass to
output the subclasses data.

OutputProblemSpec() and clone() are now const functions. Note,
however, that outputProblemSpec() does modify the firstOutput_
variable. (It is 'mutable'.)

M Core/Exceptions/AssertionFailed.h

Turn off SGI STL warnings.

M Core/Geometry/Point.h
M Core/Geometry/Vector.cc
M Core/Geometry/Vector.h
M Core/Geometry/Point.cc

Use x_ (etc) instead of _x. This matches our standard, avoids
potential conflicts with compilers use of _<something> variables, and
cleans up a bunch of strangely formatted warning messages on the newer
gcc's.

M Packages/Uintah/CCA/Components/Models/test/Mixing.cc
M Packages/Uintah/CCA/Components/Models/test/Mixing.h

GeometryPiece fixes. Cleaned up compiler warnings.

M Packages/Uintah/CCA/Components/Models/test/PassiveScalar.cc
M Packages/Uintah/CCA/Components/Models/test/PassiveScalar.h
M Packages/Uintah/CCA/Components/Models/test/flameSheet_rxn.cc
M Packages/Uintah/CCA/Components/Models/test/flameSheet_rxn.h
M Packages/Uintah/CCA/Components/Models/test/AdiabaticTable.cc
M Packages/Uintah/CCA/Components/Models/test/AdiabaticTable.h
M Packages/Uintah/CCA/Components/Models/test/SimpleRxn.cc
M Packages/Uintah/CCA/Components/Models/test/SimpleRxn.h

GeometryPiece fixes. Compiler warning cleanup. Untabify, indention,
etc. Initialize possibly uninitialized variables.

M Packages/Uintah/CCA/Components/Models/test/NonAdiabaticTable.cc
M Packages/Uintah/CCA/Components/Models/test/NonAdiabaticTable.h
M Packages/Uintah/CCA/Components/Models/Radiation/RadiationDriver.cc
M Packages/Uintah/CCA/Components/Models/Radiation/RadiationDriver.h
M Packages/Uintah/CCA/Components/MPM/ConstitutiveModel/MPMMaterial.cc
M Packages/Uintah/CCA/Components/MPM/ConstitutiveModel/MPMMaterial.h
M Packages/Uintah/CCA/Components/MPM/Contact/SpecifiedBodyContact.cc
M Packages/Uintah/CCA/Components/MPM/ParticleCreator/ShellParticleCreator.cc
M Packages/Uintah/CCA/Components/MPM/ParticleCreator/ParticleCreator.cc
M Packages/Uintah/CCA/Components/MPM/ParticleCreator/ParticleCreator.h
M Packages/Uintah/CCA/Components/MPM/ParticleCreator/MembraneParticleCreator.cc
M Packages/Uintah/CCA/Components/ICE/ICEMaterial.cc
M Packages/Uintah/CCA/Components/Arches/BoundaryCondition.cc
M Packages/Uintah/CCA/Components/Arches/ScaleSimilarityModel.cc
M Packages/Uintah/CCA/Components/Arches/BoundaryCondition.h
M Packages/Uintah/CCA/Components/Examples/RegionDB.h
M Packages/Uintah/CCA/Components/Examples/BoundaryConditions.cc
M Packages/Uintah/CCA/Components/Examples/BoundaryConditions.h
M Packages/Uintah/CCA/Components/Examples/RegionDB.cc
M Packages/Uintah/StandAlone/inputs/SMPMICE/test_guv.ups
M Packages/Uintah/StandAlone/inputs/MPMICE/mpmice.srn
M Packages/Uintah/StandAlone/inputs/MPMICE/diw.ups
M Packages/Uintah/StandAlone/slb.cc
M Packages/Uintah/Core/GeometryPiece/NullGeometryPiece.cc
M Packages/Uintah/Core/GeometryPiece/NaaBoxGeometryPiece.h
M Packages/Uintah/Core/GeometryPiece/SmoothCylGeomPiece.cc
M Packages/Uintah/Core/GeometryPiece/SmoothCylGeomPiece.h
M Packages/Uintah/Core/GeometryPiece/ConeGeometryPiece.cc
M Packages/Uintah/Core/GeometryPiece/CorrugEdgeGeomPiece.h
M Packages/Uintah/Core/GeometryPiece/GUVSphereShellPiece.h
M Packages/Uintah/Core/GeometryPiece/SphereGeometryPiece.h
M Packages/Uintah/Core/GeometryPiece/UnionGeometryPiece.cc
M Packages/Uintah/Core/GeometryPiece/BoxGeometryPiece.h
M Packages/Uintah/Core/GeometryPiece/DifferenceGeometryPiece.h
M Packages/Uintah/Core/GeometryPiece/SphereMembraneGeometryPiece.cc
M Packages/Uintah/Core/GeometryPiece/TriGeometryPiece.cc
M Packages/Uintah/Core/GeometryPiece/SphereMembraneGeometryPiece.h
M Packages/Uintah/Core/GeometryPiece/GeometryObject.h
M Packages/Uintah/Core/GeometryPiece/SphereShellPiece.cc
M Packages/Uintah/Core/GeometryPiece/ShellGeometryPiece.cc
M Packages/Uintah/Core/GeometryPiece/NaaBoxGeometryPiece.cc
M Packages/Uintah/Core/GeometryPiece/IntersectionGeometryPiece.h
M Packages/Uintah/Core/GeometryPiece/ShellGeometryPiece.h
M Packages/Uintah/Core/GeometryPiece/GeometryPieceFactory.h
M Packages/Uintah/Core/GeometryPiece/CylinderGeometryPiece.cc
M Packages/Uintah/Core/GeometryPiece/PlaneShellPiece.cc
M Packages/Uintah/Core/GeometryPiece/CylinderGeometryPiece.h
M Packages/Uintah/Core/GeometryPiece/NullGeometryPiece.h
M Packages/Uintah/Core/GeometryPiece/PlaneShellPiece.h
M Packages/Uintah/Core/GeometryPiece/GeometryPiece.cc
M Packages/Uintah/Core/GeometryPiece/FileGeometryPiece.cc
M Packages/Uintah/Core/GeometryPiece/GeometryPiece.h
M Packages/Uintah/Core/GeometryPiece/FileGeometryPiece.h
M Packages/Uintah/Core/GeometryPiece/CorrugEdgeGeomPiece.cc
M Packages/Uintah/Core/GeometryPiece/GUVSphereShellPiece.cc
M Packages/Uintah/Core/GeometryPiece/CylinderShellPiece.cc
M Packages/Uintah/Core/GeometryPiece/ConeGeometryPiece.h
M Packages/Uintah/Core/GeometryPiece/SphereGeometryPiece.cc
M Packages/Uintah/Core/GeometryPiece/CylinderShellPiece.h
M Packages/Uintah/Core/GeometryPiece/BoxGeometryPiece.cc
M Packages/Uintah/Core/GeometryPiece/ShellGeometryFactory.cc
M Packages/Uintah/Core/GeometryPiece/DifferenceGeometryPiece.cc
M Packages/Uintah/Core/GeometryPiece/UnionGeometryPiece.h
M Packages/Uintah/Core/GeometryPiece/ShellGeometryFactory.h
M Packages/Uintah/Core/GeometryPiece/TriGeometryPiece.h
M Packages/Uintah/Core/GeometryPiece/GeometryObject.cc
M Packages/Uintah/Core/GeometryPiece/SphereShellPiece.h
M Packages/Uintah/Core/GeometryPiece/SmoothGeomPiece.cc
M Packages/Uintah/Core/GeometryPiece/UniformGrid.h
M Packages/Uintah/Core/GeometryPiece/IntersectionGeometryPiece.cc
M Packages/Uintah/Core/GeometryPiece/SmoothGeomPiece.h
M Packages/Uintah/Core/Grid/Grid.h
M Packages/Uintah/Core/Grid/BoundaryConditions/BoundCondReader.cc
M Packages/Uintah/Core/Grid/BoundaryConditions/RectangleBCData.cc
M Packages/Uintah/Core/Grid/BoundaryConditions/BCDataArray.cc
M Packages/Uintah/Core/ProblemSpec/ProblemSpec.h
M Packages/Uintah/Core/Util/Handle.h
M Packages/Uintah/Core/Util/RefCounted.cc
M Packages/Uintah/Core/Util/RefCounted.h

M Packages/Uintah/CCA/Components/ProblemSpecification/ProblemSpecReader.cc

Don't use single letter variable names if they are going to be used
outside of a small loop. Fixed compiler warning.

M Packages/Uintah/Core/GeometryPiece/GeometryPieceFactory.cc

Massive changes. Removed hardcoding of object type names. Storing a
map of GeometryPiece Handles instead of pointers (to solve memory
issues (ie: freeing of pointers twice). Handle the case when an xml
element has data in it, but no children. Added more debug output.

M Packages/Uintah/Core/Grid/Grid.h
M Packages/Uintah/Core/Util/RefCounted.h

Copy constructor was never actually implemented (or used).


1059 lines of code changed in 69 files:

  • Packages/Uintah/Core/GeometryPiece: BoxGeometryPiece.cc (new), BoxGeometryPiece.h (+5 -3), ConeGeometryPiece.cc (new), ConeGeometryPiece.h (+24 -26), CorrugEdgeGeomPiece.cc (+16 -15), CorrugEdgeGeomPiece.h (+5 -3), CylinderGeometryPiece.cc (new), CylinderGeometryPiece.h (+6 -4), CylinderShellPiece.cc (+6 -3), CylinderShellPiece.h (+5 -3), DifferenceGeometryPiece.cc (new), DifferenceGeometryPiece.h (+9 -7), FileGeometryPiece.cc (+25 -16), FileGeometryPiece.h (+11 -8), GUVSphereShellPiece.cc (new), GUVSphereShellPiece.h (+8 -10), GeometryObject.cc (new), GeometryObject.h (+36 -34), GeometryPiece.cc (new), GeometryPiece.h (+61 -32), GeometryPieceFactory.cc (+147 -93), GeometryPieceFactory.h (+12 -5), IntersectionGeometryPiece.cc (+38 -42), IntersectionGeometryPiece.h (+48 -45), NaaBoxGeometryPiece.cc (new), NaaBoxGeometryPiece.h (+5 -2), NullGeometryPiece.cc (new), NullGeometryPiece.h (+5 -5), PlaneShellPiece.cc (+15 -13), PlaneShellPiece.h (+6 -4), ShellGeometryFactory.cc (+23 -24), ShellGeometryFactory.h (+3 -6), ShellGeometryPiece.cc (new), ShellGeometryPiece.h (+5 -2), SmoothCylGeomPiece.cc (+15 -17), SmoothCylGeomPiece.h (+5 -3), SmoothGeomPiece.cc (new), SmoothGeomPiece.h (+5 -2), SphereGeometryPiece.cc (new), SphereGeometryPiece.h (+73 -69), SphereMembraneGeometryPiece.cc (+25 -19), SphereMembraneGeometryPiece.h (+58 -57), SphereShellPiece.cc (+20 -14), SphereShellPiece.h (+6 -8), TriGeometryPiece.cc (+34 -33), TriGeometryPiece.h (+54 -50), UniformGrid.h (+4 -14), UnionGeometryPiece.cc (new), UnionGeometryPiece.h (+10 -11)
dav 2006-04-11 18:09 Rev.: 33831

Added a debug stream and made error output msgs a little more useful.

10 lines of code changed in 1 file:

  • Packages/Uintah/Core/GeometryPiece: GeometryPieceFactory.cc (+10 -6)
dav 2006-04-10 17:08 Rev.: 33819

M CCA/Components/SimulationController/SimulationController.cc

Output the memory usage in human readable units. Bryan/David, please
verify that I did this correctly and that it doesn't mess up any tools
we have.

M Core/GeometryPiece/NaaBoxGeometryPiece.h

Update the way the NaaBox is created... use a transform to a unit cube
instead of using the code I originally had. The reason for this is
that the code I used originally was 'transposing' the shape. This way
is cleaner and easier to understand.

M Core/GeometryPiece/sub.mk

Cleaned up.

M Core/GeometryPiece/GeometryPieceFactory.h
M Core/GeometryPiece/GeometryPieceFactory.cc

Store the geometry pieces that are created so that they can be
referred to just by name. This is going to cause some input files to
break!... because now you can't specify the geometry of a piece twice
(if you give it a name)... If you want to refer a previous piece, you
need to do so only by name. I've tested this, but if anyone runs into
any problems, please let me know and I will look into them. If anyone
has any other comments, feel free to let me know.

Note, this is not thread safe... which I don't think is a problem, but
if it is, we will need to fix it.

Use:
<geom_object>
<parallelepiped label = "slide2">
<p1> [2.0, 4.0, 1.0] </p1>
<p2> [2.0, 4.0, 2.5] </p2>
<p3> [4.5, 2.0, 1.0] </p3>
<p4> [3.0, 4.5, 1.0] </p4>
</parallelepiped>
</geom_object>

and then later:

<geom_object>
<parallelepiped label = "slide2" />
</geom_object>

(BTW, this will (should) work across components.)

M Core/GeometryPiece/NaaBoxGeometryPiece.cc

- Set the GeometryPiece name default to "unamed".
- Change method of checking "inside" to using a transform to a unit
cube.


136 lines of code changed in 6 files:

  • Packages/Uintah/Core/GeometryPiece: GeometryPieceFactory.cc (+67 -21), GeometryPieceFactory.h (+13 -1), NaaBoxGeometryPiece.cc (+33 -81), NaaBoxGeometryPiece.h (+15 -14), sub.mk (+8 -6)
dav 2006-04-03 12:06 Rev.: 33743

A GeometryPiece/NaaBoxGeometryPiece.h
A GeometryPiece/NaaBoxGeometryPiece.cc

Added "Non-access-aligned" (Naa) Geometry box. It is specified using
four points. Make sure to look in the .h file for the layout of the
points. In the .ups file, specify a box like this:

<parallelepiped label = "cube">
<p1> [1.0, 1.0, 1.0] </p1>
<p2> [1.0, 1.5, 1.0] </p2>
<p3> [1.5, 1.0, 1.0] </p3>
<p4> [1.0, 1.0, 1.5] </p4>
</parallelepiped>

M GeometryPiece/sub.mk

Added NaaBoxGeometryPiece and -lm for linking.

M GeometryPiece/BoxGeometryPiece.h
M GeometryPiece/BoxGeometryPiece.cc

A few basic cleanups.

M GeometryPiece/GeometryPieceFactory.cc

Added 'parallelepiped' geometry piece check.


292 lines of code changed in 6 files:

  • Packages/Uintah/Core/GeometryPiece: BoxGeometryPiece.cc (+1 -3), BoxGeometryPiece.h (+4 -2), GeometryPieceFactory.cc (+10 -3), NaaBoxGeometryPiece.cc (+171), NaaBoxGeometryPiece.h (+103), sub.mk (+3)
mjc 2006-03-22 16:42 Rev.: 33591

add with-tetgen option to configure, Make Module.h conform to the coding standard, and all the massive fallout from renaming variables and slots in that class

1 lines of code changed in 1 file:

  • Packages/Uintah/Core/GeometryPiece: GUVSphereShellPiece.h (+1 -1)
dav 2006-02-16 18:50 Rev.: 33291

Major update:
------------
Simplified the (XML) calls appendElement() and appendChild() by
removing the embedded newline and tab parameters. The XML outputer
(libxml2) will indent things properly without them. Also cleaned up
the ProblemSpec.cc file to remove the appendText() call which was
commented out and thus not doing anything.

Minor updates:
-------------
In some files placed the function return type on a separate line.

In StandAlone, sus requires Core/Datatypes (because of a circular
dependency that will be removed soon... however, this allows sus to
run on the SGI's for now).

Removed extra ";" from the end of MMS class constructors.

Added field name to ScalarMinMax (which I only partially checked in before).

Some restructuring of CompareMMS.cc, but it is not functional yet.

88 lines of code changed in 18 files:

  • Packages/Uintah/Core/GeometryPiece: BoxGeometryPiece.cc (+3 -3), ConeGeometryPiece.cc (+5 -5), CorrugEdgeGeomPiece.cc (+9 -9), CylinderGeometryPiece.cc (+4 -4), CylinderShellPiece.cc (+8 -8), DifferenceGeometryPiece.cc (+1 -1), FileGeometryPiece.cc (+7 -8), GUVSphereShellPiece.cc (+10 -11), GeometryObject.cc (+4 -4), IntersectionGeometryPiece.cc (+1 -1), NullGeometryPiece.cc (+1 -1), PlaneShellPiece.cc (+7 -7), SmoothCylGeomPiece.cc (+9 -9), SphereGeometryPiece.cc (+3 -3), SphereMembraneGeometryPiece.cc (+6 -6), SphereShellPiece.cc (+7 -7), TriGeometryPiece.cc (+2 -2), UnionGeometryPiece.cc (+1 -1)
jas 2006-02-03 11:53 Rev.: 33150

Write out the problemSpecification for various pieces of a material that are
needed for restarting.

495 lines of code changed in 40 files:

  • Packages/Uintah/Core/GeometryPiece: BoxGeometryPiece.cc (+10), BoxGeometryPiece.h (+3 -1), ConeGeometryPiece.cc (+11), ConeGeometryPiece.h (+2), CorrugEdgeGeomPiece.cc (+14), CorrugEdgeGeomPiece.h (+2), CylinderGeometryPiece.cc (+10), CylinderGeometryPiece.h (+75 -76), CylinderShellPiece.cc (+13), CylinderShellPiece.h (+2), DifferenceGeometryPiece.cc (+8), DifferenceGeometryPiece.h (+1), FileGeometryPiece.cc (+40 -35), FileGeometryPiece.h (+7 -5), GUVSphereShellPiece.cc (+21), GUVSphereShellPiece.h (+2), GeometryObject.cc (+48), GeometryObject.h (+93), GeometryPiece.h (+3), IntersectionGeometryPiece.cc (+11 -1), IntersectionGeometryPiece.h (+2), NullGeometryPiece.cc (+5), NullGeometryPiece.h (+2), PlaneShellPiece.cc (+13), PlaneShellPiece.h (+2), ShellGeometryPiece.h (+2), SmoothCylGeomPiece.cc (+17), SmoothCylGeomPiece.h (+2), SmoothGeomPiece.h (+1), SphereGeometryPiece.cc (+9), SphereGeometryPiece.h (+2), SphereMembraneGeometryPiece.cc (+13), SphereMembraneGeometryPiece.h (+1), SphereShellPiece.cc (+14), SphereShellPiece.h (+2), TriGeometryPiece.cc (+14 -5), TriGeometryPiece.h (+3), UnionGeometryPiece.cc (+12 -1), UnionGeometryPiece.h (+2), sub.mk (+1)
Generated by StatSVN 0.4.0