Directory Core/Math/

Total Files:
53
Deleted Files:
6
Lines of Code:
9457

[root]/Core/Math
            directory in repo TntJama (26 files, 7810 lines)
            directory in repo doc (3 files, 99 lines)

Lines of Code

Core/Math/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 176 (100.0%) 410 (100.0%) 2.3
harman 4 (2.3%) 200 (48.8%) 50.0
jas 149 (84.7%) 156 (38.0%) 1.0
ahumphrey 20 (11.4%) 30 (7.3%) 1.5
dav 3 (1.7%) 24 (5.9%) 8.0

Most Recent Commits

ahumphrey 2016-06-21 13:57 Rev.: 55453

Redirect all MPI calls through the lightweight wrapper (header only)

This allows for standardized error checking and easy collection of runtime stats. All MPI funtions can be called from the wrapper by replacing:

MPI_ with Uintah::MPI::
e.g.
Uintah::MPI::Isend(...)
Uintah::MPI::Reduce(...)

Also enables MPI3 wrappers when MPI3 is available and protects against these when not. Will want MPI3 for non-blocking collectives. MPI3 is availalbe on Mira but not Titan yet.

* Note src/scripts/wrap_mpi_calls.sh has been added to the src tree. This has the sed foo to do this replacement src tree-wide.

* Have tested this with OpenMPI, MPICH, IntelMPI and also built on Titan and Mira.

4 lines of code changed in 4 files:

  • Core/Math: Matrix3.cc (new), Short27.cc (new)
dav 2016-06-16 19:19 Rev.: 55450

Minor cleanups.

M CCA/Components/Schedulers/OnDemandDataWarehouse.h

- Fix a few compiler warnings...

M Core/Math/MersenneTwister.h

- "register" keyword is deprecated and spews compiler warnings (and
according to google the compiler just ignores it anyway).

M Core/Util/sci_system.cc

- Coding standard requires {} around if clauses, even if they are only one line. This
helps avoid future errors.

M StandAlone/tools/puda/puda.cc

- usage() kills the program, so need to "return" after it.
- Add "return 0" to end of main if everything works successfully.


22 lines of code changed in 2 files:

  • Core/Math: MersenneTwister.h (new)
ahumphrey 2016-06-14 21:26 Rev.: 55445

Revert -r55443, until folks can get compilers upgraded and buildbot MPI is updated.

4 lines of code changed in 2 files:

  • Core/Math: Matrix3.cc (+2 -2), Short27.cc (+2 -2)
ahumphrey 2016-06-14 13:47 Rev.: 55443

Redirect all MPI calls through the lightweight wrapper (header only)

This allows for standardized error checking and easy collection of runtime stats. All MPI funtions can be called from the wrapper by replacing:

MPI_ with Uintah::MPI::
e.g.
Uintah::MPI::Isend(...)
Uintah::MPI::Reduce(...)

Also enables MPI3 wrappers when MPI3 is available and protects against these when not. Will want MPI3 for non-blocking collectives. MPI3 is availalbe on Mira but not Titan yet.

* Note src/scripts/wrap_mpi_calls.sh has been added to the src tree. This has the sed foo to do this replacement src tree-wide.

* Have tested this with OpenMPI, MPICH, IntelMPI and also built on Titan and Mira.

4 lines of code changed in 2 files:

  • Core/Math: Matrix3.cc (+2 -2), Short27.cc (+2 -2)
ahumphrey 2016-06-13 11:46 Rev.: 55440

Replace usage of NULL macro (type int) with nullptr (pointer literal of type: nullptr_t).

nullptr is implicitly convertible and comparable to any pointer type or pointer-to-member type, but is not implicitly comparable to integral types, except that it is convertible to bool (explicitly).

9 lines of code changed in 4 files:

  • Core/Math: Matrix3.cc (+5 -5), Matrix3.h (+3 -3), MersenneTwister.h (+1 -1)
ahumphrey 2016-06-10 12:31 Rev.: 55430

Revert r55429.

Still having an MPICH/OpenMPI compatibility problem.

4 lines of code changed in 2 files:

  • Core/Math: Matrix3.cc (+2 -2), Short27.cc (+2 -2)
ahumphrey 2016-06-10 11:38 Rev.: 55429

Redirect all MPI calls through the lightweight wrapper (header only)

This allows for standardized error checking and easy collection of runtime stats. All MPI funtions can be called from the wrapper by replacing:

MPI_ with Uintah::MPI::
e.g.
Uintah::MPI::Isend(...)
Uintah::MPI::Reduce(...)

Also enables MPI3 wrappers when MPI3 is available and protects against these when not. Will want MPI3 for non-blocking collectives. MPI3 is availalbe on Mira but not Titan yet.

* Note src/scripts/wrap_mpi_calls.sh has been added to the src tree. This has the sed foo to do this replacement src tree-wide.

4 lines of code changed in 2 files:

  • Core/Math: Matrix3.cc (+2 -2), Short27.cc (+2 -2)
ahumphrey 2016-06-07 09:19 Rev.: 55420

Removal of src/Core/Thread and related refactoring throughout the code-base.

This is the first step in a series of infrastrucutre overhauls to modernize Uintah. Though this all passes local RT (both CPU and GPU tests), I expect some fallout we haven't considered and will be standing by to deal with any issues. Once the dust settles, we will move to replacing Core/Malloc with jemalloc.

* We are now using the standard library for all multi-threading needs within the infrastructure, e.g. std::atomic, std::thread, std::mutex, etc.

* The Unified Scheduler is now the only multi-threaded scheduler, e.g. ThreadedMPIScheduler no longer exists (though the source will soon be placed into an attic).

* Threads spawned by the Unified Scheduler are detached by default (not joinable), allowing for easy, clean and independent execution. There are no longer ConditionVariables used to signal worker threads, just a simple enum for thread-state.

* What was Core/Thread/Time.* is now Core/Util/Time.* - a next step will be to migrate all internal timers, etc to use std::chrono.

* NOTE: Though much cleanup has occurred with this commit, there is still significant cleanup and formatting to be done. The scope of this commit neccessitates a more incremental approach.

1 lines of code changed in 4 files:

  • Core/Math: Rand48.cc (new), sub.mk (new)
harman 2016-03-30 16:35 Rev.: 55147

Expon.cc/h
- added several approximate and fast exponential functions. Consider using these if
there is an exp() in the inner most loop and you don't need 16 digits of precision.
They are best suited for arguments -1 < x < 1.

RMCRT:
- Added machinery to utilize the fast exponent methods. Currently, disabled. We need to
characterize the range of the optical thickness before we can take advantage of them. Preliminary,
tests show a speedup of 1.4 - 1.7 for the Burns & Christon problem while maintaininig ray
convergence.

200 lines of code changed in 4 files:

  • Core/Math: Expon.cc (new 60), Expon.h (+139 -1), sub.mk (+1)
dav 2016-03-17 14:51 Rev.: 55061


With the removal of the SCIRun namespace, there were a number of
places where 'SCIRun::' was replaced with 'Uintah::'. However,
some of these were already inside of the "using namespace Uintah {"
sections which causes the icc compiler to emit 1000s of warnings.
I have removed the "Uintah::" from these locations. Basically
this is a purely cosmetic update to remove warnings.

2 lines of code changed in 1 file:

  • Core/Math: Matrix3.h (+2 -4)
jas 2016-03-15 18:26 Rev.: 55035

Remove old SCIRun TypeDescription and all traces of the SCIRun namespace.

0 lines of code changed in 3 files:

  • Core/Math: Matrix3.cc (-10), Matrix3.h (-6), Short27.cc (-14)
jas 2016-03-15 18:25 Rev.: 55032

Remove unused classes.

0 lines of code changed in 7 files:

  • Core/Math: CubicPWI.cc (del), CubicPWI.h (del), LinearPWI.cc (del), LinearPWI.h (del), PiecewiseInterp.cc (del), PiecewiseInterp.h (del), sub.mk (-3)
jas 2016-03-15 18:25 Rev.: 55030

Simplify the SCIRun TypeDescription class.

2 lines of code changed in 2 files:

  • Core/Math: Matrix3.cc (+1 -6), Short27.cc (+1 -6)
jas 2016-03-15 18:25 Rev.: 55028

Remove Persistent class and all references to it.

1 lines of code changed in 1 file:

  • Core/Math: sub.mk (+1 -2)
jas 2016-03-15 18:25 Rev.: 55027

Remove CompGeom class.

0 lines of code changed in 1 file:

  • Core/Math: sub.mk (-2)
jas 2016-03-15 18:25 Rev.: 55026

Remove Transform class and PersistentSTL.

0 lines of code changed in 1 file:

  • Core/Math: sub.mk (-2)
jas 2016-03-15 18:25 Rev.: 55025

Remove persistent I/O calls from various classes.

2 lines of code changed in 5 files:

  • Core/Math: Matrix3.cc (-9), Matrix3.h (+1 -3), Short27.cc (-15), Short27.h (new)
jas 2016-03-15 18:24 Rev.: 55024

Move non-conflicting classes that were in SCIRun namespace to Uintah namespace.

93 lines of code changed in 43 files:

  • Core/Math: CatmullRomSpline.h (+4 -4), CubicPWI.cc (new 2), CubicPWI.h (new 2), Expon.h (+1 -1), FastMatrix.cc (-1), FastMatrix.h (+2 -2), Gaussian.cc (+2 -2), Gaussian.h (new), LinearPWI.cc (new 2), LinearPWI.h (new 2), Matrix3.cc (+25 -26), Matrix3.h (+11 -5), MinMax.h (+2 -2), MiscMath.cc (+2 -2), MiscMath.h (new), PiecewiseInterp.cc (new 2), PiecewiseInterp.h (new 2), Primes.cc (new), Short27.cc (+17 -12), Short27.h (+2 -7), StaticObjectArray.h (-1), SymmMatrix3.cc (new), SymmMatrix3.h (new), Weibull.cc (new), Weibull.h (+2 -2), sci_lapack.cc (new), sci_lapack.h (new)
jas 2016-01-08 15:45 Rev.: 54640

Update copyright date to 2016.

58 lines of code changed in 86 files:

  • Core/Math: CatmullRomSpline.h (+1 -1), CubeRoot.cc (new), CubeRoot.h (new), CubicPWI.cc (+1 -1), CubicPWI.h (+1 -1), CubicPolyRoots.cc (+1 -1), CubicPolyRoots.h (new), Expon.h (+1 -1), FastMatrix.cc (+1 -1), FastMatrix.h (+1 -1), Gaussian.cc (+1 -1), Gaussian.h (+1 -1), LinAlg.c (new), LinAlg.h (new), LinearPWI.cc (+1 -1), LinearPWI.h (+1 -1), Mat.c (+1 -1), Mat.h (+1 -1), Matrix3.cc (+1 -1), Matrix3.h (+1 -1), MersenneTwister.h (+1 -1), MinMax.h (+1 -1), MiscMath.cc (+1 -1), MiscMath.h (+1 -1), MusilRNG.cc (+1 -1), MusilRNG.h (+1 -1), PiecewiseInterp.cc (+1 -1), PiecewiseInterp.h (+1 -1), Primes.cc (+1 -1), Primes.h (+1 -1), Rand48.cc (+1 -1), Rand48.h (+1 -1), Short27.cc (+1 -1), Short27.h (+1 -1), Sparse.cc (new), Sparse.h (+1 -1), StaticNumberArray.h (new), StaticObjectArray.h (+1 -1), SymmMatrix3.cc (+1 -1), SymmMatrix3.h (+1 -1), TangentModulusTensor.cc (+1 -1), TangentModulusTensor.h (new), Tensor.h (+1 -1), Tensor2D.h (+1 -1), Tensor4D.h (+1 -1), Trig.h (new), TrigTable.cc (+1 -1), TrigTable.h (new), UintahMiscMath.h (+1 -1), Weibull.cc (+1 -1), Weibull.h (+1 -1), fft.c (new), fft.h (new), sci_lapack.cc (+1 -1), sci_lapack.h (+1 -1), ssmult.c (new), ssmult.h (new), sub.mk (+1 -1)
Generated by StatSVN 0.7.0