Programming tasks to Scientific Computing I
|
To compile the code you can create a makefile or configuration files for the I DE of your choice using the tool CMake (available at https://cmake.org/).
Please make sure you have the Eigen library (available at http://eigen.tuxfamily.org) installed and the environment variable CMAKE_PREFIX_PATH
contains the installation directory of Eigen.
For the programming exercise, several files are of importance.
The main function and basic structure are located in ex2.cpp. There is only one file which you have to edit in this exercise: adaptiveTriangMesh.h. See also the Todo List.
To visualize the resulting mesh, you can again use Paraview or any other program that can visualize files in the legacy Vtk format.