← Back to team overview

dolfin team mailing list archive

Re: Heat: [...]

 

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
>>
>
> --
> Anders Logg
> Research Assistant Professor
> Toyota Technological Institute at Chicago
> http://www.tti-c.org/logg/
>
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/cgi-bin/mailman/listinfo/dolfin-dev
>





Follow ups

References