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

cookbooks/composition-active-tracers.prm fails #1376

Closed
tjhei opened this issue Feb 13, 2017 · 4 comments
Closed

cookbooks/composition-active-tracers.prm fails #1376

tjhei opened this issue Feb 13, 2017 · 4 comments

Comments

@tjhei
Copy link
Member

tjhei commented Feb 13, 2017

Exception on processing:

--------------------------------------------------------
An error occurred in line <151> of file <../source/particle/world.cc> in function
    const std::multimap<types::LevelInd, Particle<dim> > &aspect::Particle::World<2>::get_ghost_particles() const [dim = 2]
The violated condition was:
    update_ghost_particles == true
Additional information:
    A part of the model has requested access to the ghost particles, but the parameter 'Update ghost particles' has not been set, therefore no ghost particles are available.

@gassmoeller is it okay to set this to true? I wonder why you query ghost particles even without running in parallel...

@gassmoeller
Copy link
Member

This should not happen. source/particle/interpolator/cell_average.cc:41 can be skipped in serial computations, the code paths that need the ghost particles will never be reached in this case (there are no ghost cells). Feel free to fix that, or I will do in a bit (currently working on #1329).

@gassmoeller
Copy link
Member

Additionally we will also need to set the input parameter. The parameter was added after the introduction of the cookbook.

@tjhei
Copy link
Member Author

tjhei commented Feb 14, 2017

Can you do that please? I have a bunch of other small fixes coming.

@gassmoeller
Copy link
Member

Sure, no problem. See #1377.

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

2 participants