The following code is the most recent version of combined Hydrocode RocfluMP and particle-tracker ppiclF.
April 8, 2025 Β· View on GitHub
π Documentations:
RocfluMP
You can find the full RocfluMP manual here.
ppiclF
Documentation Website for ppiclF here.
Getting Started:
π Getting Started
Follow these steps to get a copy of the project up and running on your machine or HiPerGator account.
1. π΄ Fork the Repository
- Click the Fork button at the top-right of this page to create your own copy of the repository.
2. π₯ Clone Your Fork
Option A: Clone via HTTPS
git clone https://github.com/your-username/your-repo-name.git
cd your-repo-name
Option B: Clone via SSH (recommended for contributors)
-
Generate an SSH key (if you donβt already have one):
ssh-keygen -t ed25519 -C "your_email@example.com" -
Add your SSH key to the ssh-agent:
eval "$(ssh-agent -s)" ssh-add ~/.ssh/id_ed25519 -
Add the SSH key to your GitHub account: Display your public key with:
cat ~/.ssh/id_ed25519.pubGo to GitHub β Settings β SSH and GPG keys β New SSH key
Paste the copied key into the field and give it a descriptive title (e.g., My Laptop or HiPerGator).
-
Clone your fork using SSH:
git clone git@github.com:your-username/your-repo-name.git cd your-repo-name
π οΈ Making Changes with Git
Once youβve cloned your fork of the repository, here are the basic Git commands youβll use when contributing to the project:
π 1. Pull the Latest Changes
Before making changes, make sure your local branch is up to date with the main project:
git fetch upstream
git checkout main
git merge upstream/main
π 2. Create a New Branch for Your Changes
It's good practice to make changes on a separate branch, not directly on main.
git checkout -b feature/your-branch-name
π» 3. Make Your Code Changes
Edit the files you need using your favorite editor or IDE.
β 4. Stage and Commit Your Changes
git add .
git commit -m "Descriptive message of what you changed"
π€ 5. Push to Your Fork
git push origin feature/your-branch-name
π 6. Open a Pull Request
-
Go to your forked repository on GitHub.
-
Youβll see a prompt to open a pull request (PR) from your branch.
-
Add a clear description of your changes and submit.
π§Ό Recommended Tips
-
Use
.gitignore(already found in your cloned directory) to avoid committing unwanted files. -
Run
git statusoften to check whatβs staged or modified. -
Run
git log --onelineto view your commit history.