Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mesh adaptivity breaks with cahn-hilliard #142

Open
asartori86 opened this issue Feb 23, 2016 · 0 comments
Open

mesh adaptivity breaks with cahn-hilliard #142

asartori86 opened this issue Feb 23, 2016 · 0 comments

Comments

@asartori86
Copy link
Contributor

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.
--------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant