# arthur-f-rossignol/article-002 architecture

> Architecture diagram of the GitHub repository arthur-f-rossignol/article-002, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-27). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/arthur-f-rossignol/article-002
- Repository: https://github.com/arthur-f-rossignol/article-002

## Overview

This repository is supplementary MATLAB code for predicting competition outcomes between two planktonic primary producers across opposing resource gradients. Its documented workflow is initiated through `codes/run.m`, which runs the prediction procedure and competition simulation; the supporting files provide growth-rate computation, a principal-eigenvalue estimate, and one- and two-species numerical schemes. The README identifies these responsibilities but source excerpts are unavailable, so specific calls and data flow between modules cannot be confirmed. The manuscript materials are supporting documents, not runtime components.

Main entry points: [`codes/run.m`](https://github.com/arthur-f-rossignol/article-002/blob/main/codes/run.m) (Run procedure)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_prediction["Prediction"]
  node_run["Run procedure<br/>[run.m]"]
  node_growth["Growth rate<br/>[growth_rate.m]"]
  node_eigenvalue["Eigenvalue estimate"]
end

subgraph group_models["Numerical models"]
  node_one_species["One-species model<br/>[one_species.m]"]
  node_two_species["Two-species model<br/>[two_species.m]"]
end

node_researcher(("Researcher"))

node_researcher -->|"runs"| node_run

click node_run "https://github.com/arthur-f-rossignol/article-002/blob/main/codes/run.m"
click node_growth "https://github.com/arthur-f-rossignol/article-002/blob/main/codes/growth_rate.m"
click node_eigenvalue "https://github.com/arthur-f-rossignol/article-002/blob/main/codes/principal_eigenvalue.m"
click node_one_species "https://github.com/arthur-f-rossignol/article-002/blob/main/codes/one_species.m"
click node_two_species "https://github.com/arthur-f-rossignol/article-002/blob/main/codes/two_species.m"

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_run,node_growth,node_eigenvalue toneBlue
class node_one_species,node_two_species toneAmber
class node_researcher toneIndigo
```

## Components

### Prediction

- [Run procedure](https://github.com/arthur-f-rossignol/article-002/blob/main/codes/run.m): `codes/run.m`
- [Growth rate](https://github.com/arthur-f-rossignol/article-002/blob/main/codes/growth_rate.m): `codes/growth_rate.m`
- [Eigenvalue estimate](https://github.com/arthur-f-rossignol/article-002/blob/main/codes/principal_eigenvalue.m): `codes/principal_eigenvalue.m`

### Numerical models

- [One-species model](https://github.com/arthur-f-rossignol/article-002/blob/main/codes/one_species.m): `codes/one_species.m`
- [Two-species model](https://github.com/arthur-f-rossignol/article-002/blob/main/codes/two_species.m): `codes/two_species.m`

### Other components

- **Researcher**

## Connections

- Researcher → Run procedure: runs
