Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New OptaDOS Photoemission Module #57

Open
wants to merge 197 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
197 commits
Select commit Hold shift + click to select a range
09b309b
Manual merge of optados_mod_working !!WIP!!
wuppersaver Dec 19, 2022
a8c2bdb
Changed constants, succesful compile after merge
wuppersaver Dec 19, 2022
ba2d9d4
Minor changes to cell.f90 to allow proper function
wuppersaver Dec 20, 2022
59e3399
Removed unnecessary merged lines
wuppersaver Dec 20, 2022
ef2c107
Fprettify run
wuppersaver Dec 20, 2022
df411e7
Removed Parameter Printing Bug
wuppersaver Jan 9, 2023
df540fb
Removed Parameter Printing Bug
wuppersaver Jan 11, 2023
6e36b6c
WIP - Changed Cell Volume Dependence for e_2
wuppersaver Jan 11, 2023
e438a3d
Changed Formatting
wuppersaver Jan 11, 2023
d72c1d8
Merge pull request #1 from wuppersaver/photo_dev
wuppersaver Jan 11, 2023
4c48aea
Added more debug printing + changes to Arpes Phi
wuppersaver Jan 26, 2023
6ea8840
Staged previous changes
wuppersaver Jan 26, 2023
990be91
Removed unnecessary printing statements
wuppersaver Feb 2, 2023
857283c
Starting development of multiple imfp values
wuppersaver Feb 2, 2023
293b1a8
Changed gitignore
wuppersaver Feb 25, 2023
df3df53
Added statments in some routines WIP
wuppersaver Feb 27, 2023
7808faa
Changed debug printing lines (iprint->devel_code)
wuppersaver Feb 28, 2023
751c0c6
Changed devel_flag keywords for printing
wuppersaver Feb 28, 2023
4bd2751
Initial commit for multi_output WIP
wuppersaver Mar 6, 2023
f2f9d13
Set up for cleaning output order
wuppersaver Mar 6, 2023
ccb496f
Interstitial commit WIP
wuppersaver Mar 6, 2023
aa3354f
Moved matrix.dat printing to output_qe_files
wuppersaver Mar 6, 2023
5a3e32e
Finished first iteration of multi output
wuppersaver Mar 6, 2023
bbbbe3e
Deleted for resetting index
wuppersaver Mar 6, 2023
0a93e8a
Updated gitignore
wuppersaver Mar 6, 2023
5e98f20
Merge branch 'multi_output' into develop
wuppersaver Mar 6, 2023
178e738
Cleared up merging mistakes
wuppersaver Mar 6, 2023
f4f15d0
Added option to turn off extra output files
wuppersaver Mar 6, 2023
32cf31a
Fixed if statement for output printing
wuppersaver Mar 6, 2023
86028d6
Removed bugs
wuppersaver Mar 6, 2023
df89e54
Fixed more occurences of fixed smearing bug
wuppersaver Mar 6, 2023
a15950e
Error file deletion conditional in special case
wuppersaver Mar 6, 2023
bb51f89
Changed the way multi_out is implemented
wuppersaver Mar 10, 2023
c8a088f
Added weighted jdos printing
wuppersaver Mar 12, 2023
8ece59a
Changed multi instance calculation setup
wuppersaver Mar 22, 2023
2602690
Changed weighted JDOS output printing
wuppersaver Mar 22, 2023
5cba33c
Changed error message
wuppersaver Mar 22, 2023
aa5bcdd
Started to add photon_sweep functionality
wuppersaver Mar 22, 2023
c62da87
Started Implementation of tests
wuppersaver Mar 23, 2023
f1cd00f
Merge branch 'develop' of https://github.com/wuppersaver/optados_phot…
wuppersaver Mar 23, 2023
d998513
Changed the printed photon_energy
wuppersaver Mar 23, 2023
694e2a0
Finished the implementation of sweep calculation
wuppersaver Mar 23, 2023
3aa7cba
Ran fprettify on final code version
wuppersaver Mar 23, 2023
cdbe7f5
Tested version of single photon energy
wuppersaver Mar 23, 2023
43b8dcb
Added extra output for photon_sweep
wuppersaver Mar 24, 2023
523810d
Improved the QE matrix output
wuppersaver Mar 24, 2023
72014ed
Finalised the QE Matrix Output and tested
wuppersaver Mar 24, 2023
cc33760
Changed gitignore
wuppersaver Mar 24, 2023
aafbfc7
Changed Gitignore
wuppersaver Mar 25, 2023
3422a2b
Changed make.system
wuppersaver Mar 25, 2023
c2eca45
Removed unused variables
wuppersaver Mar 26, 2023
58e9fc0
Reworked Code structure - MAJOR Changes!!! WIP
wuppersaver Mar 26, 2023
90cdb20
Changed the breaking change in a loop
wuppersaver Mar 26, 2023
4a1869a
Included deallocate statements
wuppersaver Mar 26, 2023
5af724f
Added extra to gitignore + debug
wuppersaver Mar 26, 2023
a0aec06
Added more targeted deallocation for 1step
wuppersaver Mar 26, 2023
01b48a7
Reordered the subroutine calling structure
wuppersaver Mar 26, 2023
c6a32f6
Commented out unused deallocate statements
wuppersaver Mar 26, 2023
c38eda7
Changed gitignore
wuppersaver Mar 26, 2023
5a2947b
Merge branch 'develop' of https://github.com/wuppersaver/optados_phot…
wuppersaver Mar 26, 2023
5449d92
Changed Makefile to include Extension
wuppersaver Mar 26, 2023
b010882
Added extension support in src Makefile
wuppersaver Mar 26, 2023
ea39bdd
Improved parameter printing and JDOS atom prints
wuppersaver Mar 27, 2023
f1d9b37
Edited parameters printing
wuppersaver Mar 27, 2023
44098ad
Removed unneccessary variables + extra statements
wuppersaver Mar 27, 2023
db66e11
Added timing information to Photoemission sub-
wuppersaver Mar 27, 2023
95a3ab3
Added and corrected more timing outputs
wuppersaver Mar 28, 2023
4a961d9
Added subroutine to remove if statements
wuppersaver Mar 28, 2023
30f05d8
Added missing import causing compilation error
wuppersaver Mar 28, 2023
5fcc371
Added efficiency improvements
wuppersaver Mar 28, 2023
6ffd4b5
Corrected efficiency improvements
wuppersaver Mar 28, 2023
f1f8e1a
Test to reorder loops - WIP
wuppersaver Mar 28, 2023
5262651
Changed indices order in many arrays
wuppersaver Mar 28, 2023
db3c2a2
Changed keyword to get photon energy sweep
wuppersaver Mar 28, 2023
c10db11
Moved foptical_matrix_weights subroutine
wuppersaver Mar 29, 2023
9a3aacc
Added parameter cases
wuppersaver Mar 29, 2023
c3cb2c4
Added optimisation to jdos subroutine + more
wuppersaver Mar 29, 2023
f8d220e
Reordered loops for one step model
wuppersaver Mar 29, 2023
4f3ec01
Renamed parameter for photo sweep due to clash
wuppersaver Mar 29, 2023
2078cc7
Renamed the variable of the first unoccupied band
wuppersaver Mar 29, 2023
96cd8fa
Moved around the printing and changed iprint ifs
wuppersaver Mar 29, 2023
aab2d63
Commented out unnecessary debug output printing
wuppersaver Mar 29, 2023
19d1dac
Changed foptical matrix weights subroutine
wuppersaver Mar 29, 2023
a328761
minor changes
wuppersaver Mar 29, 2023
13546f5
Fixed allocation/deallocation issues + more
wuppersaver Mar 29, 2023
3b73fcd
minor changes
wuppersaver Mar 29, 2023
da730f0
Changed debug flags
wuppersaver Mar 29, 2023
d16ad28
Corrected wrong qe printing index
wuppersaver Mar 29, 2023
6379331
Replaced multi output with temporary folder output
wuppersaver Mar 29, 2023
678373c
Added files to gitignore
wuppersaver Apr 23, 2023
76b5989
Start of mpi parallelisation
wuppersaver Apr 23, 2023
4bed969
Added photo parameters to param_dist
wuppersaver Apr 23, 2023
f5fded9
Renamed bulk length
wuppersaver Apr 23, 2023
f9a34ff
Removed gdb attachment loop
wuppersaver Apr 23, 2023
143bbfc
MPI implemented, Compiles, runs, WIP
wuppersaver Apr 24, 2023
d403f11
Changed Gitignore
wuppersaver Apr 24, 2023
90f0221
Added gitignore files for two tests of others
wuppersaver Apr 24, 2023
0b2a2d3
Implemented .fem conversion in od2od.f90
wuppersaver Apr 24, 2023
beda923
Implemented new test for photoemission
wuppersaver Apr 24, 2023
ada5ab8
Updated and validated test to work correctly
wuppersaver Apr 25, 2023
ffb4f16
Manually added in the tests for photemission
wuppersaver Apr 25, 2023
3196fd4
Added another photoemission test
wuppersaver Apr 25, 2023
6a48895
Implemented a test for mpi performance
wuppersaver Apr 25, 2023
146e226
Added extra parallel test of the code
wuppersaver Apr 26, 2023
d0d43e6
Changed inconsistencies in allocation
wuppersaver Apr 26, 2023
4b27f56
minor changes
wuppersaver Apr 26, 2023
15acb63
Changed benchmark file for test
wuppersaver Apr 26, 2023
795a218
Added printing to output
wuppersaver Apr 26, 2023
97ac700
Made printing of QE tensor work in parallelisation
wuppersaver Apr 26, 2023
c74be24
Edited test config file
wuppersaver Apr 26, 2023
705c666
Removed debug executable
wuppersaver Apr 27, 2023
0775aa5
Made the allocation of arrays more streamlined
wuppersaver Apr 27, 2023
456da08
Solved - Troubleshooted bug in mpi parallel
wuppersaver Apr 27, 2023
605bdf5
Removed extra output statements
wuppersaver Apr 28, 2023
941898e
Made printing of weighted jdos optional
wuppersaver Apr 28, 2023
eb31dfe
Merge branch 'mpi-implementation' into develop
wuppersaver Apr 28, 2023
0f4fce4
Put in checks of odi file for photoemission
wuppersaver Apr 28, 2023
116193b
Renamed a test, that now tests with failing input
wuppersaver Apr 28, 2023
5a85638
removed extra test and renamed programs
wuppersaver Apr 28, 2023
cb1e160
Added WIP parser for opterr
wuppersaver Apr 28, 2023
cfc61b6
Added testing of faulty input
wuppersaver Apr 28, 2023
4f5a817
Removed unnecessary files
wuppersaver Apr 28, 2023
afb0a8b
Added qe matrix test for mpi
wuppersaver Apr 28, 2023
c50a7cc
Edited test
wuppersaver Apr 28, 2023
81f16e6
Added new compilation destination
wuppersaver Apr 28, 2023
2ac2e80
Edited parameter checking
wuppersaver Apr 28, 2023
44e694c
Troubleshoot parameter tests succesfully
wuppersaver Apr 28, 2023
2a6a7cc
Corrected logical error in parameter checks
wuppersaver May 3, 2023
761dfe8
Removed extra printing,reduced mte calculation ops
wuppersaver May 4, 2023
091e93e
Reimplemented distributed file writing - WIP
wuppersaver May 4, 2023
064aaca
Added necessary elements, removed others
wuppersaver May 5, 2023
f61263b
Removed logical error in photo.f90
wuppersaver May 15, 2023
54110f7
Changed if statement for meant_te calculation
wuppersaver May 15, 2023
00d2c8c
Removed unused variables
wuppersaver May 17, 2023
190807f
Merge branch 'optados-developers:develop' into develop
wuppersaver May 17, 2023
09d2bf0
Merge branch 'optados-developers:develop' into photo_dev
wuppersaver May 17, 2023
7496643
Develop (#2)
wuppersaver Jun 20, 2023
169f2f4
Changed Output name for test
wuppersaver Jun 20, 2023
fd9e447
Added examples and photoemission user_guide v1 WIP
wuppersaver Jun 20, 2023
208cb17
Renamed File Printing Parameter for Photoemission
wuppersaver Jun 20, 2023
7b841ff
Ran fprettify on all .f90 files
wuppersaver Jun 20, 2023
34bdd10
Merge branch 'develop' into photo_dev
wuppersaver Jun 20, 2023
349b422
Removed merging bugs
wuppersaver Jun 20, 2023
50e5c8f
Ran tests to check for correctness - success
wuppersaver Jun 20, 2023
9156591
Added missing .py file
wuppersaver Jun 20, 2023
68b1f0d
Started implementation of layer dependent IMFP
wuppersaver Jun 23, 2023
8d0d22f
Code compiles, but not fully tested - WIP
wuppersaver Jun 23, 2023
5d5ab29
Added new printing option
wuppersaver Jun 28, 2023
e3000b1
Added ability to write contributions
wuppersaver Jun 28, 2023
851ea46
Added more printing in QE matrix file
wuppersaver Jun 29, 2023
f77b8fc
Latest version of code
wuppersaver Jul 7, 2023
882f4c3
Working multilayer IMFP values
wuppersaver Jul 9, 2023
aa51bfe
Removed extra printing statements
wuppersaver Jul 14, 2023
241f9ec
Merge pull request #4 from wuppersaver/imfp_new
wuppersaver Jul 14, 2023
ea99e13
Added extra output print and comments
wuppersaver Jul 14, 2023
02c0425
Merge branch 'develop' into cleanup
wuppersaver Jul 17, 2023
ea12afc
Merge pull request #5 from wuppersaver/cleanup
wuppersaver Jul 17, 2023
fcccf5d
Allow user to set max # of layers
wuppersaver Jul 17, 2023
cf27dd6
Merge branch 'develop' into new_geometries
wuppersaver Jul 17, 2023
9f25610
Merge pull request #6 from wuppersaver/new_geometries
wuppersaver Jul 17, 2023
2acc219
Tested the code to work properly
wuppersaver Jul 17, 2023
c26ac27
Removed bug in MPI parallelisation for IMFP
wuppersaver Jul 18, 2023
3c78b59
Changed the order of printing for MPI
wuppersaver Jul 19, 2023
023a724
Rewrote distribute qe-matrix output
wuppersaver Jul 19, 2023
f6d9f9a
Ran fprettify on all files
wuppersaver Jul 19, 2023
dda7a42
Apply latest developments to the photo_dev branch (#7)
wuppersaver Jul 19, 2023
e76e060
Update projection_utils.f90
wuppersaver Jul 19, 2023
b1acbd8
Update .gitignore
wuppersaver Jul 19, 2023
59b594d
Update .gitignore
wuppersaver Jul 19, 2023
6597f4d
Update make.system
wuppersaver Jul 19, 2023
99d77ec
Update jdos_utils.f90
wuppersaver Jul 19, 2023
0df40f3
Update optics.f90
wuppersaver Jul 19, 2023
70d1df8
Removed extra gitignore file
wuppersaver Jul 19, 2023
4594222
Merge remote-tracking branch 'origin/photo_dev' into develop
wuppersaver Jul 19, 2023
cfb6c68
Finish Merge photo_dev
wuppersaver Jul 19, 2023
4d8cd6f
Removed trailing spaces in the user_guide.tex
wuppersaver Jul 19, 2023
a3fb2ce
Merging into develop (#8)
wuppersaver Jul 20, 2023
20c5995
Update docs.yml
wuppersaver Jul 20, 2023
e88fd7c
Update docs.yml
wuppersaver Jul 20, 2023
8e1d9b0
Update docs.yml
wuppersaver Jul 20, 2023
57d8d8c
Update docs.yml
wuppersaver Jul 20, 2023
712709b
Update docs.yml
wuppersaver Jul 20, 2023
365170a
Update docs.yml
wuppersaver Jul 20, 2023
8db26f8
Update docs.yml
wuppersaver Jul 20, 2023
39c5f10
Update docs.yml
wuppersaver Jul 20, 2023
796f141
Update docs.yml
wuppersaver Jul 20, 2023
12b4de1
Delete docs.yml
wuppersaver Jul 20, 2023
dd27f1d
Merge the created GH action into the development branch (#9)
wuppersaver Jul 20, 2023
43611a0
Merge old default branch into new default (#10)
wuppersaver Jul 20, 2023
8774bfe
Update docs_to_pages.yml
wuppersaver Jul 20, 2023
7f8f7e7
Update docs_to_pages.yml
wuppersaver Jul 20, 2023
4cd7db3
Update photo.f90
wuppersaver Jul 28, 2023
fcc1713
Removed off by one error for energy indices
wuppersaver Jul 28, 2023
28053e4
Added final state printing
wuppersaver Aug 2, 2023
015e5e9
Corrected extra printing statements
wuppersaver Aug 3, 2023
0fb267b
Updated and verified photoemission tests
wuppersaver Sep 4, 2023
435abc0
Merge branch 'optados-developers:develop' into develop
wuppersaver Nov 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/docs_to_pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# This is a basic workflow to help you get started with Actions

name: Docs to Pages

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "photo_dev" branch
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout
uses: actions/checkout@v3
- name: built
uses: wuppersaver/[email protected]
with:
project_file: /optados/
- name: Deploy to GitHub Pages
if: success()
uses: crazy-max/ghaction-github-pages@v3
with:
target_branch: gh-pages
build_dir: ./optados/auto_doc/
verbose: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17 changes: 10 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ on:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
pre-commit:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: pre-commit/action@v2.0.0
- uses: actions/checkout@v3.5.3
- uses: actions/setup-python@v4.7.0
- uses: pre-commit/action@v3.0.0


build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
runs-on: ubuntu-20.04

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand All @@ -50,11 +50,14 @@ jobs:
matplotlib \
- name: build
run: |
cd optados
cd optados
sed -i "s/.*BUILD :=.*/BUILD := fast/" make.system
make
make tools
sed -i "s/.*COMMS_ARCH :=.*/COMMS_ARCH := mpi/" make.system
make
- name: run tests
run: |
cd optados/test-suite
./run_tests -v --category=default
./run_tests -n 1 -v --category=default

Binary file added optados/documents/photoemission/user_guide.pdf
Binary file not shown.
1,025 changes: 1,025 additions & 0 deletions optados/documents/photoemission/user_guide.tex

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions optados/examples/Photoemission/Cu/Cu.cell
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
%BLOCK LATTICE_ABC
2.517885 2.517885 50
90.000000 90.000000 90.000000
%ENDBLOCK LATTICE_ABC

%BLOCK POSITIONS_FRAC
Cu -0.250000 0.250000 0.266523
Cu 0.250000 -0.250000 0.231863
Cu -0.250000 0.250000 0.196014
Cu 0.250000 -0.250000 0.160204
Cu -0.250000 0.250000 0.124622
Cu 0.250000 -0.250000 0.089005
Cu -0.250000 0.250000 0.053413
Cu 0.250000 -0.250000 0.017804
Cu -0.250000 0.250000 -0.017804
Cu 0.250000 -0.250000 -0.053413
Cu -0.250000 0.250000 -0.089005
Cu 0.250000 -0.250000 -0.124622
Cu -0.250000 0.250000 -0.160204
Cu 0.250000 -0.250000 -0.196014
Cu -0.250000 0.250000 -0.231863
Cu 0.250000 -0.250000 -0.266523
%ENDBLOCK POSITIONS_FRAC

fix_all_cell : true

kpoint_mp_grid 32 32 1
kpoint_grid_offset 1/64 1/64 0
spectral_kpoint_mp_offset 1/64 1/64 0
22 changes: 22 additions & 0 deletions optados/examples/Photoemission/Cu/Cu.odi
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
task : photoemission
jdos_spacing : 0.1
jdos_max_energy : 25
broadening : linear
linear_smearing : 0.026
optics_intraband : TRUE
hybrid_linear : TRUE
optics_geom : unpolar
optics_qdir : 1 1 0

photo_model : 1step
photo_photon_energy: 21.2
photo_work_function : 4.556
photo_surface_area : 6.339744873
photo_slab_volume : 190.942338
photo_elec_field : 0.00
photo_imfp_const : 19.0
photo_momentum : crystal
photo_temperature : 300
write_photo_output : e_bind

iprint : 1
17 changes: 17 additions & 0 deletions optados/examples/Photoemission/Cu/Cu.param
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
TASK : SPECTRAL
SPECTRAL_TASK : All
PDOS_CALCULATE_WEIGHTS : TRUE
xc_functional : PBEsol
opt_strategy : speed
smearing_width : 300 K
cut_off_energy : 600 eV
elec_energy_tol : 1e-8 eV
PERC_EXTRA_BANDS : 100
MAX_SCF_CYCLES : 1000
FIX_OCCUPANCY : FALSE
METALS_METHOD : DM
SPIN_POLARIZED : FALSE
WRITE_FORMATTED_POTENTIAL : TRUE
WRITE_FORMATTED_DENSITY : TRUE
MIXING_SCHEME : Pulay

35 changes: 35 additions & 0 deletions optados/examples/Photoemission/Graphene/1step/Graphene.cell
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
%BLOCK LATTICE_ABC
2.468 2.468 25
90.000000 90.000000 120.000000
%ENDBLOCK LATTICE_ABC

%BLOCK POSITIONS_FRAC
C 1/3 2/3 0
C 2/3 1/3 0
%ENDBLOCK POSITIONS_FRAC

symmetry_generate

%BLOCK KPOINTS_LIST
0 0 0 1/21
0.01666665 0.01666665 0 1/21
0.0333333 0.0333333 0 1/21
0.04999995 0.04999995 0 1/21
0.0666666 0.0666666 0 1/21
0.08333325 0.08333325 0 1/21
0.0999999 0.0999999 0 1/21
0.11666655 0.11666655 0 1/21
0.1333332 0.1333332 0 1/21
0.14999985 0.14999985 0 1/21
0.1666665 0.1666665 0 1/21
0.18333315 0.18333315 0 1/21
0.1999998 0.1999998 0 1/21
0.21666645 0.21666645 0 1/21
0.2333331 0.2333331 0 1/21
0.24999975 0.24999975 0 1/21
0.2666664 0.2666664 0 1/21
0.28333305 0.28333305 0 1/21
0.2999997 0.2999997 0 1/21
0.31666635 0.31666635 0 1/21
0.333333 0.333333 0 1/21
%ENDBLOCK KPOINTS_LIST
22 changes: 22 additions & 0 deletions optados/examples/Photoemission/Graphene/1step/Graphene.odi
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
task : photoemission
jdos_spacing : 0.1
jdos_max_energy : 50
broadening : linear
linear_smearing : 0.026
optics_intraband : TRUE
hybrid_linear : TRUE
optics_geom : unpolar
optics_qdir : 1 0 0

photo_model : 1step
photo_photon_energy: 50
photo_work_function : 4.294
photo_surface_area : 5.27498
photo_slab_volume : 8.9675
photo_elec_field : 0.00
photo_imfp_const : 20.0
photo_momentum : crystal
photo_temperature : 300
write_photo_output : qe_matrix

iprint : 1
14 changes: 14 additions & 0 deletions optados/examples/Photoemission/Graphene/1step/Graphene.param
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
TASK : SPECTRAL
SPECTRAL_TASK : All
PDOS_CALCULATE_WEIGHTS : TRUE
xc_functional : PBEsol
opt_strategy : speed
smearing_width : 300 K
cut_off_energy : 600 eV
elec_energy_tol : 1e-8 eV
PERC_EXTRA_BANDS : 250
MAX_SCF_CYCLES : 1000
FIX_OCCUPANCY : FALSE
WRITE_FORMATTED_POTENTIAL : TRUE


35 changes: 35 additions & 0 deletions optados/examples/Photoemission/Graphene/3step/Graphene.cell
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
%BLOCK LATTICE_ABC
2.468 2.468 25
90.000000 90.000000 120.000000
%ENDBLOCK LATTICE_ABC

%BLOCK POSITIONS_FRAC
C 1/3 2/3 0
C 2/3 1/3 0
%ENDBLOCK POSITIONS_FRAC

symmetry_generate

%BLOCK KPOINTS_LIST
0 0 0 1/21
0.01666665 0.01666665 0 1/21
0.0333333 0.0333333 0 1/21
0.04999995 0.04999995 0 1/21
0.0666666 0.0666666 0 1/21
0.08333325 0.08333325 0 1/21
0.0999999 0.0999999 0 1/21
0.11666655 0.11666655 0 1/21
0.1333332 0.1333332 0 1/21
0.14999985 0.14999985 0 1/21
0.1666665 0.1666665 0 1/21
0.18333315 0.18333315 0 1/21
0.1999998 0.1999998 0 1/21
0.21666645 0.21666645 0 1/21
0.2333331 0.2333331 0 1/21
0.24999975 0.24999975 0 1/21
0.2666664 0.2666664 0 1/21
0.28333305 0.28333305 0 1/21
0.2999997 0.2999997 0 1/21
0.31666635 0.31666635 0 1/21
0.333333 0.333333 0 1/21
%ENDBLOCK KPOINTS_LIST
22 changes: 22 additions & 0 deletions optados/examples/Photoemission/Graphene/3step/Graphene.odi
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
task : photoemission
jdos_spacing : 0.1
jdos_max_energy : 50
broadening : linear
linear_smearing : 0.026
optics_intraband : TRUE
hybrid_linear : TRUE
optics_geom : unpolar
optics_qdir : 1 0 0

photo_model : 1step
photo_photon_energy: 50
photo_work_function : 4.294
photo_surface_area : 5.27498
photo_slab_volume : 8.9675
photo_elec_field : 0.00
photo_imfp_const : 20.0
photo_momentum : crystal
photo_temperature : 300
write_photo_output : qe_matrix

iprint : 1
14 changes: 14 additions & 0 deletions optados/examples/Photoemission/Graphene/3step/Graphene.param
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
TASK : SPECTRAL
SPECTRAL_TASK : OPTICS
PDOS_CALCULATE_WEIGHTS : TRUE
xc_functional : PBEsol
opt_strategy : speed
smearing_width : 300 K
cut_off_energy : 600 eV
elec_energy_tol : 1e-8 eV
NEXTRA_BANDS : 100
MAX_SCF_CYCLES : 1000
FIX_OCCUPANCY : FALSE
WRITE_FORMATTED_POTENTIAL : TRUE


29 changes: 14 additions & 15 deletions optados/make.system
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,21 @@
SYSTEM := gfortran

# fast / debug
BUILD := debug
BUILD := fast

# serial / mpi
COMMS_ARCH := serial
COMMS_ARCH := serial

# Where would you like the executables?
PREFIX:=../

SYSTEM := $(strip $(SYSTEM))
BUILD := $(strip $(BUILD))
COMMS_ARCH := $(strip $(COMMS_ARCH))
PREFIX := $(strip $(PREFIX))

EXE_SUFFIX := .x86_64
#-------------------------------------------
# T H I N G S Y O U M I G H T W A N T
# T H I N G S Y O U M I G H T W A N T
# T O F I D D L E W I T H

export PYTHON_VER := python3
Expand All @@ -34,27 +33,27 @@ endif

ifeq ($(SYSTEM), gfortran)
F90_SERIAL= gfortran
F90_PARALLEL= mpif90
F90_PARALLEL= mpif90
FFLAGS= -fconvert=big-endian -fPIC
FFLAGS_PARALLEL= -DMPI
FFLAGS_FAST= -O3
FFLAGS_DEBUG= -O0 -g -fcheck=all
FFLAGS_DEBUG= -O0 -g -fcheck=all
EXTENSION=.gfortran
endif

ifeq ($(SYSTEM), nag)
F90_SERIAL= nagfor
F90_PARALLEL= mpif90
FFLAGS= -DNAG
FFLAGS= -DNAG
FFLAGS_PARALLEL=
FFLAGS_FAST= -O3 -Oassumed -w=all -ieee=full
FFLAGS_DEBUG= -Ddebug -g -O0 -pg -C=all -gline -w=all -ieee=full
FFLAGS_FAST= -O3 -Oassumed -w=all -ieee=full
FFLAGS_DEBUG= -Ddebug -g -O0 -pg -C=all -gline -w=all -ieee=full
EXTENSION=.nag
endif

ifeq ($(SYSTEM), ifort)
F90_SERIAL= ifort
F90_PARALLEL= mpif90
F90_PARALLEL= mpif90
FFLAGS= -convert big_endian
FFLAGS_PARALLEL= -DMPI
FFLAGS_FAST= -O3
Expand All @@ -64,7 +63,7 @@ endif

ifeq ($(SYSTEM), pathscale)
F90_SERIAL= pathf95
F90_PARALLEL= mpif90
F90_PARALLEL= mpif90
FFLAGS= -byteswapio
FFLAGS_PARALLEL= -DMPI
FFLAGS_FAST= -O3 -OPT:Ofast -ffast-math -OPT:recip=ON -OPT:malloc_algorithm=1
Expand All @@ -76,18 +75,18 @@ ifeq ($(SYSTEM), pgf90)
F90_SERIAL= pgf90
F90_PARALLEL= mpif90
FFLAGS= -Mbyteswapio
FFLAGS_PARALLEL= -DMPI
FFLAGS_PARALLEL= -DMPI
FFLAGS_FAST= -O3
FFLAGS_DEBUG= -O0 -C -pg -g -Mbounds
FFLAGS_DEBUG= -O0 -C -pg -g -Mbounds
EXTENSION=.pgf90
endif

ifeq ($(SYSTEM), sun)
F90_SERIAL= sunf95
F90_PARALLEL= mpif90
FFLAGS=
FFLAGS=
FFLAGS_PARALLEL= -DMPI
FFLAGS_FAST=
FFLAGS_FAST=
FFLAGS_DEBUG= -O0 -C -pg -g
EXTENSION=.sunf95
endif
Expand Down
Loading