-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add class for field ionization (#75)
* Add class for field ionization * Make interactions more generic * Update init file * Use numpy style formatting in docstring
- Loading branch information
Showing
5 changed files
with
50 additions
and
9 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
"""Classes following the PICMI standard | ||
These should be the base classes for Python implementation of the PICMI standard | ||
The classes in this file are related to interactions (e.g. field ionization, collisions, QED) | ||
""" | ||
|
||
from .base import _ClassWithInit | ||
|
||
class PICMI_FieldIonization(_ClassWithInit): | ||
""" | ||
Field ionization on an ion species | ||
Parameters | ||
---------- | ||
model: string | ||
Ionization model, e.g. "ADK" | ||
ionized_species: species instance | ||
Species that is ionized | ||
product_species: species instance | ||
Species in which ionized electrons are stored. | ||
""" | ||
def __init__(self, model, ionized_species, product_species, **kw): | ||
self.model = model | ||
self.ionized_species = ionized_species | ||
self.product_species = product_species | ||
|
||
self.handle_init(kw) | ||
|
This file contains 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
This file contains 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