cmelab / cmeutils

Useful functions by and for the CME lab
GNU General Public License v3.0
3 stars 11 forks source link

Add concentration profile function for plotting diffusion across an interface #84

Closed chrisjonesBSU closed 8 months ago

chrisjonesBSU commented 8 months ago

This PR adds a new function to structure.py which plots the concentration profile of left particles and right particles which is useful for measuring diffusion across an interface in the case of polymer welding.

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.33%. Comparing base (ab7c6ae) to head (1b6861b).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/cmelab/cmeutils/pull/84/graphs/tree.svg?width=650&height=150&src=pr&token=WPJGJX23I7&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cmelab)](https://app.codecov.io/gh/cmelab/cmeutils/pull/84?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cmelab) ```diff @@ Coverage Diff @@ ## master #84 +/- ## ========================================== + Coverage 96.28% 96.33% +0.04% ========================================== Files 8 8 Lines 781 791 +10 ========================================== + Hits 752 762 +10 Misses 29 29 ``` | [Files](https://app.codecov.io/gh/cmelab/cmeutils/pull/84?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cmelab) | Coverage Δ | | |---|---|---| | [cmeutils/structure.py](https://app.codecov.io/gh/cmelab/cmeutils/pull/84?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cmelab#diff-Y21ldXRpbHMvc3RydWN0dXJlLnB5) | `100.00% <100.00%> (ø)` | |