Project 3 for SF2565 Program Construction in C++ for Scientific Computing
This project consists of a C++ implementation for the generation of structured boundary-fitted grids that can be used for solving PDEs in any two-dimensional coordinate representation
that is isomorphic to the unit square. The implementation works for any boundary curves so long as they inherit from the abstract class Curvebase
and implement the purely virtual functions xp()
, dyp()
, dxp()
and dyp()
The main() function is located in the main.cpp
file. Examples of boundary curves are given in ExpCurve.cpp
, TestCurve.cpp
, HorizontalLine.cpp
and VerticalLine.cpp
.