semvec/pypi-packages huggingface dataset:
rhsolpy 1.0.0a2
rhsolpy: Rankine-Hugoniot relation solver for anisotropic plasmas
License: BSD 3-Clause
Requires Python: >=3.7

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*}$$