← Back to team overview

ffc team mailing list archive

Re: [DOLFIN-dev] Heat: [...]

 

ok, it seems natural to implement .dt() similarly to .dx() and then
adding Dt() as an alternative notation corresponding to D( ,i) for
space derivatives.

To begin with, only time derivatives of basis functions will be
allowed (not of functions or other expressions).

/Anders

On Thu, Nov 03, 2005 at 09:32:12AM +0100, Johan Hoffman wrote:

> Since we have derivatives with respect to both x and t, I think it may be
> a good idea to have the t explicit: Dt(u) or maybe u.dt() ?
> 
> /Johan
> 
> 
> > It looks good:
> >
> >     a = u * v * dx
> >     L = (-dot(grad(u1), grad(v)) + f * v) * dx
> >
> > It's pretty close to what we want to have eventually:
> >
> >     a = Dt(u) * v * dx
> >     L = (-dot(grad(u1), grad(v)) + f * v) * dx
> >
> > Is Dt() a good choice? I would have liked to overload ' so one could
> > write
> >
> >     a = u' * v * dx
> >
> > but that does not seem to be possible.
> >
> > /Anders
> >
> > On Wed, Nov 02, 2005 at 06:02:31PM +0100, dolfin@xxxxxxxxxx wrote:
> >> Commit from johanjan (2005-11-02 18:02 CET)
> >> --------------------
> >>
> >> Heat:
> >>
> >> Add mass matrix (lumped for now). Use dG(0). Cleanups.
> >>
> >>   dolfin  src/modules/heat/HeatSolver.cpp       1.10
> >>   dolfin  src/modules/heat/dolfin/Heat.form     1.2
> >>   dolfin  src/modules/heat/dolfin/Heat.h        1.2
> >>   dolfin  src/modules/heat/dolfin/HeatSolver.h  1.4
> >>   dolfin  src/demo/solvers/heat/main.cpp        1.8
> >>
> >> _______________________________________________
> >> DOLFIN-dev mailing list
> >> DOLFIN-dev@xxxxxxxxxx
> >> http://www.fenics.org/cgi-bin/mailman/listinfo/dolfin-dev
> >>
> >
> >
> > _______________________________________________
> > DOLFIN-dev mailing list
> > DOLFIN-dev@xxxxxxxxxx
> > http://www.fenics.org/cgi-bin/mailman/listinfo/dolfin-dev
> >
> 
> 
> 
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/cgi-bin/mailman/listinfo/dolfin-dev
> 

-- 
Anders Logg
Research Assistant Professor
Toyota Technological Institute at Chicago
http://www.tti-c.org/logg/



Follow ups