← Back to team overview

dolfin team mailing list archive

Re: [HG] ODE:

 

Looks great. Could we move the stabilization functionality to a
separate class, something like

class Stabilization
{
public:

  inline real damping() const { return alpha; }

  void update(...)
  {
    if ( !stabilize )
      return;  

    ...
  } 

private:

  bool stabilize;

  real alpha;
  ...

}

?

/Anders

On Wed, Nov 22, 2006 at 01:12:31PM +0100, DOLFIN wrote:
> One or more new changesets pushed to the primary DOLFIN repository.
> A short summary of the last three changesets is included below.
> 
> changeset:   2450:3356dec0ee79e29cd152e963e7d70ff56e785081
> tag:         tip
> user:        "Johan Jansson <johanjan@xxxxxxxxxxxxxxxx>"
> date:        Wed Nov 22 13:12:05 2006 +0100
> files:       src/demo/scripting/pydolfin/solvers/elasticity-updated/direct/directpde.py src/demo/scripting/pydolfin/solvers/elasticity-updated/direct/problem.py src/kernel/ode/MonoAdaptiveFixedPointSolver.cpp src/kernel/ode/dolfin/MonoAdaptiveFixedPointSolver.h src/kernel/parameter/dolfin/DefaultParameters.h
> description:
> ODE:
> 
> Implemented optional experimental fixed-point stabilization for the
> mono-adaptive case. The stabilization is not yet automated, and is
> controlled by parameters:
> 
> "ODE fixed-point stabilize"
> "ODE fixed-point stabilization m"
> "ODE fixed-point stabilization l"
> "ODE fixed-point stabilization ramp"
> 
> Need to adaptively/automatically compute these.
> 
> PyDOLFIN:
> 
> Testing stabilization in the elasticity-updated/direct demo. Looks
> promising, a factor 8 (in f() evaluations, should be the same in
> execution time) improvement over the stable limit for this problem.
> 
> Limited comparison against Newton/Krylov also wins with a factor 4-8
> for this problem.
> 
> 
> changeset:   2449:3397c02c613a449ee37c94c85c7d0918487f7001
> user:        "Kristian Oelgaard <k.b.oelgaard@xxxxxxxxxx>"
> date:        Fri Nov 17 19:24:37 2006 +0100
> files:       src/modules/plasticity/DruckerPrager.cpp src/modules/plasticity/PlasticityModel.cpp src/modules/plasticity/PlasticityProblem.cpp src/modules/plasticity/VonMises.cpp src/modules/plasticity/dolfin/DruckerPrager.h src/modules/plasticity/dolfin/PlasticityModel.h src/modules/plasticity/dolfin/VonMises.h
> description:
> renaming variables
> 
> 
> changeset:   2448:de52acef02c04ea6705c3b562e0f3925d614fd5d
> parent:      2447:d1506959318daabb265e718b7c0186de976e8da3
> parent:      2446:326f8a90121db6390843be23cc5149a73b20ac58
> user:        "Anders Logg <logg@xxxxxxxxx>"
> date:        Fri Nov 17 16:47:29 2006 +0100
> files:       
> description:
> merge
> 
> 
> ----------------------------------------------------------------------
> For more details, visit http://www.fenics.org/hg/dolfin
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev


Follow ups

References