Skip to content
Snippets Groups Projects
Commit 65ec6456 authored by Guillaume Demesy's avatar Guillaume Demesy
Browse files

update M matrix bash

parent 8dcb3cf8
Branches
Tags
No related merge requests found
Pipeline #10106 passed
#!/bin/bash
export OPENBLAS_NUM_THREADS=1
export OMP_NUM_THREADS=1
export NPROC=96
export lambda_min=400
export nb_lam=100
export nb_phi=59
export lambda_min=350
export lambda_max=800
export FLAG_TOTAL=0
export GRATING_CASE="half_ellipsoid"
export myDir="res_Matrix_nb_lam"$nb_lam"_nb_phi"$nb_phi"_total"$FLAG_TOTAL
export myFile="run_phideg_values_"$nb_phi".out"
rm -r $myDir
rm $myFile
mkdir $myDir
gmsh grating3D.geo -3 -o grating3D.msh
......
import numpy as np
import matplotlib.pyplot as plt
import matplotlib as mpl
mpl.font_manager._rebuild()
plt.rcParams.update({"text.usetex": True})
def add_colorbar(mappable):
......@@ -158,6 +159,6 @@ for i in range(4):
ax.set_rorigin(which_orig)
plt.subplots_adjust(top=0.92, bottom=0.08, left=0.10, right=0.95, hspace=0.25,wspace=0.35)
plt.savefig('Mmatrix.jpg')
plt.savefig('Mmatrix.pdf', bbox_inches='tight', pad_inches=0)
plt.savefig('Mmatrix.svg')
plt.show()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment