This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """Check and fix PDF font embedding issues in thesis figures.""" | |
| import argparse | |
| import shutil | |
| import subprocess | |
| from pathlib import Path | |
| def check_pdf_fonts(pdf_path: str) -> list[str]: | |
| """ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function [u] = sol_Laplace_Equation_Axb(f, dom2Inp, param) | |
| %this code is not intended to be efficient. | |
| [ni, nj] = size(f); | |
| %We add the ghost boundaries (for the boundary conditions) | |
| f_ext = zeros(ni+2, nj+2); | |
| f_ext(2:end-1, 2:end-1) = f; | |
| dom2Inp_ext = zeros(ni+2, nj+2); | |
| dom2Inp_ext (2:end-1, 2:end-1) = dom2Inp; |