# harsh-c0ds/my-work architecture

> Architecture diagram of the GitHub repository harsh-c0ds/my-work, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-21). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/harsh-c0ds/my-work
- Repository: https://github.com/harsh-c0ds/my-work

## Overview

This repository is a collection of scientific-computing examples and course materials rather than one integrated application. Users run standalone numerical models or work through MPI/OpenMP exercises; results are computed in each program, with several Python examples plotting them. The tree shows distinct model, solver, and parallel-computing branches, but the README is empty and most course sources were not sampled, so links between those branches are not inferred. The bundled Python packages appear to be environment contents, not the repository’s product.

Main entry points: [`Chaos-N_body_simulations/Chaos.py`](https://github.com/harsh-c0ds/my-work/blob/main/Chaos-N_body_simulations/Chaos.py) (N-body chaos), [`Double_pendulum/Double_Pendulum_RK4.py`](https://github.com/harsh-c0ds/my-work/blob/main/Double_pendulum/Double_Pendulum_RK4.py) (Pendulum models), [`Lorenz_attractor/Lorenz_attractor_RK4.py`](https://github.com/harsh-c0ds/my-work/blob/main/Lorenz_attractor/Lorenz_attractor_RK4.py) (Lorenz attractor), [`Predator_Prey_model/Predator_Prey_problem.py`](https://github.com/harsh-c0ds/my-work/blob/main/Predator_Prey_model/Predator_Prey_problem.py) (Predator prey)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_models["Scientific models"]
  node_nbody["N-body chaos<br/>[Chaos.py]"]
  node_pendulums["Pendulum models"]
  node_lorenz["Lorenz attractor"]
  node_predator["Predator prey"]
  node_lane["Lane-Emden model<br/>[Lane_Emden.py]"]
  node_tov["TOV model<br/>[TOV_eq.py]"]
  node_pinn["PINN project<br/>[pinn_project.py]"]
end

subgraph group_methods["Numerical methods"]
  node_ode["ODE systems"]
  node_shooting["Shooting methods"]
  node_simpson["Simpson integration<br/>[Simpson_int.py]"]
end

subgraph group_parallel["Parallel computing"]
  node_openmp["OpenMP examples"]
end

subgraph group_course["MPI course materials"]
  node_mpi["MPI examples"]
  node_mpi_tasks["MPI exercises"]
end

node_numpy["NumPy"]
node_plotting["Matplotlib pyplot"]
node_runner(("Example user"))

node_runner -.->|"runs"| node_nbody
node_nbody -->|"computes with"| node_numpy
node_nbody -->|"plots with"| node_plotting
node_pendulums -->|"computes with"| node_numpy
node_pendulums -->|"plots with"| node_plotting
node_lorenz -->|"computes with"| node_numpy
node_lorenz -->|"plots with"| node_plotting
node_predator -->|"computes with"| node_numpy
node_predator -->|"plots with"| node_plotting
node_lane -->|"computes with"| node_numpy
node_lane -->|"plots with"| node_plotting
node_tov -->|"computes with"| node_numpy
node_tov -->|"plots with"| node_plotting
node_pinn -->|"computes with"| node_numpy
node_pinn -->|"plots with"| node_plotting
node_ode -->|"computes with"| node_numpy
node_ode -->|"plots with"| node_plotting
node_shooting -->|"computes with"| node_numpy
node_shooting -->|"plots with"| node_plotting
node_simpson -->|"computes with"| node_numpy

click node_nbody "https://github.com/harsh-c0ds/my-work/blob/main/Chaos-N_body_simulations/Chaos.py"
click node_pendulums "https://github.com/harsh-c0ds/my-work/blob/main/Double_pendulum/Double_Pendulum_RK4.py"
click node_lorenz "https://github.com/harsh-c0ds/my-work/blob/main/Lorenz_attractor/Lorenz_attractor_RK4.py"
click node_predator "https://github.com/harsh-c0ds/my-work/blob/main/Predator_Prey_model/Predator_Prey_problem.py"
click node_lane "https://github.com/harsh-c0ds/my-work/blob/main/Lane-Emden/Lane_Emden.py"
click node_tov "https://github.com/harsh-c0ds/my-work/blob/main/TOV_problem/TOV_eq.py"
click node_pinn "https://github.com/harsh-c0ds/my-work/blob/main/pinn_project/pinn_project.py"
click node_ode "https://github.com/harsh-c0ds/my-work/blob/main/SystemODEs_IV/Problem_IV_systemODEs.py"
click node_shooting "https://github.com/harsh-c0ds/my-work/blob/main/Shooting_Matrix_method/Shooting_method_ex1.py"
click node_simpson "https://github.com/harsh-c0ds/my-work/blob/main/Solvers/Simpson_int.py"
click node_mpi "https://github.com/harsh-c0ds/my-work/tree/main/HLRS/MPI/course"
click node_mpi_tasks "https://github.com/harsh-c0ds/my-work/tree/main/HLRS/MPI/tasks"
click node_openmp "https://github.com/harsh-c0ds/my-work/tree/main/HLRS/OpenMP"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_nbody,node_pendulums,node_lorenz,node_predator,node_lane,node_tov,node_pinn,node_runner toneBlue
class node_ode,node_shooting,node_simpson toneAmber
class node_openmp toneMint
class node_mpi,node_mpi_tasks toneRose
class node_numpy,node_plotting toneIndigo
```

## Components

### Scientific models

- [N-body chaos](https://github.com/harsh-c0ds/my-work/blob/main/Chaos-N_body_simulations/Chaos.py): `Chaos-N_body_simulations/Chaos.py`
- [Pendulum models](https://github.com/harsh-c0ds/my-work/blob/main/Double_pendulum/Double_Pendulum_RK4.py): `Double_pendulum/Double_Pendulum_RK4.py`
- [Lorenz attractor](https://github.com/harsh-c0ds/my-work/blob/main/Lorenz_attractor/Lorenz_attractor_RK4.py): `Lorenz_attractor/Lorenz_attractor_RK4.py`
- [Predator prey](https://github.com/harsh-c0ds/my-work/blob/main/Predator_Prey_model/Predator_Prey_problem.py): `Predator_Prey_model/Predator_Prey_problem.py`
- [Lane-Emden model](https://github.com/harsh-c0ds/my-work/blob/main/Lane-Emden/Lane_Emden.py): `Lane-Emden/Lane_Emden.py`
- [TOV model](https://github.com/harsh-c0ds/my-work/blob/main/TOV_problem/TOV_eq.py): `TOV_problem/TOV_eq.py`
- [PINN project](https://github.com/harsh-c0ds/my-work/blob/main/pinn_project/pinn_project.py): `pinn_project/pinn_project.py`

### Numerical methods

- [ODE systems](https://github.com/harsh-c0ds/my-work/blob/main/SystemODEs_IV/Problem_IV_systemODEs.py): `SystemODEs_IV/Problem_IV_systemODEs.py`
- [Shooting methods](https://github.com/harsh-c0ds/my-work/blob/main/Shooting_Matrix_method/Shooting_method_ex1.py): `Shooting_Matrix_method/Shooting_method_ex1.py`
- [Simpson integration](https://github.com/harsh-c0ds/my-work/blob/main/Solvers/Simpson_int.py): `Solvers/Simpson_int.py`

### Parallel computing

- [OpenMP examples](https://github.com/harsh-c0ds/my-work/tree/main/HLRS/OpenMP): `HLRS/OpenMP`

### MPI course materials

- [MPI examples](https://github.com/harsh-c0ds/my-work/tree/main/HLRS/MPI/course): `HLRS/MPI/course`
- [MPI exercises](https://github.com/harsh-c0ds/my-work/tree/main/HLRS/MPI/tasks): `HLRS/MPI/tasks`

### Other components

- **NumPy**
- **Matplotlib pyplot**
- **Example user**

## Connections

- Example user → N-body chaos: runs
- N-body chaos → NumPy: computes with (evidence: `Chaos-N_body_simulations/Chaos.py`)
- N-body chaos → Matplotlib pyplot: plots with (evidence: `Chaos-N_body_simulations/Chaos.py`)
- Pendulum models → NumPy: computes with (evidence: `Double_pendulum/Double_Pendulum_RK4.py`)
- Pendulum models → Matplotlib pyplot: plots with (evidence: `Double_pendulum/Double_Pendulum_RK4.py`)
- Lorenz attractor → NumPy: computes with (evidence: `Lorenz_attractor/Lorenz_attractor_RK4.py`)
- Lorenz attractor → Matplotlib pyplot: plots with (evidence: `Lorenz_attractor/Lorenz_attractor_RK4.py`)
- Predator prey → NumPy: computes with (evidence: `Predator_Prey_model/Predator_Prey_problem.py`)
- Predator prey → Matplotlib pyplot: plots with (evidence: `Predator_Prey_model/Predator_Prey_problem.py`)
- Lane-Emden model → NumPy: computes with (evidence: `Lane-Emden/Lane_Emden.py`)
- Lane-Emden model → Matplotlib pyplot: plots with (evidence: `Lane-Emden/Lane_Emden.py`)
- TOV model → NumPy: computes with (evidence: `TOV_problem/TOV_eq.py`)
- TOV model → Matplotlib pyplot: plots with (evidence: `TOV_problem/TOV_eq.py`)
- PINN project → NumPy: computes with
- PINN project → Matplotlib pyplot: plots with
- ODE systems → NumPy: computes with (evidence: `SystemODEs_IV/Problem_IV_systemODEs.py`)
- ODE systems → Matplotlib pyplot: plots with (evidence: `SystemODEs_IV/Problem_IV_systemODEs.py`)
- Shooting methods → NumPy: computes with
- Shooting methods → Matplotlib pyplot: plots with
- Simpson integration → NumPy: computes with (evidence: `Solvers/Simpson_int.py`)
