Metadata-Version: 2.1
Name: rhsolpy
Version: 1.0.0a2
Summary: rhsolpy: Rankine-Hugoniot relation solver for anisotropic plasmas
Home-page: https://github.com/kx198x/rhsolpy
Author: Katsuaki Higashimori
Author-email: k.higashimori@gmail.com
Maintainer: Katsuaki Higashimori
Maintainer-email: k.higashimori@gmail.com
License: BSD 3-Clause
Download-URL: https://github.com/kx198x/rhsolpy
Platform: UNKNOWN
Requires-Python: >=3.7
Description-Content-Type: text/markdown

Rankine-Hugoniot relation solver for anisotropic plasmas.

<!-- @import "[TOC]" {cmd="toc" depthFrom=2 depthTo=6 orderedList=false} -->

<!-- code_chunk_output -->

- [Install/uninstall](#installuninstall)
- [Usage](#usage)
- [Theoretical description](#theoretical-description)

<!-- /code_chunk_output -->


## Install/uninstall

+ install

    ```shell
    pip install rhsolpy==1.0.0a0
    ```

+ uninstall

    ```shell
    pip uninstall rhsolpy==1.0.0a0
    ```

## Usage

```python
import rhsolpy.rankine_hugoniot as rh
obj = rh.AnisotropicMHD()

obj.set_param(beta1=1e-2, eps1=1.0, eps2=0.6)
obj.solve()

obj.plot()
```

<img src="./doc/shock_curve.png" alt="relations" style="width: 100%;" align="center"/>

## Theoretical description

$$\begin{align*}
\Lambda_a(\epsilon_2,\theta_1,M_{A2}^2)\cdot\epsilon_1^2M_{A1}^4
&+2\Lambda_b(\epsilon_1,\epsilon_2,\theta_1,\beta_1,M_{A2}^2)\cdot\epsilon_1M_{A1}^2\\
&+\Lambda_c(\epsilon_1,\epsilon_2,\theta_1,\beta_1,M_{A2}^2)=0.
\end{align*}$$

