Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
parser-elk
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nomad-lab
parser-elk
Commits
bc07476f
Commit
bc07476f
authored
Jan 26, 2019
by
Mohamed, Fawzi Roberto (fawzi)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
meta 2.0 changes
parent
c8966450
Pipeline
#42753
passed with stage
in 13 minutes and 40 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
parser/parser-elk/parser_elk.py
parser/parser-elk/parser_elk.py
+5
-5
src/main/scala/eu/nomad_lab/parsers/ElkParser.scala
src/main/scala/eu/nomad_lab/parsers/ElkParser.scala
+1
-1
No files found.
parser/parser-elk/parser_elk.py
View file @
bc07476f
...
...
@@ -72,12 +72,12 @@ class ElkContext(object):
30
:
[
'GGA_C_AM05'
,
'GGA_X_AM05'
]
}
for
xcName
in
xc_internal_map
[
xcNr
]:
gi
=
backend
.
openSection
(
"section_
XC
_functionals"
)
backend
.
addValue
(
"
XC
_functional_name"
,
xcName
)
backend
.
closeSection
(
"section_
XC
_functionals"
,
gi
)
gi
=
backend
.
openSection
(
"section_
xc
_functionals"
)
backend
.
addValue
(
"
xc
_functional_name"
,
xcName
)
backend
.
closeSection
(
"section_
xc
_functionals"
,
gi
)
def
onClose_section_single_configuration_calculation
(
self
,
backend
,
gIndex
,
section
):
backend
.
addValue
(
'single_configuration_
to_calculation
_method_ref'
,
self
.
secMethodIndex
)
backend
.
addValue
(
'single_configuration_
calculation_to
_method_ref'
,
self
.
secMethodIndex
)
backend
.
addValue
(
'single_configuration_calculation_to_system_ref'
,
self
.
secSystemIndex
)
dirPath
=
os
.
path
.
dirname
(
self
.
parser
.
fIn
.
name
)
dosFile
=
os
.
path
.
join
(
dirPath
,
"TDOS.OUT"
)
...
...
@@ -274,7 +274,7 @@ mainFileDescription = \
SM
(
r"\s*electron-nuclear\s*:\s*(?P<x_elk_electron_nuclear_energy_scf_iteration__hartree>[-0-9.]+)"
),
SM
(
r"\s*Hartree\s*:\s*(?P<x_elk_hartree_energy_scf_iteration__hartree>[-0-9.]+)"
),
SM
(
r"\s*Madelung\s*:\s*(?P<x_elk_madelung_energy_scf_iteration__hartree>[-0-9.]+)"
),
SM
(
r"\s*xc potential\s*:\s*(?P<energy_
XC
_potential_scf_iteration__hartree>[-0-9.]+)"
),
SM
(
r"\s*xc potential\s*:\s*(?P<energy_
xc
_potential_scf_iteration__hartree>[-0-9.]+)"
),
SM
(
r"\s*exchange\s*:\s*(?P<x_elk_exchange_energy_scf_iteration__hartree>[-0-9.]+)"
),
SM
(
r"\s*correlation\s*:\s*(?P<x_elk_correlation_energy_scf_iteration__hartree>[-0-9.]+)"
),
SM
(
r"\s*electron entropic\s*:\s*(?P<x_elk_electron_entropic_energy_scf_iteration__hartree>[-0-9.]+([E]?[-]?[0-9]+))"
),
...
...
src/main/scala/eu/nomad_lab/parsers/ElkParser.scala
View file @
bc07476f
...
...
@@ -48,7 +48,7 @@ object ElkParser extends SimpleExternalParserGenerator(
"parser-elk/setup_paths.py"
,
"nomad_meta_info/public.nomadmetainfo.json"
,
"nomad_meta_info/common.nomadmetainfo.json"
,
"nomad_meta_info/meta
_types
.nomadmetainfo.json"
,
"nomad_meta_info/meta.nomadmetainfo.json"
,
"nomad_meta_info/elk.nomadmetainfo.json"
)
++
DefaultPythonInterpreter
.
commonFiles
(),
dirMap
=
Map
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment