10
0
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-11-14 18:13:51 +01:00
QuantumPackage/man/qp_edit.1

128 lines
2.8 KiB
Groff
Raw Normal View History

2019-01-25 11:39:31 +01:00
.\" Man page generated from reStructuredText.
.
2019-06-15 00:20:35 +02:00
.TH "QP_EDIT" "1" "Jun 15, 2019" "2.0" "Quantum Package"
2019-01-25 11:39:31 +01:00
.SH NAME
qp_edit \- | Quantum Package >
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.sp
2019-01-25 14:54:22 +01:00
This command reads the content of the \fI\%EZFIO\fP directory and creates
a temporary file containing the data. The data is presented as a
\fIReStructured Text\fP (rst) document, where each section corresponds to
the corresponding \fIQuantum Package\fP module. The content of the file can be modified
to change the input parameters. When the text editor is closed, the
updated data is saved into the \fI\%EZFIO\fP directory.
2019-01-25 11:39:31 +01:00
.sp
\fBNOTE:\fP
.INDENT 0.0
.INDENT 3.5
The text editor which will be opened is defined by the \fBEDITOR\fP
environment variable. If this variable is not set, the \fBvi\fP
text editor will be used by default.
.UNINDENT
.UNINDENT
.sp
\fBWARNING:\fP
.INDENT 0.0
.INDENT 3.5
When the wave function is too large (more than 10 000 determinants), the
determinants are not displayed.
.UNINDENT
.UNINDENT
2019-01-25 14:54:22 +01:00
.sp
\fBNOTE:\fP
.INDENT 0.0
.INDENT 3.5
On some machines the terminal will be stuck in inverted colors after using
qp_edit. To Avoid this problem, put in your \fB$HOME/.vimrc\fP:
.INDENT 0.0
.INDENT 3.5
.sp
.nf
.ft C
set t_ti=
set t_te=
.ft P
.fi
.UNINDENT
.UNINDENT
.UNINDENT
.UNINDENT
2019-01-25 11:39:31 +01:00
.SH USAGE
.INDENT 0.0
.INDENT 3.5
.sp
.nf
.ft C
qp_edit [\-c] [\-h] [\-n <int>] [\-s <range>] [\-\-] EZFIO_DIR
.ft P
.fi
.UNINDENT
.UNINDENT
.INDENT 0.0
.TP
.B \-c, \-\-check
Checks the input data
.UNINDENT
.INDENT 0.0
.TP
.B \-h, \-\-help
Print the help text and exits
.UNINDENT
.INDENT 0.0
.TP
.B \-n, \-\-ndet=<int>
Truncates the wavefunction to the target number of determinants
.UNINDENT
.INDENT 0.0
.TP
.B \-s, \-\-state=<range>
Select the states to extract from the \fI\%EZFIO\fP directory, using the same conventions
as qp_set_mo_class\&. See example below.
.UNINDENT
.SH EXAMPLE
.INDENT 0.0
.INDENT 3.5
.sp
.nf
.ft C
qp_edit \-\-state="[1,3\-5]" test.ezfio
.ft P
.fi
.UNINDENT
.UNINDENT
.sp
2019-01-25 14:54:22 +01:00
Removes all states except states 1,3,4 and 5 from \fBtest.ezfio\fP\&.
The resulting \fI\%EZFIO\fP directory has 4 states.
2019-01-25 11:39:31 +01:00
.SH AUTHOR
A. Scemama, E. Giner
.SH COPYRIGHT
2019-01-25 14:54:22 +01:00
2019, A. Scemama, E. Giner
2019-01-25 11:39:31 +01:00
.\" Generated by docutils manpage writer.
.