qupled 1.0.0__tar.gz → 1.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- qupled-1.0.2/.clang-format +190 -0
- qupled-1.0.2/.github/workflows/build-and-test-base.yml +56 -0
- qupled-1.0.2/.github/workflows/build-and-test.yml +13 -0
- qupled-1.0.2/.github/workflows/formatting.yml +33 -0
- qupled-1.0.2/.github/workflows/release.yml +45 -0
- qupled-1.0.2/.gitignore +11 -0
- qupled-1.0.2/.readthedocs.yaml +17 -0
- qupled-1.0.2/MANIFEST.in +3 -0
- qupled-1.0.2/PKG-INFO +74 -0
- qupled-1.0.2/README.md +45 -0
- qupled-1.0.2/dev/devtool.py +207 -0
- qupled-1.0.2/dev/requirements.txt +15 -0
- qupled-1.0.2/devtool +5 -0
- qupled-1.0.2/docs/_static/css/rdt_theme_python_properties.css +3 -0
- qupled-1.0.2/docs/conf.py +34 -0
- qupled-1.0.2/docs/contribute.rst +34 -0
- qupled-1.0.2/docs/examples.rst +151 -0
- qupled-1.0.2/docs/index.rst +18 -0
- qupled-1.0.2/docs/introduction.rst +87 -0
- qupled-1.0.2/docs/make.bat +35 -0
- qupled-1.0.2/docs/qupled.rst +533 -0
- qupled-1.0.2/docs/requirements.txt +4 -0
- qupled-1.0.2/examples/docs/fixedAdrQVSStls.py +27 -0
- qupled-1.0.2/examples/docs/fixedAdrQstls.py +37 -0
- qupled-1.0.2/examples/docs/fixedAdrQstlsIet.py +27 -0
- qupled-1.0.2/examples/docs/initialGuessQstls.py +19 -0
- qupled-1.0.2/examples/docs/initialGuessQstlsIet.py +20 -0
- qupled-1.0.2/examples/docs/initialGuessStls.py +17 -0
- qupled-1.0.2/examples/docs/solveQVSStls.py +29 -0
- qupled-1.0.2/examples/docs/solveQuantumSchemes.py +30 -0
- qupled-1.0.2/examples/docs/solveRpaAndESA.py +49 -0
- qupled-1.0.2/examples/docs/solveStls.py +28 -0
- qupled-1.0.2/examples/docs/solveStlsIet.py +17 -0
- qupled-1.0.2/examples/docs/solveVSStls.py +30 -0
- qupled-1.0.2/examples/docs/tests/test_examples.py +85 -0
- qupled-1.0.2/examples/readme/create_cover.py +208 -0
- qupled-1.0.2/examples/readme/qupled_animation_dark.svg +2862 -0
- qupled-1.0.2/examples/readme/qupled_animation_light.svg +3072 -0
- qupled-1.0.2/pyproject.toml +46 -0
- qupled-1.0.2/setup.py +18 -0
- qupled-1.0.2/src/qupled/__init__.py +1 -0
- qupled-1.0.2/src/qupled/classic.py +494 -0
- qupled-1.0.2/src/qupled/native/include/bin_util.hpp +58 -0
- qupled-1.0.2/src/qupled/native/include/chemical_potential.hpp +25 -0
- qupled-1.0.2/src/qupled/native/include/dual.hpp +279 -0
- qupled-1.0.2/src/qupled/native/include/esa.hpp +59 -0
- qupled-1.0.2/src/qupled/native/include/free_energy.hpp +45 -0
- qupled-1.0.2/src/qupled/native/include/input.hpp +373 -0
- qupled-1.0.2/src/qupled/native/include/internal_energy.hpp +55 -0
- qupled-1.0.2/src/qupled/native/include/logger.hpp +25 -0
- qupled-1.0.2/src/qupled/native/include/mpi_util.hpp +72 -0
- qupled-1.0.2/src/qupled/native/include/num_util.hpp +28 -0
- qupled-1.0.2/src/qupled/native/include/numerics.hpp +433 -0
- qupled-1.0.2/src/qupled/native/include/python_util.hpp +52 -0
- qupled-1.0.2/src/qupled/native/include/python_wrappers.hpp +195 -0
- qupled-1.0.2/src/qupled/native/include/qstls.hpp +389 -0
- qupled-1.0.2/src/qupled/native/include/qvs.hpp +190 -0
- qupled-1.0.2/src/qupled/native/include/rdf.hpp +53 -0
- qupled-1.0.2/src/qupled/native/include/rpa.hpp +291 -0
- qupled-1.0.2/src/qupled/native/include/stls.hpp +200 -0
- qupled-1.0.2/src/qupled/native/include/thermo_util.hpp +31 -0
- qupled-1.0.2/src/qupled/native/include/vector2D.hpp +98 -0
- qupled-1.0.2/src/qupled/native/include/vector3D.hpp +102 -0
- qupled-1.0.2/src/qupled/native/include/vector_util.hpp +47 -0
- qupled-1.0.2/src/qupled/native/include/vsbase.hpp +294 -0
- qupled-1.0.2/src/qupled/native/include/vsstls.hpp +125 -0
- qupled-1.0.2/src/qupled/native/src/CMakeLists.txt +82 -0
- qupled-1.0.2/src/qupled/native/src/chemical_potential.cpp +17 -0
- qupled-1.0.2/src/qupled/native/src/esa.cpp +235 -0
- qupled-1.0.2/src/qupled/native/src/free_energy.cpp +10 -0
- qupled-1.0.2/src/qupled/native/src/input.cpp +377 -0
- qupled-1.0.2/src/qupled/native/src/internal_energy.cpp +12 -0
- qupled-1.0.2/src/qupled/native/src/logger.cpp +11 -0
- qupled-1.0.2/src/qupled/native/src/mpi_util.cpp +174 -0
- qupled-1.0.2/src/qupled/native/src/num_util.cpp +22 -0
- qupled-1.0.2/src/qupled/native/src/numerics.cpp +425 -0
- qupled-1.0.2/src/qupled/native/src/python_modules.cpp +207 -0
- qupled-1.0.2/src/qupled/native/src/python_util.cpp +105 -0
- qupled-1.0.2/src/qupled/native/src/python_wrappers.cpp +281 -0
- qupled-1.0.2/src/qupled/native/src/qstls.cpp +818 -0
- qupled-1.0.2/src/qupled/native/src/qvs.cpp +349 -0
- qupled-1.0.2/src/qupled/native/src/rdf.cpp +24 -0
- qupled-1.0.2/src/qupled/native/src/rpa.cpp +354 -0
- qupled-1.0.2/src/qupled/native/src/stls.cpp +447 -0
- qupled-1.0.2/src/qupled/native/src/thermo_util.cpp +59 -0
- qupled-1.0.2/src/qupled/native/src/vector2D.cpp +111 -0
- qupled-1.0.2/src/qupled/native/src/vector3D.cpp +106 -0
- qupled-1.0.2/src/qupled/native/src/vector_util.cpp +81 -0
- qupled-1.0.2/src/qupled/native/src/vsbase.cpp +547 -0
- qupled-1.0.2/src/qupled/native/src/vsstls.cpp +189 -0
- qupled-1.0.2/src/qupled/quantum.py +301 -0
- qupled-1.0.2/src/qupled/util.py +330 -0
- qupled-1.0.2/src/qupled.egg-info/PKG-INFO +74 -0
- qupled-1.0.2/src/qupled.egg-info/SOURCES.txt +120 -0
- qupled-1.0.2/src/qupled.egg-info/requires.txt +18 -0
- qupled-1.0.2/src/qupled.egg-info/top_level.txt +1 -0
- qupled-1.0.2/tests/test_esa.py +31 -0
- qupled-1.0.2/tests/test_esa_native.py +43 -0
- qupled-1.0.2/tests/test_hdf.py +175 -0
- qupled-1.0.2/tests/test_plot.py +32 -0
- qupled-1.0.2/tests/test_qstls.py +79 -0
- qupled-1.0.2/tests/test_qstls_iet.py +125 -0
- qupled-1.0.2/tests/test_qstls_input.py +126 -0
- qupled-1.0.2/tests/test_qstls_native.py +89 -0
- qupled-1.0.2/tests/test_qvs.py +140 -0
- qupled-1.0.2/tests/test_qvs_input.py +178 -0
- qupled-1.0.2/tests/test_qvs_native.py +63 -0
- qupled-1.0.2/tests/test_rpa.py +108 -0
- qupled-1.0.2/tests/test_rpa_input.py +190 -0
- qupled-1.0.2/tests/test_rpa_native.py +42 -0
- qupled-1.0.2/tests/test_stls.py +75 -0
- qupled-1.0.2/tests/test_stls_iet.py +67 -0
- qupled-1.0.2/tests/test_stls_input.py +154 -0
- qupled-1.0.2/tests/test_stls_native.py +90 -0
- qupled-1.0.2/tests/test_vsstls.py +81 -0
- qupled-1.0.2/tests/test_vsstls_input.py +164 -0
- qupled-1.0.2/tests/test_vsstls_native.py +51 -0
- qupled-1.0.2/tox.ini +20 -0
- qupled-1.0.0/PKG-INFO +0 -103
- qupled-1.0.0/README.md +0 -90
- qupled-1.0.0/pyproject.toml +0 -19
- qupled-1.0.0/src/qupled.egg-info/PKG-INFO +0 -103
- qupled-1.0.0/src/qupled.egg-info/SOURCES.txt +0 -7
- {qupled-1.0.0 → qupled-1.0.2}/LICENSE +0 -0
- {qupled-1.0.0 → qupled-1.0.2}/setup.cfg +0 -0
- {qupled-1.0.0 → qupled-1.0.2}/src/qupled.egg-info/dependency_links.txt +0 -0
- /qupled-1.0.0/src/qupled.egg-info/top_level.txt → /qupled-1.0.2/src/qupled.egg-info/not-zip-safe +0 -0
@@ -0,0 +1,190 @@
|
|
1
|
+
---
|
2
|
+
Language: Cpp
|
3
|
+
# BasedOnStyle: LLVM
|
4
|
+
AccessModifierOffset: -2
|
5
|
+
AlignAfterOpenBracket: Align
|
6
|
+
AlignArrayOfStructures: None
|
7
|
+
AlignConsecutiveMacros: None
|
8
|
+
AlignConsecutiveAssignments: None
|
9
|
+
AlignConsecutiveBitFields: None
|
10
|
+
AlignConsecutiveDeclarations: None
|
11
|
+
AlignEscapedNewlines: Right
|
12
|
+
AlignOperands: Align
|
13
|
+
AlignTrailingComments: true
|
14
|
+
AllowAllArgumentsOnNextLine: true
|
15
|
+
AllowAllParametersOfDeclarationOnNextLine: true
|
16
|
+
AllowShortEnumsOnASingleLine: true
|
17
|
+
AllowShortBlocksOnASingleLine: Always
|
18
|
+
AllowShortCaseLabelsOnASingleLine: true
|
19
|
+
AllowShortFunctionsOnASingleLine: All
|
20
|
+
AllowShortLambdasOnASingleLine: All
|
21
|
+
AllowShortIfStatementsOnASingleLine: WithoutElse
|
22
|
+
AllowShortLoopsOnASingleLine: false
|
23
|
+
AlwaysBreakAfterDefinitionReturnType: None
|
24
|
+
AlwaysBreakAfterReturnType: None
|
25
|
+
AlwaysBreakBeforeMultilineStrings: false
|
26
|
+
AlwaysBreakTemplateDeclarations: Yes
|
27
|
+
AttributeMacros:
|
28
|
+
- __capability
|
29
|
+
BinPackArguments: false
|
30
|
+
BinPackParameters: false
|
31
|
+
BraceWrapping:
|
32
|
+
AfterCaseLabel: false
|
33
|
+
AfterClass: false
|
34
|
+
AfterControlStatement: Never
|
35
|
+
AfterEnum: false
|
36
|
+
AfterFunction: false
|
37
|
+
AfterNamespace: false
|
38
|
+
AfterObjCDeclaration: false
|
39
|
+
AfterStruct: false
|
40
|
+
AfterUnion: false
|
41
|
+
AfterExternBlock: false
|
42
|
+
BeforeCatch: false
|
43
|
+
BeforeElse: false
|
44
|
+
BeforeLambdaBody: false
|
45
|
+
BeforeWhile: false
|
46
|
+
IndentBraces: false
|
47
|
+
SplitEmptyFunction: true
|
48
|
+
SplitEmptyRecord: true
|
49
|
+
SplitEmptyNamespace: true
|
50
|
+
BreakBeforeBinaryOperators: NonAssignment
|
51
|
+
BreakBeforeConceptDeclarations: true
|
52
|
+
BreakBeforeBraces: Attach
|
53
|
+
BreakBeforeInheritanceComma: false
|
54
|
+
BreakInheritanceList: BeforeColon
|
55
|
+
BreakBeforeTernaryOperators: true
|
56
|
+
BreakConstructorInitializersBeforeComma: false
|
57
|
+
BreakConstructorInitializers: BeforeColon
|
58
|
+
BreakAfterJavaFieldAnnotations: false
|
59
|
+
BreakStringLiterals: true
|
60
|
+
ColumnLimit: 80
|
61
|
+
CommentPragmas: '^ IWYU pragma:'
|
62
|
+
QualifierAlignment: Leave
|
63
|
+
CompactNamespaces: false
|
64
|
+
ConstructorInitializerIndentWidth: 4
|
65
|
+
ContinuationIndentWidth: 4
|
66
|
+
Cpp11BracedListStyle: true
|
67
|
+
DeriveLineEnding: true
|
68
|
+
DerivePointerAlignment: false
|
69
|
+
DisableFormat: false
|
70
|
+
EmptyLineAfterAccessModifier: Always
|
71
|
+
EmptyLineBeforeAccessModifier: Always
|
72
|
+
ExperimentalAutoDetectBinPacking: false
|
73
|
+
PackConstructorInitializers: Never
|
74
|
+
BasedOnStyle: ''
|
75
|
+
ConstructorInitializerAllOnOneLineOrOnePerLine: false
|
76
|
+
AllowAllConstructorInitializersOnNextLine: true
|
77
|
+
FixNamespaceComments: true
|
78
|
+
ForEachMacros:
|
79
|
+
- foreach
|
80
|
+
- Q_FOREACH
|
81
|
+
- BOOST_FOREACH
|
82
|
+
IfMacros:
|
83
|
+
- KJ_IF_MAYBE
|
84
|
+
IncludeBlocks: Preserve
|
85
|
+
IncludeCategories:
|
86
|
+
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
|
87
|
+
Priority: 2
|
88
|
+
SortPriority: 0
|
89
|
+
CaseSensitive: false
|
90
|
+
- Regex: '^(<|"(gtest|gmock|isl|json)/)'
|
91
|
+
Priority: 3
|
92
|
+
SortPriority: 0
|
93
|
+
CaseSensitive: false
|
94
|
+
- Regex: '.*'
|
95
|
+
Priority: 1
|
96
|
+
SortPriority: 0
|
97
|
+
CaseSensitive: false
|
98
|
+
IncludeIsMainRegex: '(Test)?$'
|
99
|
+
IncludeIsMainSourceRegex: ''
|
100
|
+
IndentAccessModifiers: false
|
101
|
+
IndentCaseLabels: false
|
102
|
+
IndentCaseBlocks: false
|
103
|
+
IndentGotoLabels: true
|
104
|
+
IndentPPDirectives: None
|
105
|
+
IndentExternBlock: AfterExternBlock
|
106
|
+
IndentRequires: false
|
107
|
+
IndentWidth: 2
|
108
|
+
IndentWrappedFunctionNames: false
|
109
|
+
InsertTrailingCommas: None
|
110
|
+
JavaScriptQuotes: Leave
|
111
|
+
JavaScriptWrapImports: true
|
112
|
+
KeepEmptyLinesAtTheStartOfBlocks: true
|
113
|
+
LambdaBodyIndentation: Signature
|
114
|
+
MacroBlockBegin: ''
|
115
|
+
MacroBlockEnd: ''
|
116
|
+
MaxEmptyLinesToKeep: 1
|
117
|
+
NamespaceIndentation: All
|
118
|
+
ObjCBinPackProtocolList: Auto
|
119
|
+
ObjCBlockIndentWidth: 2
|
120
|
+
ObjCBreakBeforeNestedBlockParam: true
|
121
|
+
ObjCSpaceAfterProperty: false
|
122
|
+
ObjCSpaceBeforeProtocolList: true
|
123
|
+
PenaltyBreakAssignment: 2
|
124
|
+
PenaltyBreakBeforeFirstCallParameter: 19
|
125
|
+
PenaltyBreakComment: 300
|
126
|
+
PenaltyBreakFirstLessLess: 120
|
127
|
+
PenaltyBreakOpenParenthesis: 0
|
128
|
+
PenaltyBreakString: 1000
|
129
|
+
PenaltyBreakTemplateDeclaration: 10
|
130
|
+
PenaltyExcessCharacter: 1000000
|
131
|
+
PenaltyReturnTypeOnItsOwnLine: 60
|
132
|
+
PenaltyIndentedWhitespace: 0
|
133
|
+
PointerAlignment: Right
|
134
|
+
PPIndentWidth: -1
|
135
|
+
ReferenceAlignment: Pointer
|
136
|
+
ReflowComments: true
|
137
|
+
RemoveBracesLLVM: false
|
138
|
+
SeparateDefinitionBlocks: Leave
|
139
|
+
ShortNamespaceLines: 1
|
140
|
+
SortIncludes: CaseSensitive
|
141
|
+
SortJavaStaticImport: Before
|
142
|
+
SortUsingDeclarations: true
|
143
|
+
SpaceAfterCStyleCast: false
|
144
|
+
SpaceAfterLogicalNot: false
|
145
|
+
SpaceAfterTemplateKeyword: true
|
146
|
+
SpaceBeforeAssignmentOperators: true
|
147
|
+
SpaceBeforeCaseColon: false
|
148
|
+
SpaceBeforeCpp11BracedList: false
|
149
|
+
SpaceBeforeCtorInitializerColon: true
|
150
|
+
SpaceBeforeInheritanceColon: true
|
151
|
+
SpaceBeforeParens: ControlStatements
|
152
|
+
SpaceBeforeParensOptions:
|
153
|
+
AfterControlStatements: true
|
154
|
+
AfterForeachMacros: true
|
155
|
+
AfterFunctionDefinitionName: false
|
156
|
+
AfterFunctionDeclarationName: false
|
157
|
+
AfterIfMacros: true
|
158
|
+
AfterOverloadedOperator: false
|
159
|
+
BeforeNonEmptyParentheses: false
|
160
|
+
SpaceAroundPointerQualifiers: Default
|
161
|
+
SpaceBeforeRangeBasedForLoopColon: true
|
162
|
+
SpaceInEmptyBlock: false
|
163
|
+
SpaceInEmptyParentheses: false
|
164
|
+
SpacesBeforeTrailingComments: 1
|
165
|
+
SpacesInAngles: Never
|
166
|
+
SpacesInConditionalStatement: false
|
167
|
+
SpacesInContainerLiterals: true
|
168
|
+
SpacesInCStyleCastParentheses: false
|
169
|
+
SpacesInLineCommentPrefix:
|
170
|
+
Minimum: 1
|
171
|
+
Maximum: -1
|
172
|
+
SpacesInParentheses: false
|
173
|
+
SpacesInSquareBrackets: false
|
174
|
+
SpaceBeforeSquareBrackets: false
|
175
|
+
BitFieldColonSpacing: Both
|
176
|
+
Standard: Latest
|
177
|
+
StatementAttributeLikeMacros:
|
178
|
+
- Q_EMIT
|
179
|
+
StatementMacros:
|
180
|
+
- Q_UNUSED
|
181
|
+
- QT_REQUIRE_VERSION
|
182
|
+
TabWidth: 8
|
183
|
+
UseCRLF: false
|
184
|
+
UseTab: Never
|
185
|
+
WhitespaceSensitiveMacros:
|
186
|
+
- STRINGIZE
|
187
|
+
- PP_STRINGIZE
|
188
|
+
- BOOST_PP_STRINGIZE
|
189
|
+
- NS_SWIFT_NAME
|
190
|
+
- CF_SWIFT_NAME
|
@@ -0,0 +1,56 @@
|
|
1
|
+
name: Build & Test
|
2
|
+
|
3
|
+
on:
|
4
|
+
workflow_call:
|
5
|
+
inputs:
|
6
|
+
upload-artifact:
|
7
|
+
required: true
|
8
|
+
type: string
|
9
|
+
build-version:
|
10
|
+
required: false
|
11
|
+
type: string
|
12
|
+
default: ""
|
13
|
+
|
14
|
+
env:
|
15
|
+
PYTHON_VENV_ROOT: ${{ github.workspace }}/python-venv
|
16
|
+
|
17
|
+
jobs:
|
18
|
+
build_and_test:
|
19
|
+
runs-on: ${{ matrix.os }}
|
20
|
+
strategy:
|
21
|
+
matrix:
|
22
|
+
os: [macos-latest, ubuntu-latest]
|
23
|
+
|
24
|
+
steps:
|
25
|
+
- name: Checkout repository
|
26
|
+
uses: actions/checkout@v2
|
27
|
+
|
28
|
+
- name: Install dependencies
|
29
|
+
run: |
|
30
|
+
./devtool install-deps
|
31
|
+
python3 -m venv ${PYTHON_VENV_ROOT}
|
32
|
+
|
33
|
+
- name: Set build version
|
34
|
+
if: ${{ inputs.build-version != '' }}
|
35
|
+
run: |
|
36
|
+
./devtool update-version ${{ inputs.build-version }}
|
37
|
+
|
38
|
+
- name: Build
|
39
|
+
run: |
|
40
|
+
source ${PYTHON_VENV_ROOT}/bin/activate
|
41
|
+
pip3 install --upgrade pip
|
42
|
+
pip3 install build setuptools
|
43
|
+
./devtool build
|
44
|
+
|
45
|
+
- name: Tests
|
46
|
+
run: |
|
47
|
+
source ${PYTHON_VENV_ROOT}/bin/activate
|
48
|
+
pip3 install tox
|
49
|
+
./devtool test
|
50
|
+
|
51
|
+
- name: Upload artifact
|
52
|
+
if: ${{ success() && inputs.upload-artifact == 'true' }}
|
53
|
+
uses: actions/upload-artifact@v4
|
54
|
+
with:
|
55
|
+
name: qupled-${{ matrix.os }}
|
56
|
+
path: dist
|
@@ -0,0 +1,33 @@
|
|
1
|
+
name: Code Formatting
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
pull_request:
|
6
|
+
|
7
|
+
jobs:
|
8
|
+
format:
|
9
|
+
runs-on: ubuntu-latest
|
10
|
+
|
11
|
+
steps:
|
12
|
+
- name: Checkout repository
|
13
|
+
uses: actions/checkout@v2
|
14
|
+
|
15
|
+
- name: Set up Python
|
16
|
+
uses: actions/setup-python@v2
|
17
|
+
with:
|
18
|
+
python-version: '3.12'
|
19
|
+
|
20
|
+
- name: Install dependencies
|
21
|
+
run: |
|
22
|
+
pip3 install --upgrade pip
|
23
|
+
pip3 install black # Install Black for Python formatting
|
24
|
+
sudo apt update
|
25
|
+
sudo apt-get install clang-format
|
26
|
+
|
27
|
+
- name: Check Python formatting
|
28
|
+
run: black --check .
|
29
|
+
|
30
|
+
- name: Check C++ formatting
|
31
|
+
run: |
|
32
|
+
find . -name "*.cpp" | xargs clang-format --style=file --dry-run -Werror
|
33
|
+
find . -name "*.hpp" | xargs clang-format --style=file --dry-run -Werror
|
@@ -0,0 +1,45 @@
|
|
1
|
+
name: Release
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
tags:
|
6
|
+
- 'v*'
|
7
|
+
|
8
|
+
env:
|
9
|
+
PYTHON_VENV_ROOT: ${{ github.workspace }}/python-venv
|
10
|
+
|
11
|
+
jobs:
|
12
|
+
|
13
|
+
build-and-test:
|
14
|
+
uses: ./.github/workflows/build-and-test-base.yml
|
15
|
+
with:
|
16
|
+
upload-artifact: true
|
17
|
+
build-version: ${GITHUB_REF#refs/tags/v}
|
18
|
+
|
19
|
+
publish:
|
20
|
+
|
21
|
+
runs-on: ubuntu-latest
|
22
|
+
needs: [build-and-test]
|
23
|
+
|
24
|
+
steps:
|
25
|
+
|
26
|
+
- name: Download linux package
|
27
|
+
uses: actions/download-artifact@v4
|
28
|
+
with:
|
29
|
+
name: qupled-ubuntu-latest
|
30
|
+
path: qupled-ubuntu-latest
|
31
|
+
|
32
|
+
- name: Set up Python environment
|
33
|
+
run: |
|
34
|
+
python3 -m venv ${PYTHON_VENV_ROOT}
|
35
|
+
source ${PYTHON_VENV_ROOT}/bin/activate
|
36
|
+
pip3 install --upgrade pip
|
37
|
+
pip3 install twine
|
38
|
+
|
39
|
+
- name: Publish to PyPI
|
40
|
+
env:
|
41
|
+
TWINE_USERNAME: __token__
|
42
|
+
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
|
43
|
+
run: |
|
44
|
+
source ${PYTHON_VENV_ROOT}/bin/activate
|
45
|
+
twine upload --non-interactive qupled-ubuntu-latest/*.tar.gz
|
qupled-1.0.2/.gitignore
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# Required
|
2
|
+
version: 2
|
3
|
+
|
4
|
+
# Set the version of Python and other tools you might need
|
5
|
+
build:
|
6
|
+
os: ubuntu-22.04
|
7
|
+
tools:
|
8
|
+
python: "3.11"
|
9
|
+
|
10
|
+
# Build documentation in the docs/ directory with Sphinx
|
11
|
+
sphinx:
|
12
|
+
configuration: docs/conf.py
|
13
|
+
|
14
|
+
# Optionally declare the Python requirements required to build your docs
|
15
|
+
python:
|
16
|
+
install:
|
17
|
+
- requirements: docs/requirements.txt
|
qupled-1.0.2/MANIFEST.in
ADDED
qupled-1.0.2/PKG-INFO
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
Metadata-Version: 2.2
|
2
|
+
Name: qupled
|
3
|
+
Version: 1.0.2
|
4
|
+
Summary: qupled: a package to investigate quantum plasmas via the dielectric formalism
|
5
|
+
Author-email: Federico Lucco Castello <federico.luccocastello@gmail.com>
|
6
|
+
Classifier: Programming Language :: Python :: 3.10
|
7
|
+
Classifier: Operating System :: MacOS
|
8
|
+
Classifier: Operating System :: POSIX :: Linux
|
9
|
+
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
10
|
+
Requires-Python: <3.14,>=3.10
|
11
|
+
Description-Content-Type: text/markdown
|
12
|
+
License-File: LICENSE
|
13
|
+
Requires-Dist: matplotlib~=3.7
|
14
|
+
Requires-Dist: numpy<2.0
|
15
|
+
Requires-Dist: pandas~=2.0
|
16
|
+
Requires-Dist: tables~=3.10
|
17
|
+
Provides-Extra: testing
|
18
|
+
Requires-Dist: pytest~=8.0; extra == "testing"
|
19
|
+
Requires-Dist: pytest-mock~=3.12; extra == "testing"
|
20
|
+
Provides-Extra: docs
|
21
|
+
Requires-Dist: sphinx-rtd-theme~=2.0.0; extra == "docs"
|
22
|
+
Requires-Dist: sphinxcontrib-applehelp~=2.0.0; extra == "docs"
|
23
|
+
Requires-Dist: sphinxcontrib-devhelp~=2.0.0; extra == "docs"
|
24
|
+
Requires-Dist: sphinxcontrib-htmlhelp~=2.1.0; extra == "docs"
|
25
|
+
Requires-Dist: sphinxcontrib-jquery~=4.1; extra == "docs"
|
26
|
+
Requires-Dist: sphinxcontrib-jsmath~=1.0.1; extra == "docs"
|
27
|
+
Requires-Dist: sphinxcontrib-qthelp~=2.0.0; extra == "docs"
|
28
|
+
Requires-Dist: sphinxcontrib-serializinghtml~=2.0.0; extra == "docs"
|
29
|
+
|
30
|
+
# Qupled
|
31
|
+
|
32
|
+
Qupled is a Python package designed for calculating the properties of quantum plasmas using the dielectric formalism. By combining a straightforward Python interface with the speed of C++, it allows for efficient and accurate computations of quantum plasma properties.
|
33
|
+
|
34
|
+

|
35
|
+

|
36
|
+
|
37
|
+
## Status
|
38
|
+
[](https://github.com/fedluc/qupled/actions/workflows/build-and-test.yml)
|
39
|
+
[](https://github.com/fedluc/qupled/actions/workflows/formatting.yml)
|
40
|
+

|
41
|
+
|
42
|
+
## Running
|
43
|
+
|
44
|
+
After [installation](https://qupled.readthedocs.io/en/latest/introduction.html#installing-qupled) qupled can be used as a regular Python package
|
45
|
+
|
46
|
+
```python
|
47
|
+
# Solve the stls dielectric scheme for coupling = 10 and degeneracy 1.0
|
48
|
+
from qupled.classic import Stls
|
49
|
+
inputs = Stls.Input(10.0, 1.0)
|
50
|
+
Stls().compute(inputs)
|
51
|
+
```
|
52
|
+
|
53
|
+
## Documentation
|
54
|
+
|
55
|
+
More detailed information on the package together with a list of examples is available in the [documentation](http://qupled.readthedocs.io/)
|
56
|
+
|
57
|
+
## Publications
|
58
|
+
|
59
|
+
Qupled has been used in the following publications:
|
60
|
+
|
61
|
+
<ol>
|
62
|
+
<li>
|
63
|
+
<a href="https://journals.aps.org/prb/abstract/10.1103/PhysRevB.109.125134">Tolias, P., Lucco Castello, F., Kalkavouras, F., & Dornheim, T. (2024). Revisiting the Vashishta-Singwi dielectric scheme for the warm dense uniform electron fluid. <i>Physical Review B</i>, <i>109</i>(12)</a>
|
64
|
+
</li>
|
65
|
+
<li>
|
66
|
+
<a href="https://pubs.aip.org/aip/jcp/article/158/14/141102/2877795/Quantum-version-of-the-integral-equation-theory">Tolias, P., Lucco Castello, F., & Dornheim, T. (2023). Quantum version of the integral equation theory-based dielectric scheme for strongly coupled electron liquids. <i>The Journal of Chemical Physics</i>, <i>158</i>(14)</a>
|
67
|
+
</li>
|
68
|
+
<li>
|
69
|
+
<a href="https://iopscience.iop.org/article/10.1209/0295-5075/ac7166/meta">Lucco Castello, F., Tolias, P., & Dornheim, T. (2022). Classical bridge functions in classical and quantum plasma liquids. <i>Europhysics Letters</i>, <i>138</i>(4)</a>
|
70
|
+
</li>
|
71
|
+
<li>
|
72
|
+
<a href="https://pubs.aip.org/aip/jcp/article/155/13/134115/353165/Integral-equation-theory-based-dielectric-scheme">Tolias, P., Lucco Castello, F., & Dornheim, T. (2021). Integral equation theory based dielectric scheme for strongly coupled electron liquids. <i>The Journal of Chemical Physics</i>, <i>155</i>(13)</a>
|
73
|
+
</li>
|
74
|
+
</ol>
|
qupled-1.0.2/README.md
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
# Qupled
|
2
|
+
|
3
|
+
Qupled is a Python package designed for calculating the properties of quantum plasmas using the dielectric formalism. By combining a straightforward Python interface with the speed of C++, it allows for efficient and accurate computations of quantum plasma properties.
|
4
|
+
|
5
|
+

|
6
|
+

|
7
|
+
|
8
|
+
## Status
|
9
|
+
[](https://github.com/fedluc/qupled/actions/workflows/build-and-test.yml)
|
10
|
+
[](https://github.com/fedluc/qupled/actions/workflows/formatting.yml)
|
11
|
+

|
12
|
+
|
13
|
+
## Running
|
14
|
+
|
15
|
+
After [installation](https://qupled.readthedocs.io/en/latest/introduction.html#installing-qupled) qupled can be used as a regular Python package
|
16
|
+
|
17
|
+
```python
|
18
|
+
# Solve the stls dielectric scheme for coupling = 10 and degeneracy 1.0
|
19
|
+
from qupled.classic import Stls
|
20
|
+
inputs = Stls.Input(10.0, 1.0)
|
21
|
+
Stls().compute(inputs)
|
22
|
+
```
|
23
|
+
|
24
|
+
## Documentation
|
25
|
+
|
26
|
+
More detailed information on the package together with a list of examples is available in the [documentation](http://qupled.readthedocs.io/)
|
27
|
+
|
28
|
+
## Publications
|
29
|
+
|
30
|
+
Qupled has been used in the following publications:
|
31
|
+
|
32
|
+
<ol>
|
33
|
+
<li>
|
34
|
+
<a href="https://journals.aps.org/prb/abstract/10.1103/PhysRevB.109.125134">Tolias, P., Lucco Castello, F., Kalkavouras, F., & Dornheim, T. (2024). Revisiting the Vashishta-Singwi dielectric scheme for the warm dense uniform electron fluid. <i>Physical Review B</i>, <i>109</i>(12)</a>
|
35
|
+
</li>
|
36
|
+
<li>
|
37
|
+
<a href="https://pubs.aip.org/aip/jcp/article/158/14/141102/2877795/Quantum-version-of-the-integral-equation-theory">Tolias, P., Lucco Castello, F., & Dornheim, T. (2023). Quantum version of the integral equation theory-based dielectric scheme for strongly coupled electron liquids. <i>The Journal of Chemical Physics</i>, <i>158</i>(14)</a>
|
38
|
+
</li>
|
39
|
+
<li>
|
40
|
+
<a href="https://iopscience.iop.org/article/10.1209/0295-5075/ac7166/meta">Lucco Castello, F., Tolias, P., & Dornheim, T. (2022). Classical bridge functions in classical and quantum plasma liquids. <i>Europhysics Letters</i>, <i>138</i>(4)</a>
|
41
|
+
</li>
|
42
|
+
<li>
|
43
|
+
<a href="https://pubs.aip.org/aip/jcp/article/155/13/134115/353165/Integral-equation-theory-based-dielectric-scheme">Tolias, P., Lucco Castello, F., & Dornheim, T. (2021). Integral equation theory based dielectric scheme for strongly coupled electron liquids. <i>The Journal of Chemical Physics</i>, <i>155</i>(13)</a>
|
44
|
+
</li>
|
45
|
+
</ol>
|