Skip to content

Commit

Permalink
Merge pull request #202 from phonopy/release-v2.9
Browse files Browse the repository at this point in the history
Release v2.9
  • Loading branch information
atztogo authored Dec 25, 2023
2 parents d946de7 + 95d126f commit 106cbb5
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 12 deletions.
11 changes: 11 additions & 0 deletions doc/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

# Change Log

## Dec-25-2023: Version 2.9.0

- Pre-release of version 3.0.
- `--v3` option enables phono3py version 3 behaviour. In phono3py-v3, it is
planned to replace $\sum_{l'l''}\Phi_{\alpha\beta\gamma}(0\kappa, l'\kappa',
l''\kappa'') \cdots$ in Eq.(41) of
<https://journals.jps.jp/doi/10.7566/JPSJ.92.012001> by
$[\sum_{l'l''}\Phi_{\alpha\beta\gamma}(0\kappa, l'\kappa', l''\kappa'') \cdots + \sum_{ll''}\Phi_{\alpha\beta\gamma}(l\kappa, 0\kappa', l''\kappa'') \cdots + \sum_{ll'}\Phi_{\alpha\beta\gamma}(l\kappa, l'\kappa', 0\kappa'') \cdots] / 3$
for better treatment of lattice sum in supercell although this requires more
computational demand. In phono3py-v3, `--v2` option will be prepared.

## Dec-4-2023: Version 2.8.0

- Maintenance release
Expand Down
4 changes: 2 additions & 2 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@
# built documents.
#
# The short X.Y version.
version = "2.8"
version = "2.9"
# The full version, including alpha/beta/rc tags.
release = "2.8.0"
release = "2.9.0"

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
16 changes: 8 additions & 8 deletions phono3py/cui/phono3py_argparse.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,13 +251,13 @@ def get_parser(fc_symmetry=False, is_nac=False, load_phono3py_yaml=False):
default=None,
help="Supercell dimension for extra fc2",
)
parser.add_argument(
"--emulate-v2",
dest="emulate_v2",
action="store_true",
default=False,
help="Emulate v1.x grid system and shortest vectors.",
)
# parser.add_argument(
# "--emulate-v2",
# dest="emulate_v2",
# action="store_true",
# default=False,
# help="Emulate v2.x behaviour.",
# )
parser.add_argument(
"--factor",
dest="frequency_conversion_factor",
Expand All @@ -281,7 +281,7 @@ def get_parser(fc_symmetry=False, is_nac=False, load_phono3py_yaml=False):
help="Read third order force constants",
)
parser.add_argument(
"--fc3-r0-average",
"--v3",
dest="is_fc3_r0_average",
action="store_true",
default=False,
Expand Down
2 changes: 1 addition & 1 deletion phono3py/cui/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,7 @@ def _set_settings(self):
if "cutoff_pair_distance" in params:
self._settings.set_cutoff_pair_distance(params["cutoff_pair_distance"])

# Emulate v1.x grid system and shortest vectors.
# Emulate v2.x behaviour
if "emulate_v2" in params:
self._settings.set_emulate_v2(params["emulate_v2"])

Expand Down
2 changes: 1 addition & 1 deletion phono3py/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.

__version__ = "2.8.0"
__version__ = "2.9.0"

0 comments on commit 106cbb5

Please sign in to comment.