[deal.II] Re: Initialising vector solution for mixed formulation problem

2018-05-10 Thread Daniel Arndt
Jane, > the error i was getting was: > > void dealii::VectorTools::interpolate(const Mapping &, > const DoFHandlerType &, const Function VectorType::value_type> &, VectorType &, const dealii::ComponentMask &) > [dim = 2, spacedim = 2,

[deal.II] Re: Initialising vector solution for mixed formulation problem

2018-05-10 Thread Jane Lee
Hi Daniel, Thanks for your reply, the error i was getting was: void dealii::VectorTools::interpolate(const Mapping &, const DoFHandlerType &, const Function &, VectorType &, const dealii::ComponentMask &) [dim = 2,

[deal.II] Re: Initialising vector solution for mixed formulation problem

2018-05-07 Thread Daniel Arndt
Jane, [...] > > Now, > VectorTools::interpolate(dof_handler, exact_solution, solution); > > gives me a dimension mismatch error - I'm assuming that this is due to the > fact that RT elements can't distinguish between the x and y components. > I would expect that RT elements are not