Requirements: - OS -> Ubuntu Previous steps for running the codes: - Install PETSc -> https://www.mcs.anl.gov/petsc/ - Install PetIGA -> https://bitbucket.org/dalcinl/petiga/ - Install igakit -> https://bitbucket.org/dalcinl/igakit/ - Install Python -> https://www.python.org/ - Install PROMISE -> http://caminos.udc.es/gmni/gente/hgomez/pages/software.html --------------------------------------------------------------------------------- --------------------------------------------------------------------------------- --------------------------------- SQUARE ---------------------------------- --------------------------------------------------------------------------------- --------------------------------------------------------------------------------- 1.- Modify the 'makefile' file to put the name of the program in it. 2.- In the directory in which you have the code and the makefile, generate the executable program. instruction: make program_2D_square 3.- Execute the program. instruction: ./program_2D_square 4.- Generate the .vtk files with the python code. instruction: python Plot_square2D.py NOTE: This code can be executed in serial. --------------------------------------------------------------------------------- --------------------------------------------------------------------------------- --------------------------------- CUBE ---------------------------------- --------------------------------------------------------------------------------- --------------------------------------------------------------------------------- 1.- Modify the 'makefile' file to put the name of the program in it. 2.- In the directory in which you have the code and the makefile, generate the executable program. instruction: make program_3D_cube 3.- Execute the program. instruction: ./program_3D_cube 4.- Generate the .vtk files with the python code. instruction: python Plot_cube3D.py NOTE: We recommend to run this code in parallel with at least 4 cores. --------------------------------------------------------------------------------- --------------------------------------------------------------------------------- --------------------------------- PROSTATE -------------------------------- --------------------------------------------------------------------------------- --------------------------------------------------------------------------------- 1.- Modify the 'makefile' file to put the name of the program in it. 2.- In the directory in which you have the code and the makefile, generate the executable program. instruction: make program_3D_prostate 3.- Execute the program with the prostate geometry (namefile.dat). instruction: ./program_3D_prostate -iga_geometry namefile.dat 4.- Generate the .vtk files with the python code. instruction: python Plot_prostate3D.py NOTE: We recommend to run this code in parallel with at least 8 cores.