-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
416 additions
and
302 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from nonebot import require | ||
|
||
require("nonebot_plugin_saa") | ||
require("nonebot_plugin_htmlrender") | ||
require("nonebot_plugin_localstore") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import re | ||
|
||
from nonebot import get_driver | ||
from nonebot_plugin_localstore import get_data_dir | ||
from pydantic import Extra, Field, HttpUrl, BaseModel, validator | ||
|
||
DATA_DIR = get_data_dir("nonebot_plugin_literature") | ||
|
||
|
||
class Config(BaseModel, extra=Extra.ignore): | ||
proxy: HttpUrl = Field(None, description="HTTP proxy to use for requests.") | ||
timeout: int = Field(30, description="Timeout for web requests in seconds.") | ||
literature_render: str = Field("htmlrender", description="Render type for literature.") | ||
|
||
@validator("literature_render") | ||
def check_literature_render(cls, values): | ||
if values["literature_render"] not in ["htmlrender", "PIL"]: | ||
raise ValueError("literature_render must be one of 'htmlrender' or 'PIL'") | ||
return values | ||
|
||
@validator("proxy") | ||
def check_proxy(cls, values): | ||
if not re.match(r"^http://[^\s:]+:[0-9]+$", values): | ||
raise ValueError("proxy 必须是 http://xxx:xxx 格式") | ||
return {"http": values, "https": values} | ||
|
||
|
||
global_config = get_driver().config | ||
plugin_config = Config.parse_obj(global_config) |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<feed xmlns="http://www.w3.org/2005/Atom"> | ||
<link href="http://arxiv.org/api/query?search_query%3Dall%3Aelectron%26id_list%3D%26start%3D0%26max_results%3D1" rel="self" type="application/atom+xml"/> | ||
<title type="html">ArXiv Query: search_query=all:electron&id_list=&start=0&max_results=1</title> | ||
<id>http://arxiv.org/api/cHxbiOdZaP56ODnBPIenZhzg5f8</id> | ||
<updated>2024-01-07T00:00:00-05:00</updated> | ||
<opensearch:totalResults xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/">204910</opensearch:totalResults> | ||
<opensearch:startIndex xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/">0</opensearch:startIndex> | ||
<opensearch:itemsPerPage xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/">1</opensearch:itemsPerPage> | ||
<entry> | ||
<id>http://arxiv.org/abs/cond-mat/0102536v1</id> | ||
<updated>2001-02-28T20:12:09Z</updated> | ||
<published>2001-02-28T20:12:09Z</published> | ||
<title>Impact of Electron-Electron Cusp on Configuration Interaction Energies</title> | ||
<summary> The effect of the electron-electron cusp on the convergence of configuration | ||
interaction (CI) wave functions is examined. By analogy with the | ||
pseudopotential approach for electron-ion interactions, an effective | ||
electron-electron interaction is developed which closely reproduces the | ||
scattering of the Coulomb interaction but is smooth and finite at zero | ||
electron-electron separation. The exact many-electron wave function for this | ||
smooth effective interaction has no cusp at zero electron-electron separation. | ||
We perform CI and quantum Monte Carlo calculations for He and Be atoms, both | ||
with the Coulomb electron-electron interaction and with the smooth effective | ||
electron-electron interaction. We find that convergence of the CI expansion of | ||
the wave function for the smooth electron-electron interaction is not | ||
significantly improved compared with that for the divergent Coulomb interaction | ||
for energy differences on the order of 1 mHartree. This shows that, contrary to | ||
popular belief, description of the electron-electron cusp is not a limiting | ||
factor, to within chemical accuracy, for CI calculations. | ||
</summary> | ||
<author> | ||
<name>David Prendergast</name> | ||
<arxiv:affiliation xmlns:arxiv="http://arxiv.org/schemas/atom">Department of Physics</arxiv:affiliation> | ||
</author> | ||
<author> | ||
<name>M. Nolan</name> | ||
<arxiv:affiliation xmlns:arxiv="http://arxiv.org/schemas/atom">NMRC, University College, Cork, Ireland</arxiv:affiliation> | ||
</author> | ||
<author> | ||
<name>Claudia Filippi</name> | ||
<arxiv:affiliation xmlns:arxiv="http://arxiv.org/schemas/atom">Department of Physics</arxiv:affiliation> | ||
</author> | ||
<author> | ||
<name>Stephen Fahy</name> | ||
<arxiv:affiliation xmlns:arxiv="http://arxiv.org/schemas/atom">Department of Physics</arxiv:affiliation> | ||
</author> | ||
<author> | ||
<name>J. C. Greer</name> | ||
<arxiv:affiliation xmlns:arxiv="http://arxiv.org/schemas/atom">NMRC, University College, Cork, Ireland</arxiv:affiliation> | ||
</author> | ||
<arxiv:doi xmlns:arxiv="http://arxiv.org/schemas/atom">10.1063/1.1383585</arxiv:doi> | ||
<link title="doi" href="http://dx.doi.org/10.1063/1.1383585" rel="related"/> | ||
<arxiv:comment xmlns:arxiv="http://arxiv.org/schemas/atom">11 pages, 6 figures, 3 tables, LaTeX209, submitted to The Journal of | ||
Chemical Physics</arxiv:comment> | ||
<arxiv:journal_ref xmlns:arxiv="http://arxiv.org/schemas/atom">J. Chem. Phys. 115, 1626 (2001)</arxiv:journal_ref> | ||
<link href="http://arxiv.org/abs/cond-mat/0102536v1" rel="alternate" type="text/html"/> | ||
<link title="pdf" href="http://arxiv.org/pdf/cond-mat/0102536v1" rel="related" type="application/pdf"/> | ||
<arxiv:primary_category xmlns:arxiv="http://arxiv.org/schemas/atom" term="cond-mat.str-el" scheme="http://arxiv.org/schemas/atom"/> | ||
<category term="cond-mat.str-el" scheme="http://arxiv.org/schemas/atom"/> | ||
</entry> | ||
</feed> |