[dune-pdelab] Instationary heat equation

conf86 at web.de conf86 at web.de
Sat Jul 18 14:28:12 CEST 2015


> Try putting gradu*gradphi[i] in parenthesis, like so
> 
> | 	  r.accumulate(lfsu, i, (a * (gradu*gradphi[i]) - f * phi[i]) * factor);
> 
> Otherwise you'd need the operation "scalar * vector", which historically has
> been missing for efficiency reasons.

Thanks a lot! Now it works.

Best regards


> Regards,
> Jö.
> 
> -- 
> Jorrit (Jö) Fahlke, Institute for Computational und Applied Mathematics,
> University of Münster, Orleans-Ring 10, D-48149 Münster
> Tel: +49 251 83 35146 Fax: +49 251 83 32729
> 
> Kiss a non-smoker; taste the difference.
> -- fortune
>




More information about the dune-pdelab mailing list