Features
✅ Serial and parallel implementations of the heat equation solver
✅ OpenMP support for parallelization
✅ Lightweight and efficient C++ code
✅ Easy-to-build using Makefile
✅ Modular structure with clean file organization
Technologies Used
C++: High-performance language for numerical computation. OpenMP: Parallel programming model for C++. Makefile: Tool for automating the build process. Devbox: Development environment manager for consistency across setups.
File Structure
include/
- Directory for header files.
src/
- Directory for source files.
LICENSE
- Project license.
Makefile
- Makefile to build the project.
README.md
- This README file.
devbox.json
- Configuration file for the development environment.
devbox.lock
- Lock file for the development environment configuration.
Getting Started
Prerequisites
- C++ compiler (e.g.,
g++
) - OpenMP support
- Devbox for managing the development environment
Building the Project
-
Clone the repository:
git clone https://github.com/omerdduran/ParallelHeatEquationSolver.git cd ParallelHeatEquationSolver
-
Initialize the Devbox environment:
devbox shell
-
Build the project using the Makefile:
make
Without Devbox
-
Clone the repository:
git clone https://github.com/omerdduran/ParallelHeatEquationSolver.git cd ParallelHeatEquationSolver
-
Ensure you have a C++ compiler with OpenMP support installed (e.g.,
g++
). -
Build the project using the Makefile:
make
Running the Solver
After building the project, you can run the heat solver:
./bin/heat_solver
License
This project is licensed under the MIT License. See the LICENSE file for details.