On Thu, 20 Nov 2014 14:22:19 +0100
Martin Sandve Alnæs <[email protected]> wrote:

> That's correct, I extended Scalar to work properly in parallel to fix
> that bug.
> 
> I think I found the idea of "operator double" dubious because it will
> now involve MPI communication. It's only used from inside the
> assembler.

operator double() does not seem to require communication, see
get_scalar_value.

Jan

> 
> The function get_scalar_value is public mainly to keep the tests
> working, as I discovered unit tests that didn't work before.
> 
> Martin
> 
> On 20 November 2014 14:18, Jan Blechta <[email protected]>
> wrote:
> 
> > Maybe because of this
> > https://bitbucket.org/fenics-project/dolfin/issue/388/scalar-apply-is-wrong
> >
> > Jan
> >
> >
> > On Thu, 20 Nov 2014 14:12:36 +0100
> > Anders Logg <[email protected]> wrote:
> >
> > > When was this added to Scalar and when/why was conversion to
> > > double removed?
> > >
> >
> > _______________________________________________
> > fenics mailing list
> > [email protected]
> > http://fenicsproject.org/mailman/listinfo/fenics
> >

_______________________________________________
fenics mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics

Reply via email to