Dear Rochan,

This sounds like a bug to me, but I must admit that I have no good guesses as 
to where the problem might be located. Would you be able to come up with a 
minimal working example that illustrates the issue so that we can try to 
determine the source of the problem? Also, what version of deal.II are you 
using?

Best,
Jean-Paul 

> On 27 Oct 2018, at 16:27, Rochan Upadhyay <[email protected]> wrote:
> 
> Dear dealii-users,
> 
> I am having an issue interpolating functions (defined via expressions) into a 
> PETScWrappers::MPI::BlockVector
> 
> The expressions are ordered according to component. But when setting up the 
> system I change to 
> DoFRenumbering::subdomain_wise (dof_handler); 
> to be able to use contiguous rows and columns.
> 
> Then later executing the calls:
> 
> initial_conditions.initialize(FunctionParser<dim>::default_variable_names(), 
> initial_conditions_strings, std::map<std::string, double>());
> VectorTools::interpolate (dof_handler, initial_conditions, solution_old);
> mixes up the values for each of the solution blocks.
> 
> The above problem does not exist if I renumber by component, i.e.
> DoFRenumbering::component_wise(dof_handler);
> but that is not how I want to renumber. It seems a silly problem but I cannot 
> find any examples or documentation on how to overcome
> this issue.
> 
> Any help will be appreciated.
> 
> Regards,
> 
> 
> -- 
> The deal.II project is located at http://www.dealii.org/ 
> <http://www.dealii.org/>
> For mailing list/forum options, see 
> https://groups.google.com/d/forum/dealii?hl=en 
> <https://groups.google.com/d/forum/dealii?hl=en>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "deal.II User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to