← Back to team overview

dolfin team mailing list archive

Vector and uBlasVector

 

I've cloned the latest repository of dolfin. I'm compiling my code against
it but I'm not able to solve the following errors:

ElasticityUpdatedSolver.cpp:41: error: no matching function for call to
'dolfin::Function::Function(dolfin::Mesh&, dolfin::uBlasVector&,
dolfin::Form&, int)'
../../../src/kernel/function/dolfin/Function.h:63: note: candidates are:
dolfin::Function::Function(const dolfin::Function&)
../../../src/kernel/function/dolfin/Function.h:60: note:                
dolfin::Function::Function(std::string)
../../../src/kernel/function/dolfin/Function.h:57: note:                
dolfin::Function::Function(dolfin::SubFunction)
../../../src/kernel/function/dolfin/Function.h:54: note:                
dolfin::Function::Function(dolfin::Mesh&, dolfin::Vector&, const
dolfin::Form&, dolfin::uint)
../../../src/kernel/function/dolfin/Function.h:51: note:                
dolfin::Function::Function(dolfin::Mesh&, dolfin::real)
../../../src/kernel/function/dolfin/Function.h:48: note:                
dolfin::Function::Function(dolfin::Mesh&)
../../../src/kernel/function/dolfin/Function.h:45: note:                
dolfin::Function::Function()

ElasticityUpdatedSolver.cpp:203: error: 'class dolfin::Vector' has no
member named 'copy'
ElasticityUpdatedSolver.cpp:204: error: 'class dolfin::Vector' has no
member named 'copy'
ElasticityUpdatedSolver.cpp:207: error: 'class dolfin::Vector' has no
member named 'axpy'

It seems that dolfin sees the class Vector as incompatible with
uBlasVector. What can I do to fix this in my code? Thanks.

Regards,
Alessio Quaglino



Follow ups