Directory CCA/Components/MPM/Matlab/

Total Files:
10
Deleted Files:
1
Lines of Code:
1740

[root]/CCA/Components/MPM/Matlab
                    directory in repo Multilevel (5 files, 735 lines)

Lines of Code

CCA/Components/MPM/Matlab/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
harman 39 (100.0%) 4958 (100.0%) 127.1

Most Recent Commits

harman 2009-12-22 11:31 Rev.: 45223

Initial commit for multilevel amrmpm
This is just a copy of amrmpm

734 lines of code changed in 1 file:

  • CCA/Components/MPM/Matlab: ML_AMRMPM.m (new 734)
harman 2009-12-21 16:20 Rev.: 45221

pulled initialization functions out of AMRMPM.m and put them in
initializationFunctions.m


269 lines of code changed in 4 files:

  • CCA/Components/MPM/Matlab: AMRMPM.m (changed), initializationFunctions.m (new 269), initializeRegions.m (del)
harman 2009-12-21 16:19 Rev.: 45220

Changes so you can read in a file that contains the L2norm and maxError
to compute the order of accuracy

0 lines of code changed in 2 files:

  • CCA/Components/MPM/Matlab: OrderOfAccuracy.m (new)
harman 2009-12-18 16:27 Rev.: 45217

2nd order accuracy for MMS problem
A = 0.05
t_initial = 0.0
t_final = wavelength
constant resolution

95 lines of code changed in 4 files:

  • CCA/Components/MPM/Matlab: AMRMPM.m (+2 -2), MMS.m (new), initializeRegions.m (new 87)
harman 2009-12-18 11:28 Rev.: 45213

order of accuracy result for the MMS problem, PPC:2, A = 0.001
NN = [22, 46, 64, 130, 262, 514]

9 lines of code changed in 1 file:

  • CCA/Components/MPM/Matlab: OofA_MMS_baseline.dat (new 9)
harman 2009-12-17 19:07 Rev.: 45212

Now using initializeRegions()

Took out most of the hard coded code. You should be able to switch between
plots of the linear & gimp functions by changing "interpolation"

added asci-art, hopefully it's a little clearer what is going on.

0 lines of code changed in 2 files:

  • CCA/Components/MPM/Matlab: plotShapeFunctions.m (new)
harman 2009-12-17 19:02 Rev.: 45211

More informative error messages.

PositionToClosestNodes()
- Can now handle computational domains that have regions that are negative.

0 lines of code changed in 2 files:

  • CCA/Components/MPM/Matlab: shapeFunctions.m (changed)
harman 2009-12-17 19:00 Rev.: 45210

define a new region used specifically for plotShapeFunction.m

NN is now computed in initializeRegions.m

Define extra cells on the outermost regions (not used)

31 lines of code changed in 2 files:

  • CCA/Components/MPM/Matlab: AMRMPM.m (-1), initializeRegions.m (+31 -1)
harman 2009-12-16 17:56 Rev.: 45204

pulled out all of the shape functions and placed them in a separate .m file.

Something is not working correctly with plotShapeFunctions.

495 lines of code changed in 3 files:

  • CCA/Components/MPM/Matlab: AMRMPM.m (+9 -444), plotShapeFunctions.m (+30 -244), shapeFunctions.m (+456)
harman 2009-12-16 16:05 Rev.: 45203

The initial time is now a variable, t_initial.

Removed sections of debugging plots.

20 lines of code changed in 1 file:

  • CCA/Components/MPM/Matlab: AMRMPM.m (+20 -41)
harman 2009-12-16 15:54 Rev.: 45202

added debugging functions
MMS_acceleration()
MMS_dFdx()
MMS_divergenceStress()

44 lines of code changed in 1 file:

  • CCA/Components/MPM/Matlab: MMS.m (+44 -5)
harman 2009-12-10 17:07 Rev.: 45192

Restructuring:
- extForceP -> accl_extForceP
- moved all MMS related functions to MMS.m, and using function handles.

- use structures to minimize the function call lengths.

211 lines of code changed in 2 files:

  • CCA/Components/MPM/Matlab: AMRMPM.m (+67 -151), MMS.m (+144)
harman 2009-12-09 17:57 Rev.: 45190

MMS_displacment()
MMS_deformationGradient()
MMS_velocity()
MMS_bodyForce
-Now dividing all trigometric functions by h or bar_length.
- dividing h in leading equation terms.

Pull out multiplcation of the bodyForce by massP to be consistent with
interpolate particles to grid section.

This shouldn't change the answers

62 lines of code changed in 1 file:

  • CCA/Components/MPM/Matlab: AMRMPM.m (+62 -35)
harman 2009-12-03 12:27 Rev.: 45155

Cosmetics- indentation

117 lines of code changed in 1 file:

  • CCA/Components/MPM/Matlab: initializeRegions.m (+117 -117)
harman 2009-12-03 12:23 Rev.: 45154

Added plotInterval variable.

MMS: L2norm & maxError are computed on every timestep

Added vertical lines at the node locations in two of the plots.

Current answers:
[L2_norm, maxError, NN, NP]=amrmpm('mms',0.1,22)
L2_norm = 7.5877320255472670E-04
maxError = 1.0740790335386496E-03


62 lines of code changed in 1 file:

  • CCA/Components/MPM/Matlab: AMRMPM.m (+62 -36)
harman 2009-12-02 15:32 Rev.: 45150

Previous commit was only a partial commit.

moved computeDeformationGradient() & computeStress() to
just above project changes back to particles.


9 lines of code changed in 2 files:

  • CCA/Components/MPM/Matlab: AMRMPM.m (+7 -8), OrderOfAccuracy.m (+2 -2)
harman 2009-12-02 14:43 Rev.: 45149

moved computeDeformationGradient() & computeStress() to
just above project changes back to particles.


12 lines of code changed in 1 file:

  • CCA/Components/MPM/Matlab: AMRMPM.m (+12 -10)
harman 2009-12-02 11:54 Rev.: 45147

split computeStressFromVelocity function into

computeDeformationGradient()
computeStress()

in preparation for reordering the timestep (USL)

16 lines of code changed in 1 file:

  • CCA/Components/MPM/Matlab: AMRMPM.m (+16 -8)
harman 2009-12-02 11:23 Rev.: 45146

Cleanup
- moved initialization of the regions to a separate function
- removed all the debugging output for that advect problem.

188 lines of code changed in 2 files:

  • CCA/Components/MPM/Matlab: AMRMPM.m (+50 -220), initializeRegions.m (+138)
harman 2009-12-01 17:16 Rev.: 45140

Moved all matlab scripts into a Matlab directory

Added script that computes the order of accuracy by calling amrmpm()


2584 lines of code changed in 5 files:

  • CCA/Components/MPM/Matlab: AMRMPM.m (+1460), OrderOfAccuracy.m (+84), one_d_imp_mpm.m (new 394), one_d_mpm_new.m (new 339), plotShapeFunctions.m (+307)
Generated by StatSVN 0.4.0