Directory Core/Grid/BoundaryConditions/

Total Files:
29
Deleted Files:
0
Lines of Code:
5595

[root]/Core/Grid/BoundaryConditions

Lines of Code

Core/Grid/BoundaryConditions/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 103 (100.0%) 1161 (100.0%) 11.2
tsaad 55 (53.4%) 1046 (90.1%) 19.0
jas 39 (37.9%) 47 (4.0%) 1.2
harman 3 (2.9%) 38 (3.3%) 12.6
dav 2 (1.9%) 23 (2.0%) 11.5
jthornoc 4 (3.9%) 7 (0.6%) 1.7

Most Recent Commits

jthornoc 2014-09-30 16:06 Rev.: 52522

Warnings.

1 lines of code changed in 2 files:

  • Core/Grid/BoundaryConditions: BCGeomBase.h (new)
tsaad 2014-09-30 08:50 Rev.: 52515

memory leak cleanup

0 lines of code changed in 2 files:

  • Core/Grid/BoundaryConditions: BCDataArray.cc (-1)
tsaad 2014-09-29 12:43 Rev.: 52512

add a test for interior boundary conditions. cleanup a few cout statements.

1 lines of code changed in 3 files:

  • Core/Grid/BoundaryConditions: BCDataArray.cc (+1 -1), CircleBCData.cc (new)
tsaad 2014-09-29 12:07 Rev.: 52511

Add support for specifying interior boundaries through the Uintah interface. A great use of this is to attach surface boundaries to intrusions.
usage:
* To specify an interior boundary through the input file, use the <InteriorFace> xml block. This is identical to the <Face> specification used for domain boundaries. Example:
<InteriorFace ellipse="x-" origin="0.2 0.5 0.5" major_radius="0.2" minor_radius="0.05" angle="270" name="my boundary">
<BCType var="Dirichlet" label="f" value="10.0"/>
</InteriorFace>
* The minus/plus face spec will determine which cell iterator is returned. For a minus spec, the iterator will return the cells that are to the minus side of the interior boundary. The opposite is true for a plus spec
* TO access the cell iterator, use: Patch::getInteriorBndBCDataArray(Patch::FaceType face). All other access methods used domain boundaries remain the same. See Wasatch::BCHelper.cc for a great example of how to access the BC data associated with an interior boundary
* Interior boundaries currently support all boundaries supported by the existing interface (except for a side boundary - use rectangle instead): rectangle, circle, annulus, ellipse.

Limitations:
* Does NOT handle unions/differences. While support for those can be added later, there is no clear way on how to combine boundaries with different boundary conditions. Note that this limitation also applies to the current domain boundary conditions.
* Interior boundaries MUST be parallel to domain boundaries. For example, you cannot specify an inclined interior boundary.

Algorithmic details:
For a given grid resolution, the interior boundary is moved to the closest face (or layer of nodes parallel to that boundary). If the interior
boundary coincides with a cell center, then it is moved to the face side (minus/plus) that is
specified through the input file. The face side (minus/plus) determines which cell iterator is
returned. For a minus boundary, the cells on the minus side are returned. For a plus boundary,
the cells on the plus side are returned.

864 lines of code changed in 31 files:

  • Core/Grid/BoundaryConditions: AnnulusBCData.cc (+2 -1), AnnulusBCData.h (-1), BCDataArray.cc (+67 -6), BCDataArray.h (new), BCGeomBase.cc (+169 -31), BCGeomBase.h (+12 -1), BoundCondReader.cc (+479 -8), BoundCondReader.h (new), CircleBCData.cc (+7 -2), CircleBCData.h (+1 -2), DifferenceBCData.cc (+28 -28), DifferenceBCData.h (new), EllipseBCData.cc (new), EllipseBCData.h (+1 -2), RectangleBCData.cc (new), UnionBCData.cc (-5), UnionBCData.h (new)
tsaad 2014-08-27 19:23 Rev.: 52359

kill the virus that is causing the buildbot to fail. This complements my previous commit.

1 lines of code changed in 1 file:

  • Core/Grid/BoundaryConditions: BCDataArray.cc (+1 -1)
tsaad 2014-08-27 11:18 Rev.: 52357

here's another shot at fixing the boundary condition geometry objects. This is supposed to fix the leak. Note that the MPMICE burners may still fail.

18 lines of code changed in 2 files:

  • Core/Grid/BoundaryConditions: BCDataArray.cc (+17), BCGeomBase.h (+1)
tsaad 2014-08-26 08:52 Rev.: 52346

Revert "delete BCGeom objects from patches that they don't belong to. This gives us an extra level of security against using empty boundary iterators."

This reverts commit dbd3c523046bcc8ac5adf4d626b0aacab7fb838d.

0 lines of code changed in 2 files:

  • Core/Grid/BoundaryConditions: BCDataArray.cc (-16), BCGeomBase.h (-1)
tsaad 2014-08-25 13:38 Rev.: 52344

delete BCGeom objects from patches that they don't belong to. This gives us an extra level of security against using empty boundary iterators.

17 lines of code changed in 2 files:

  • Core/Grid/BoundaryConditions: BCDataArray.cc (+16), BCGeomBase.h (+1)
tsaad 2014-08-25 13:00 Rev.: 52343

1. Fix memory leak in ParticlesHelper.
2. Allow BCData to return a pointer to the BCValues to avoid a deep copy (which has caused another memory leak). getBCValues now returns a const pointer to the bc values. cloneBCValues is now used to indicate a deep copy is taking place.

Thanks to Jeremy for catching these leaks. This should fix the memory leaks in the Arches RT.

31 lines of code changed in 5 files:

  • Core/Grid/BoundaryConditions: BCData.cc (new), BCData.h (new), BCDataArray.cc (+4 -4)
dav 2014-08-22 14:43 Rev.: 52338


This is a very minor commit.

M Core/Grid/Level.h
M Core/Parallel/Parallel.h

- Fix indentation.

M Core/Grid/BoundaryConditions/BCGeomBase.h
M Core/Grid/BoundaryConditions/BCGeomBase.cc

- Fix white space, line up variables.
- Remove 'const' from several return values as it doesn't make sense and icc gives a warning.
- All arguments for determineIteratorLimits() should be const (as none of them change or return anything).
- Remove superfluous ;s after some function definitions.
- Plase "template<>" on the preceding line from "class" per standard and consistency.

23 lines of code changed in 2 files:

  • Core/Grid/BoundaryConditions: BCGeomBase.cc (+3 -3), BCGeomBase.h (+20 -16)
tsaad 2014-08-19 16:34 Rev.: 52319

allow BCGeomBase to store, compute, and return its surface area on the current patch. No reductions yet to compute total surface area across patches.

9 lines of code changed in 2 files:

  • Core/Grid/BoundaryConditions: BCGeomBase.cc (+6 -1), BCGeomBase.h (+3)
tsaad 2014-08-18 13:50 Rev.: 52313

This commit provides support for adding particles through boundaries using the ParticlesHelper and classic Uintah BC machinery. You will need to invoke two key functionalities in the ParticlesHelper:
(1) ParticlesHelper::needs_boundary_condition: a static function call to add the variables that require a boundary condition. These are the transported particle variables such as velocity, mass, size...
(2) ParticlesHelper::schedule_add_particles: make sure you call that AFTER ParticlesHelper::schedule_particle_relocation. This will add particles on a boundary as specified through the input file. The particles are placed randomly in the first interior cell of the domain, at the required boundary (circle, rectangle, face...).
We currently only support constant boundary values for the remaining particle variables. Support for other distribution will follow in the near future as I'd like it to provide a unified and easy to use interface through the input file.

2 lines of code changed in 1 file:

  • Core/Grid/BoundaryConditions: BoundCondReader.cc (+2 -2)
tsaad 2014-08-13 12:36 Rev.: 52300

Add support for specifying boundary condition on Particles through the Uintah BC interface. This will set the stage for specifying particle injection through boundaries.
(1) Add appropriate ups_spec for Particle boundary conditions
(2) Add a struct to BCGeomBase to store particle-related specification
(3) propagate this information through Wasatch
(4) Add support for inelastic and partially elastic walls in Wasatch

103 lines of code changed in 4 files:

  • Core/Grid/BoundaryConditions: BCDataArray.h (+3 -1), BCGeomBase.cc (+3), BCGeomBase.h (+69 -5), BoundCondReader.cc (+28 -1)
jas 2014-07-28 22:15 Rev.: 52206

Fix memory leak.

18 lines of code changed in 1 file:

  • Core/Grid/BoundaryConditions: BoundCondReader.cc (+18 -7)
jthornoc 2014-07-10 19:48 Rev.: 52139

Reversing the previous delete. This was causing segfaults in other
tests. However, valgrind is reporting it still as a "leak". I believe
the RT will as well.

Cleaning up some memory issues in other parts of Arches.

1 lines of code changed in 1 file:

  • Core/Grid/BoundaryConditions: BoundCondReader.cc (+1 -1)
jthornoc 2014-07-10 19:48 Rev.: 52138

Cleaning up memory errors.

5 lines of code changed in 1 file:

  • Core/Grid/BoundaryConditions: BoundCondReader.cc (+5 -2)
harman 2014-03-13 12:27 Rev.: 51635

is_BC_specified()
-fixed copy paste error when checking if both a periodic BC and a normal BC has been specified

0 lines of code changed in 2 files:

  • Core/Grid/BoundaryConditions: BCUtils.cc (changed)
jas 2014-01-16 00:47 Rev.: 51467

Updated copyright information.

29 lines of code changed in 38 files:

  • Core/Grid/BoundaryConditions: AnnulusBCData.cc (+1 -1), AnnulusBCData.h (+1 -1), BCData.cc (+1 -1), BCData.h (+1 -1), BCDataArray.cc (+1 -1), BCDataArray.h (+1 -1), BCGeomBase.cc (+1 -1), BCGeomBase.h (+1 -1), BCUtils.cc (+1 -1), BCUtils.h (+1 -1), BoundCond.h (+1 -1), BoundCondBase.h (new), BoundCondFactory.cc (new), BoundCondFactory.h (new), BoundCondReader.cc (+1 -1), BoundCondReader.h (+1 -1), CircleBCData.cc (+1 -1), CircleBCData.h (+1 -1), DifferenceBCData.cc (+1 -1), DifferenceBCData.h (+1 -1), EllipseBCData.cc (+1 -1), EllipseBCData.h (+1 -1), RectangleBCData.cc (+1 -1), RectangleBCData.h (new), SideBCData.cc (new), SideBCData.h (+1 -1), UnionBCData.cc (+1 -1), UnionBCData.h (+1 -1), sub.mk (new)
harman 2014-01-14 17:20 Rev.: 51464

is_BC_specified() & BC_bulletproofing()
fixed flawed logic when circles/rectangles/annulus were
used in conjunction with a side.

38 lines of code changed in 1 file:

  • Core/Grid/BoundaryConditions: BCUtils.cc (+38 -24)
Generated by StatSVN 0.7.0