or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing
xxxxxxxxxx
Design patterns for real-space data handling
gosia.olejniczak@gmail.com
DIRAC meeting, June 2023
notes: https://hackmd.io/f-HgQmWARmOj2HQvW7qj1g
DIRAC issue: #545
DIRAC branch (dirac-private):
gosia/visual
Outline:
VISUAL module
\(P = \int {\bf P}(\vec{r}) d\vec{r}, \qquad {\bf P}(\vec{r}) = \langle \psi(\vec{r}) | \hat{P}(\vec{r}) | \psi (\vec{r})\rangle\)
VISUAL
module:Refactoring VISUAL module - motivation/new features:
Conceptualization
board
New user input
visual_custom_output
Labeled storage and schema
VISUAL
:VISUAL_checkpoint.F90
andVISUALschema.txt
- developed aftergp/checkpoint.F90
andDIRACchema.txt
gp/REALSPACE_checkpoint.F90
,utils/REALSPACEschema.txt
) or keep each of these modules self-contained?Schema for real-space data (snippet):
Data storage and representation
data schema:
grids
andgrid_functions
grid function
always exported with agrid
(a related grid is referred to via an index);grid
can be imported/exported separatelygrid
, thengrid_functions
as attributes of agrid
data calculated as 2D arrays, data ordering:
(ndim, npoints)
storage layout:
collective MPI-IO as done in DIRAC ("one reads, one writes")
to do: test whether these choices are optimal
Discussion - passing quantum data to VISUAL
VISUAL module under the hood
\(P_k(\vec{r}) = \langle \psi(\vec{r}) | \hat{P}(\vec{r}) | \psi (\vec{r})\rangle = \langle \chi_\kappa(\vec{r}) | \hat{P}(\vec{r}) | \chi_\lambda (\vec{r})\rangle \tilde{D}_{\lambda\kappa}\)
Density matrices, \(\tilde{D}_{\lambda\kappa}\):
in DIRAC - density matrices are generally computed and stored in quaternion algebra, assume Kramers pairing of AOs
in (old) VISUAL
CHECKPOINT.h5
in symmetry-adapted (SA) basisget_C
subroutines (frommatrix_operations
module)dirac_ao_eval_init
Discussion:
CHECKPOINT.h5
(to do)VISUAL
, get this data from external sourcesSchema for response data:
src/openrsp
(?)Motivation - where this is heading
science:
data-driven workflows
pam
or develop in external scripts (e.g., pyADF, in-house scripts)?