← Back to team overview

dolfin team mailing list archive

(no subject)

 

I'm not sure if this is the right forum for this question but here goes.
I am a masters student who is trying to use this package to solve Laplace's equation over a rectangular domain. When I try to compile my program, I get this error message:


error: no matching function for call to ‘dolfin::Rectangle::Rectangle(double, double, double&, double&, dolfin::uint&, dolfin::uint&, std::string&)’

/usr/include/dolfin/mesh/Rectangle.h:31: note: candidates are: dolfin::Rectangle::Rectangle(double, double, double, double, dolfin::uint, dolfin::uint, dolfin::Rectangle::Type)


I can't find anything in the documentation about Rectangle::Type. The documentation says that you need to use a std::string, which I am using. Apparently there has been a change in the rectangle class that is not documented. Can you either change the documentation or just reply and tell me how to use the Rectangle class?

Thanks

Follow ups