Skip to content

mesh adaptivity breaks with cahn-hilliard #142

@asartori86

Description

@asartori86

If I try to refine mesh during transients in the cahn-hilliard example I got this error after a refinement

--------------------------------------------------------
An error occurred in line <468> of file <../source/numerics/solution_transfer.cc> in function
    void dealii::SolutionTransfer<dim, VectorType, DoFHandlerType>::interpolate(const std::vector<index_type, std::allocator<_T2> >&, std::vector<index_type, std::allocator<_T2> >&) const [with int dim = 2; VectorType = dealii::BlockVector<double>; DoFHandlerType = dealii::DoFHandler<2>]
The violated condition was: 
    !cell->has_children()
The name and call sequence of the exception was:
    ExcInternalError()
Additional Information: 
This exception -- which is used in many places in the library -- usually indicates that some condition which the author of the code thought must be satisfied at a certain point in an algorithm, is not fulfilled. An example would be that the first part of an algorithm sorts elements of an array in ascending order, and a second part of the algorithm later encounters an an element that is not larger than the previous one.

There is usually not very much you can do if you encounter such an exception since it indicates an error in deal.II, not in your own program. Try to come up with the smallest possible program that still demonstrates the error and contact the deal.II mailing lists with it to obtain help.
--------------------------------------------------------

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions