Trying to transfer solutions from an old grid to a new grid with 
parallel::distributed::SolutionTransfer<dim, TrilinosWrappers::MPI::Vector, 
DoFHandler<dim>> solution_transfer() and 
solution_transfer.prepare_for_coarsening_and_refinement() fails with 
An error occurred in line <71> of file <~/Downloads/git-files/dealii/source/
fe/fe_bernstein.cc> in function
    const dealii::FullMatrix<double>& dealii::FE_Bernstein<dim, spacedim>::
get_restriction_matrix(unsigned int, const dealii::RefinementCase<dim>&) 
const [with int dim = 2; int spacedim = 2]
The violated condition was: 
    false
Additional information: 
    You are trying to access the matrices that describe how to restrict a 
finite element function from the children of one cell to the finite element 
space defined on their parent (i.e., the 'restriction' or 'projection' 
matrices). However, the current finite element can either not define this 
sort of operation, or it has not yet been implemented.


Which function do I have to modify to make that work?
Thanks!

-- 
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 dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/1489fb1a-25f1-4eaa-9cb4-69b4964cf7ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to