Ease the way to use base interpolation schemes for particle interpolators - #7288
Open
Theo-Geo wants to merge 2 commits into
Open
Ease the way to use base interpolation schemes for particle interpolators#7288Theo-Geo wants to merge 2 commits into
Theo-Geo wants to merge 2 commits into
Conversation
7 tasks
Theo-Geo
force-pushed
the
overload_create_particle_interpolator
branch
from
August 12, 2026 10:14
8ee9061 to
a7aeede
Compare
Theo-Geo
added a commit
to Theo-Geo/aspect
that referenced
this pull request
Aug 18, 2026
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I added an overload to aspect::Particle::Interpolator::create_particle_interpolator, which takes an interpolation scheme as a string input. This way one can use the base model functionality that many material models use also for particle interpolators.
Furthermore i added the function get_valid_interpolator_names similar to get_valid_model_names for Material models. It replaces the already existing function "interpolator_object_names", which was declared but did not have any function definition in the interface.cc file. There was no occurrence in aspect where it was used.
For this i also slightly changed the documentation of the existing create particle interpolator, which said that it would take a model name as input though it actually read the interpolator name from a prm.
This functionality will be used in a new interpolator for rotations, where only a set of properties will be averaged with a special algorithm and the rest of the properties should be averaged with a fallback interpolator of the users choice.
Before your first pull request:
For all pull requests:
Only honest copy and paste from the material model interface has been used for this PR.
For new features/models or changes of existing features: