dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #03821
Re: [HG] ODE:
On Fri, Nov 24, 2006 at 11:09:31PM +0100, Anders Logg wrote:
> 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
>
Sure, good idea.
Johan
References