On Thu, 20 Nov 2014 14:22:19 +0100
Martin Sandve Alnæs <marti...@simula.no> 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 <blec...@karlin.mff.cuni.cz>
> 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 <l...@chalmers.se> wrote:
> >
> > > When was this added to Scalar and when/why was conversion to
> > > double removed?
> > >
> >
> > _______________________________________________
> > fenics mailing list
> > fenics@fenicsproject.org
> > http://fenicsproject.org/mailman/listinfo/fenics
> >

_______________________________________________
fenics mailing list
fenics@fenicsproject.org
http://fenicsproject.org/mailman/listinfo/fenics

Reply via email to