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

[PICMI] Add ionization model configuration support #5007

Conversation

BrianMarre
Copy link
Member

@BrianMarre BrianMarre commented Jul 25, 2024

adds the ability to configure ionization model interactions in the PIConGPU-PICMI interface.

replaces PR #4985

  • update documentation
  • add LWFA PICMI script as user example
  • add Test for Ionization configuration
  • verify correct rendering of LWFA with Richard

also fixes a bug in the initialization configuration of the boundElectrons attribute, noticed in the refactoring of the SetBoundElectrons Operation, renamed in this PR to SetChargeState.

@BrianMarre BrianMarre marked this pull request as draft July 25, 2024 18:41
@BrianMarre BrianMarre force-pushed the topic-addIonizerSupport branch 6 times, most recently from e96ac20 to 0b8d2c7 Compare July 29, 2024 08:46
@BrianMarre BrianMarre marked this pull request as ready for review July 29, 2024 08:48
@psychocoderHPC psychocoderHPC added this to the 0.8.0 / Next stable milestone Jul 29, 2024
@psychocoderHPC psychocoderHPC added the PICMI pypicongpu and picmi related label Jul 29, 2024
@BrianMarre BrianMarre force-pushed the topic-addIonizerSupport branch 2 times, most recently from 26ef4ab to 1702c17 Compare July 29, 2024 12:42
Copy link
Contributor

@chillenzer chillenzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, just a first batch. Not really touched on the functional code yet.

docs/source/usage/picmi/intro.rst Show resolved Hide resolved
docs/source/usage/picmi/intro.rst Outdated Show resolved Hide resolved
docs/source/usage/picmi/intro.rst Outdated Show resolved Hide resolved
docs/source/usage/picmi/intro.rst Show resolved Hide resolved
docs/source/usage/picmi/intro.rst Outdated Show resolved Hide resolved
lib/python/picongpu/picmi/interaction/__init__.py Outdated Show resolved Hide resolved
Copy link
Contributor

@chillenzer chillenzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay. Calling it a day for today. Here's another batch.

General comment: Assertions are not a safe way to check integrity of the data in functional code because they can be deactivated. Such checks should throw other appropriate (potentially custom) forms of exceptions.

lib/python/picongpu/picmi/simulation.py Show resolved Hide resolved
lib/python/picongpu/picmi/simulation.py Show resolved Hide resolved
lib/python/picongpu/picmi/simulation.py Show resolved Hide resolved
lib/python/picongpu/picmi/simulation.py Show resolved Hide resolved
lib/python/picongpu/picmi/species.py Show resolved Hide resolved
lib/python/picongpu/picmi/simulation.py Outdated Show resolved Hide resolved
lib/python/picongpu/picmi/simulation.py Outdated Show resolved Hide resolved
lib/python/picongpu/picmi/simulation.py Outdated Show resolved Hide resolved
lib/python/picongpu/picmi/simulation.py Outdated Show resolved Hide resolved
lib/python/picongpu/picmi/species.py Outdated Show resolved Hide resolved
@mafshari64
Copy link
Contributor

I reviewed the contents for PICMI collisional ionization.

Copy link
Contributor

@mafshari64 mafshari64 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reviewed the content

Copy link
Contributor

@mafshari64 mafshari64 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reviewed the content.

mafshari64 and others added 19 commits September 27, 2024 11:30
add schemas and templates for the configuration ioniaztion through PICMI
refactor of the PICMI ionization schemas and templates
refactors the Ionizer PyPIConGPU interface to allow almost complete configuration of ionization in PIConGPU through PyPIConGPU
refactor of PyPIConGPU tests to tupdate them to the new PyPIConGPU
ionization configuration interface
distinguishing between ground-state-only ionization models and ionization models including excited states.
This refactor is intended to allow the easy extension of PyPIConGPU.
ci: picongpu
@BrianMarre
Copy link
Member Author

Switched from pdg to particle due to pdg using the distutils removed with python 3.12 causing installs of pdg to fail

@BrianMarre
Copy link
Member Author

@psychocoderHPC please restart the Ci jobs, the failed due to an un specified timeout without an error log

Copy link
Member

@PrometheusPi PrometheusPi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No full check of functionality - I am fine the cleanup

@PrometheusPi PrometheusPi merged commit 590fb74 into ComputationalRadiationPhysics:dev Sep 30, 2024
10 checks passed
@BrianMarre BrianMarre deleted the topic-addIonizerSupport branch September 30, 2024 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PICMI pypicongpu and picmi related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants