From ef1c69986167c1201fb5e5b6cf6127a36a69a7b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ne=C4=8Dada?= Date: Mon, 9 Dec 2019 19:12:06 +0200 Subject: [PATCH] (Temporary) Makefile for calculating benchmark T-matrices Former-commit-id: 2a30fcd6597c317d332224c27d59e60de1b5e5b7 --- examples/scuff-em-benchmarks/omegalist1_eV | 5 ++ examples/scuff-em-benchmarks/omegalist2_eV | 10 +++ .../scuff-em-benchmarks/tmatrices/Makefile | 65 +++++++++++++++++++ .../tmatrices/cylinder.scuffgeo.template | 7 ++ .../tmatrices/cylinder_r100_h50.msh | 1 + .../tmatrices/cylinder_r100_h50_fine.msh | 1 + .../tmatrices/cylinder_r100_h50_rough.msh | 1 + .../tmatrices/cylinder_r100_h50_veryrough.msh | 1 + .../tmatrices/cylinder_r30_h30.msh | 1 + .../tmatrices/cylinder_r30_h30_fine.msh | 1 + .../tmatrices/cylinder_r30_h30_rough.msh | 1 + .../tmatrices/cylinder_r30_h30_veryrough.msh | 1 + .../scuff-em-benchmarks/tmatrices/matprop.dat | 1 + .../tmatrices/omegalist1_eV | 1 + .../tmatrices/omegalist2_eV | 1 + 15 files changed, 98 insertions(+) create mode 100644 examples/scuff-em-benchmarks/omegalist1_eV create mode 100644 examples/scuff-em-benchmarks/omegalist2_eV create mode 100644 examples/scuff-em-benchmarks/tmatrices/Makefile create mode 100644 examples/scuff-em-benchmarks/tmatrices/cylinder.scuffgeo.template create mode 120000 examples/scuff-em-benchmarks/tmatrices/cylinder_r100_h50.msh create mode 120000 examples/scuff-em-benchmarks/tmatrices/cylinder_r100_h50_fine.msh create mode 120000 examples/scuff-em-benchmarks/tmatrices/cylinder_r100_h50_rough.msh create mode 120000 examples/scuff-em-benchmarks/tmatrices/cylinder_r100_h50_veryrough.msh create mode 120000 examples/scuff-em-benchmarks/tmatrices/cylinder_r30_h30.msh create mode 120000 examples/scuff-em-benchmarks/tmatrices/cylinder_r30_h30_fine.msh create mode 120000 examples/scuff-em-benchmarks/tmatrices/cylinder_r30_h30_rough.msh create mode 120000 examples/scuff-em-benchmarks/tmatrices/cylinder_r30_h30_veryrough.msh create mode 120000 examples/scuff-em-benchmarks/tmatrices/matprop.dat create mode 120000 examples/scuff-em-benchmarks/tmatrices/omegalist1_eV create mode 120000 examples/scuff-em-benchmarks/tmatrices/omegalist2_eV diff --git a/examples/scuff-em-benchmarks/omegalist1_eV b/examples/scuff-em-benchmarks/omegalist1_eV new file mode 100644 index 0000000..8b6a89e --- /dev/null +++ b/examples/scuff-em-benchmarks/omegalist1_eV @@ -0,0 +1,5 @@ +2.0 +2.1 +2.2 +2.3 +2.4 diff --git a/examples/scuff-em-benchmarks/omegalist2_eV b/examples/scuff-em-benchmarks/omegalist2_eV new file mode 100644 index 0000000..687d297 --- /dev/null +++ b/examples/scuff-em-benchmarks/omegalist2_eV @@ -0,0 +1,10 @@ +1.32 +1.34 +1.35 +1.38 +1.4 +1.5 +1.6 +1.65 +1.7 +3.5 diff --git a/examples/scuff-em-benchmarks/tmatrices/Makefile b/examples/scuff-em-benchmarks/tmatrices/Makefile new file mode 100644 index 0000000..3f47fe2 --- /dev/null +++ b/examples/scuff-em-benchmarks/tmatrices/Makefile @@ -0,0 +1,65 @@ +tmatrices: tmatrices_veryrough tmatrices_rough tmatrices_normal tmatrices_fine + +omegalists_scuff: omegalist2_scuff omegalist1_scuff + +omegalist1_scuff: omegalist1_eV + ../../../misc/omega_eV2scuff.py -o omegalist1_scuff omegalist1_eV + +omegalist2_scuff: omegalist2_eV + ../../../misc/omega_eV2scuff.py -o omegalist2_scuff omegalist2_eV + +tmatrices_veryrough: cylinderAu_r100_h50_lMax3_veryrough.TMatrix cylinderAg_r30_h30_lMax3_veryrough.TMatrix + +tmatrices_rough: cylinderAu_r100_h50_lMax3_rough.TMatrix cylinderAg_r30_h30_lMax3_rough.TMatrix + +tmatrices_fine: cylinderAu_r100_h50_lMax3_fine.TMatrix cylinderAg_r30_h30_lMax3_fine.TMatrix + +tmatrices_normal: cylinderAu_r100_h50_lMax3.TMatrix cylinderAg_r30_h30_lMax3.TMatrix + +cylinderAu_r100_h50.scuffgeo: cylinder.scuffgeo.template + sed -e 's/__THEMESHFILE__/cylinder_r100_h50.msh/' -e 's/__THEMATERIAL__/LDGold/' cylinder.scuffgeo.template > $@ + +cylinderAu_r100_h50_veryrough.scuffgeo: cylinder.scuffgeo.template + sed -e 's/__THEMESHFILE__/cylinder_r100_h50_veryrough.msh/' -e 's/__THEMATERIAL__/LDGold/' cylinder.scuffgeo.template > $@ + +cylinderAu_r100_h50_rough.scuffgeo: cylinder.scuffgeo.template + sed -e 's/__THEMESHFILE__/cylinder_r100_h50_rough.msh/' -e 's/__THEMATERIAL__/LDGold/' cylinder.scuffgeo.template > $@ + +cylinderAu_r100_h50_fine.scuffgeo: cylinder.scuffgeo.template + sed -e 's/__THEMESHFILE__/cylinder_r100_h50_fine.msh/' -e 's/__THEMATERIAL__/LDGold/' cylinder.scuffgeo.template > $@ + +cylinderAg_r30_h30.scuffgeo: cylinder.scuffgeo.template + sed -e 's/__THEMESHFILE__/cylinder_r30_h30.msh/' -e 's/__THEMATERIAL__/LDSilver/' cylinder.scuffgeo.template > $@ + +cylinderAg_r30_h30_veryrough.scuffgeo: cylinder.scuffgeo.template + sed -e 's/__THEMESHFILE__/cylinder_r30_h30_veryrough.msh/' -e 's/__THEMATERIAL__/LDSilver/' cylinder.scuffgeo.template > $@ + +cylinderAg_r30_h30_rough.scuffgeo: cylinder.scuffgeo.template + sed -e 's/__THEMESHFILE__/cylinder_r30_h30_rough.msh/' -e 's/__THEMATERIAL__/LDSilver/' cylinder.scuffgeo.template > $@ + +cylinderAg_r30_h30_fine.scuffgeo: cylinder.scuffgeo.template + sed -e 's/__THEMESHFILE__/cylinder_r30_h30_fine.msh/' -e 's/__THEMATERIAL__/LDSilver/' cylinder.scuffgeo.template > $@ + +cylinderAu_r100_h50_lMax3.TMatrix: omegalist1_scuff cylinder_r100_h50.msh cylinderAu_r100_h50.scuffgeo + scuff-tmatrix --geometry cylinderAu_r100_h50.scuffgeo --OmegaFile omegalist1_scuff --FileBase $(@:.TMatrix=) --LMax 3 + +cylinderAu_r100_h50_lMax3_veryrough.TMatrix: omegalist1_scuff cylinder_r100_h50_veryrough.msh cylinderAu_r100_h50_veryrough.scuffgeo + scuff-tmatrix --geometry cylinderAu_r100_h50_veryrough.scuffgeo --OmegaFile omegalist1_scuff --FileBase $(@:.TMatrix=) --LMax 3 + +cylinderAu_r100_h50_lMax3_rough.TMatrix: omegalist1_scuff cylinder_r100_h50_rough.msh cylinderAu_r100_h50_rough.scuffgeo + scuff-tmatrix --geometry cylinderAu_r100_h50_rough.scuffgeo --OmegaFile omegalist1_scuff --FileBase $(@:.TMatrix=) --LMax 3 + +cylinderAu_r100_h50_lMax3_fine.TMatrix: omegalist1_scuff cylinder_r100_h50_fine.msh cylinderAu_r100_h50_fine.scuffgeo + scuff-tmatrix --geometry cylinderAu_r100_h50_fine.scuffgeo --OmegaFile omegalist1_scuff --FileBase $(@:.TMatrix=) --LMax 3 + +cylinderAg_r30_h30_lMax3_veryrough.TMatrix: omegalist2_scuff cylinder_r30_h30_veryrough.msh cylinderAg_r30_h30_veryrough.scuffgeo + scuff-tmatrix --geometry cylinderAg_r30_h30_veryrough.scuffgeo --OmegaFile omegalist2_scuff --FileBase $(@:.TMatrix=) --LMax 3 + +cylinderAg_r30_h30_lMax3_rough.TMatrix: omegalist2_scuff cylinder_r30_h30_rough.msh cylinderAg_r30_h30_rough.scuffgeo + scuff-tmatrix --geometry cylinderAg_r30_h30_rough.scuffgeo --OmegaFile omegalist2_scuff --FileBase $(@:.TMatrix=) --LMax 3 + +cylinderAg_r30_h30_lMax3_fine.TMatrix: omegalist2_scuff cylinder_r30_h30_fine.msh cylinderAg_r30_h30_fine.scuffgeo + scuff-tmatrix --geometry cylinderAg_r30_h30_fine.scuffgeo --OmegaFile omegalist2_scuff --FileBase $(@:.TMatrix=) --LMax 3 + +cylinderAg_r30_h30_lMax3.TMatrix: omegalist2_scuff cylinder_r30_h30.msh cylinderAg_r30_h30.scuffgeo + scuff-tmatrix --geometry cylinderAg_r30_h30.scuffgeo --OmegaFile omegalist2_scuff --FileBase $(@:.TMatrix=) --LMax 3 diff --git a/examples/scuff-em-benchmarks/tmatrices/cylinder.scuffgeo.template b/examples/scuff-em-benchmarks/tmatrices/cylinder.scuffgeo.template new file mode 100644 index 0000000..2d2b661 --- /dev/null +++ b/examples/scuff-em-benchmarks/tmatrices/cylinder.scuffgeo.template @@ -0,0 +1,7 @@ +REGION Exterior MATERIAL CONST_EPS_2.3104 + +OBJECT TheParticle + MESHFILE __THEMESHFILE__ + MATERIAL __THEMATERIAL__ +ENDOBJECT + diff --git a/examples/scuff-em-benchmarks/tmatrices/cylinder_r100_h50.msh b/examples/scuff-em-benchmarks/tmatrices/cylinder_r100_h50.msh new file mode 120000 index 0000000..3e62ad7 --- /dev/null +++ b/examples/scuff-em-benchmarks/tmatrices/cylinder_r100_h50.msh @@ -0,0 +1 @@ +../shapes/cylinder_r100_h50.msh \ No newline at end of file diff --git a/examples/scuff-em-benchmarks/tmatrices/cylinder_r100_h50_fine.msh b/examples/scuff-em-benchmarks/tmatrices/cylinder_r100_h50_fine.msh new file mode 120000 index 0000000..1742d6a --- /dev/null +++ b/examples/scuff-em-benchmarks/tmatrices/cylinder_r100_h50_fine.msh @@ -0,0 +1 @@ +../shapes/cylinder_r100_h50_fine.msh \ No newline at end of file diff --git a/examples/scuff-em-benchmarks/tmatrices/cylinder_r100_h50_rough.msh b/examples/scuff-em-benchmarks/tmatrices/cylinder_r100_h50_rough.msh new file mode 120000 index 0000000..3ca20fb --- /dev/null +++ b/examples/scuff-em-benchmarks/tmatrices/cylinder_r100_h50_rough.msh @@ -0,0 +1 @@ +../shapes/cylinder_r100_h50_rough.msh \ No newline at end of file diff --git a/examples/scuff-em-benchmarks/tmatrices/cylinder_r100_h50_veryrough.msh b/examples/scuff-em-benchmarks/tmatrices/cylinder_r100_h50_veryrough.msh new file mode 120000 index 0000000..b378f25 --- /dev/null +++ b/examples/scuff-em-benchmarks/tmatrices/cylinder_r100_h50_veryrough.msh @@ -0,0 +1 @@ +../shapes/cylinder_r100_h50_veryrough.msh \ No newline at end of file diff --git a/examples/scuff-em-benchmarks/tmatrices/cylinder_r30_h30.msh b/examples/scuff-em-benchmarks/tmatrices/cylinder_r30_h30.msh new file mode 120000 index 0000000..8e6c65c --- /dev/null +++ b/examples/scuff-em-benchmarks/tmatrices/cylinder_r30_h30.msh @@ -0,0 +1 @@ +../shapes/cylinder_r30_h30.msh \ No newline at end of file diff --git a/examples/scuff-em-benchmarks/tmatrices/cylinder_r30_h30_fine.msh b/examples/scuff-em-benchmarks/tmatrices/cylinder_r30_h30_fine.msh new file mode 120000 index 0000000..b144b8d --- /dev/null +++ b/examples/scuff-em-benchmarks/tmatrices/cylinder_r30_h30_fine.msh @@ -0,0 +1 @@ +../shapes/cylinder_r30_h30_fine.msh \ No newline at end of file diff --git a/examples/scuff-em-benchmarks/tmatrices/cylinder_r30_h30_rough.msh b/examples/scuff-em-benchmarks/tmatrices/cylinder_r30_h30_rough.msh new file mode 120000 index 0000000..4f97d15 --- /dev/null +++ b/examples/scuff-em-benchmarks/tmatrices/cylinder_r30_h30_rough.msh @@ -0,0 +1 @@ +../shapes/cylinder_r30_h30_rough.msh \ No newline at end of file diff --git a/examples/scuff-em-benchmarks/tmatrices/cylinder_r30_h30_veryrough.msh b/examples/scuff-em-benchmarks/tmatrices/cylinder_r30_h30_veryrough.msh new file mode 120000 index 0000000..f3dc686 --- /dev/null +++ b/examples/scuff-em-benchmarks/tmatrices/cylinder_r30_h30_veryrough.msh @@ -0,0 +1 @@ +../shapes/cylinder_r30_h30_veryrough.msh \ No newline at end of file diff --git a/examples/scuff-em-benchmarks/tmatrices/matprop.dat b/examples/scuff-em-benchmarks/tmatrices/matprop.dat new file mode 120000 index 0000000..fe55857 --- /dev/null +++ b/examples/scuff-em-benchmarks/tmatrices/matprop.dat @@ -0,0 +1 @@ +../materials/matprop.dat \ No newline at end of file diff --git a/examples/scuff-em-benchmarks/tmatrices/omegalist1_eV b/examples/scuff-em-benchmarks/tmatrices/omegalist1_eV new file mode 120000 index 0000000..bd4e838 --- /dev/null +++ b/examples/scuff-em-benchmarks/tmatrices/omegalist1_eV @@ -0,0 +1 @@ +../omegalist1_eV \ No newline at end of file diff --git a/examples/scuff-em-benchmarks/tmatrices/omegalist2_eV b/examples/scuff-em-benchmarks/tmatrices/omegalist2_eV new file mode 120000 index 0000000..1b2353b --- /dev/null +++ b/examples/scuff-em-benchmarks/tmatrices/omegalist2_eV @@ -0,0 +1 @@ +../omegalist2_eV \ No newline at end of file