On Wed, Aug 12, 2015 at 10:08 AM, Roy Stogner <[email protected]>
wrote:

>
> On Wed, 12 Aug 2015, David Knezevic wrote:
>
> /home/dknez/software/libmesh-src/src/base/dof_map_constraints.C:827:42:
>> error: conversion from 'int' to non-scalar type 'OutputNumber {aka
>> libMesh::VectorValue<std::complex<double> >}' requested
>>                    OutputNumber fineval = 0;
>>
>> It wasn't obvious to me how to fix this.
>>
>
> Try changing 0 to 0.0?  Then add // necessary for complex
> or some other comment to prevent me from breaking it again in the
> future?
>


hmm, I still get errors:

/home/dknez/software/libmesh-src/src/base/dof_map_constraints.C: In
instantiation of 'void
{anonymous}::ConstrainDirichlet::apply_dirichlet_impl(const
ConstElemRange&, unsigned int, const libMesh::Variable&, const
libMesh::FEType&) const [with OutputType = libMesh::VectorValue<double>;
libMesh::ConstElemRange =
libMesh::StoredRange<libMesh::MeshBase::const_element_iterator, const
libMesh::Elem*>]':
/home/dknez/software/libmesh-src/src/base/dof_map_constraints.C:977:87:
required from here
/home/dknez/software/libmesh-src/src/base/dof_map_constraints.C:705:42:
error: conversion from 'double' to non-scalar type 'OutputNumber {aka
libMesh::VectorValue<std::complex<double> >}' requested
                   OutputNumber fineval = 0.0; // 0.0 required for
--enable-complex
                                          ^
/home/dknez/software/libmesh-src/src/base/dof_map_constraints.C:827:42:
error: conversion from 'double' to non-scalar type 'OutputNumber {aka
libMesh::VectorValue<std::complex<double> >}' requested
                   OutputNumber fineval = 0.0; // 0.0 required for
--enable-complex


Also, there's an error on line 282:

 libMesh::FEMContext*, unsigned int, const libMesh::Point&, libMesh::Real)':
/home/dknez/software/libmesh-src/src/base/dof_map_constraints.C:282:55:
error: could not convert 'std::numeric_limits<double>::quiet_NaN()' from
'double' to 'libMesh::Gradient {aka
libMesh::VectorValue<std::complex<double> >}'
           return std::numeric_limits<Real>::quiet_NaN();

I can fix that one by changing Real to Number.



Let me try a complex build and see what else might be failing.
>


I think that'd be helpful, thanks.

Dave
------------------------------------------------------------------------------
_______________________________________________
Libmesh-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to