The errors I got are below. It works fine for me without complex numbers.

David



   CXX      src/systems/libmesh_opt_la-fem_context.lo
src/systems/fem_context.C: In member function 'void 
libMesh::FEMContext::interior_gradients(unsigned int, const 
libMesh::NumericVector<std::complex<double> >&, std::vector<typename 
libMesh::FEGenericBase<OutputShape>::OutputNumberGradient>&) const [with 
OutputShape = double, typename 
libMesh::FEGenericBase<OutputShape>::OutputNumberGradient = 
libMesh::VectorValue<std::complex<double> >]':
src/systems/fem_context.C:1636:109:   instantiated from here
src/systems/fem_context.C:342:25: error: invalid initialization of 
reference of type 'libMesh::FEGenericBase<double>::OutputGradient& {aka 
libMesh::VectorValue<double>&}' from expression of type 
'libMesh::VectorValue<std::complex<double> >'
src/systems/fem_context.C:1636:109:   instantiated from here
src/systems/fem_context.C:348:2: error: no matching function for call to 
'libMesh::VectorValue<double>::add_scaled(const 
libMesh::VectorValue<double>&, std::complex<double>)'
src/systems/fem_context.C:348:2: note: candidate is:
./include/libmesh/type_vector.h:156:8: note: template<class T2> void 
libMesh::TypeVector::add_scaled(const libMesh::TypeVector<T2>&, T) [with 
T2 = T2, T = double]
src/systems/fem_context.C: In member function 'void 
libMesh::FEMContext::interior_gradients(unsigned int, const 
libMesh::NumericVector<std::complex<double> >&, std::vector<typename 
libMesh::FEGenericBase<OutputShape>::OutputNumberGradient>&) const [with 
OutputShape = libMesh::VectorValue<double>, typename 
libMesh::FEGenericBase<OutputShape>::OutputNumberGradient = 
libMesh::TensorValue<std::complex<double> >]':
src/systems/fem_context.C:1639:125:   instantiated from here
src/systems/fem_context.C:342:25: error: invalid initialization of 
reference of type 'libMesh::FEGenericBase<libMesh::VectorValue<double> 
 >::OutputGradient& {aka libMesh::TensorValue<double>&}' from expression 
of type 'libMesh::TensorValue<std::complex<double> >'
src/systems/fem_context.C:1639:125:   instantiated from here
src/systems/fem_context.C:348:2: error: no matching function for call to 
'libMesh::TensorValue<double>::add_scaled(const 
libMesh::TensorValue<double>&, std::complex<double>)'
src/systems/fem_context.C:348:2: note: candidate is:
./include/libmesh/type_tensor.h:190:8: note: template<class T2> void 
libMesh::TypeTensor::add_scaled(const libMesh::TypeTensor<T2>&, T) [with 
T2 = T2, T = double]
make[1]: *** [src/systems/libmesh_opt_la-fem_context.lo] Error 1
make[1]: Leaving directory `/home/dknez/software/libmesh-src'
make: *** [all-recursive] Error 1


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Libmesh-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to