-
Notifications
You must be signed in to change notification settings - Fork 217
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
extend particle assign specialization #615
extend particle assign specialization #615
Conversation
- add functor to set an attribute of a particle to their default value - extend the particle assign definition (set attributes which are not defined in the source particle to their default value)
- use new method SetAttributeToDefault() from PMacc - delete local method SetToDefault - use new method SetAttributeToDefault() in all single particle examples
08d445f
to
5b4e2ef
Compare
@@ -157,6 +161,9 @@ namespace operations | |||
namespace detail | |||
{ | |||
|
|||
/** Assign all attributes from a particle out of another one |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor suggestion:
/** Assign common attributes of two particle species
*
* Assigns all attributes in ValueTypeSeq1 that also exist in T_ValueTypeSeq2
* from T_FrameType1 to T_FrameType2.
*/
Pretty and elegant pull request! |
|
||
/** Assign particle attributes | ||
* | ||
* The subset of the attribute lists from both particles is |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The common subset [...]
add @ax3l github annotations
@ax3l Thx for your annotations. I inserted all of them and updated my pull request. |
well done, thanks! |
extend particle assign specialization
In this commit the Resolve<> trait from ComputationalRadiationPhysics#594 is used to connect the ionization algorithm to the used model. Furthermore new attribute lists for the different species have been introduced. Functionality still has to be achieved. This has to be checked with ComputationalRadiationPhysics#615. Prettying up comments
In this commit the Resolve<> trait from ComputationalRadiationPhysics#594 is used to connect the ionization algorithm to the used model. Furthermore new attribute lists for the different species have been introduced. Functionality still has to be achieved. This has to be checked with ComputationalRadiationPhysics#615. Prettying up comments
In this commit the Resolve<> trait from ComputationalRadiationPhysics#594 is used to connect the ionization algorithm to the used model. Furthermore new attribute lists for the different species have been introduced. Functionality still has to be achieved. This has to be checked with ComputationalRadiationPhysics#615. Prettying up comments
In this commit the Resolve<> trait from ComputationalRadiationPhysics#594 is used to connect the ionization algorithm to the used model. Furthermore new attribute lists for the different species have been introduced. Functionality still has to be achieved. This has to be checked with ComputationalRadiationPhysics#615. Prettying up comments
In this commit the Resolve<> trait from ComputationalRadiationPhysics#594 is used to connect the ionization algorithm to the used model. Furthermore new attribute lists for the different species have been introduced. Functionality still has to be achieved. This has to be checked with ComputationalRadiationPhysics#615. Prettying up comments
SetValueToDefault
with the new PMacc functorTests