[Dune] Yet another small question on FieldVectors

Markus Blatt Markus.Blatt at iwr.uni-heidelberg.de
Wed Jul 29 11:05:40 CEST 2009


Hi,

RTFM

http://www.dune-project.org/doc/doxygen/html/classDune_1_1FieldVector.html

A*=b
is what you are looking for, isn't it?

Next time please first consult the documentation.

Cheers,

Markus

On Wed, Jul 29, 2009 at 10:40:16AM +0200, Aleksejs Fomins wrote:
> Dear Sirs,
> 
> As can be inferred from the Dune manual
> http://www.dune-project.org/doc/doxygen/dune-common-html/classDune_1_1FieldVector.html
> there is no multiplication by scalar operation for FieldVectors (like A 
> * b, where A-vector, b-scalar).
> 
> I know there is always a possibility to multiply each component by a scalar.
> I was wondering whether there is a more elegant way to do this.
> 
> 
> Kind regards,
> Aleksejs Fomins
> 
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
> 




More information about the Dune mailing list