Skip to content

Commit

Permalink
update the use of mace calculator
Browse files Browse the repository at this point in the history
  • Loading branch information
qzhu2017 committed Jan 23, 2025
1 parent 0cf3921 commit bec3a83
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pyxtal/optimize/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,11 +238,11 @@ def __init__(
if self.rank == 0:
from pyocse.parameters import ForceFieldParameters
self.parameters = ForceFieldParameters(
self.smiles, style=ff_style,
f_coef=1.0,
s_coef=1.0,
ref_evaluator='mace',
ncpu=self.ncpu)
self.smiles,
style=ff_style,
ncpu=self.ncpu)
if self.ff_opt:
self.parameters.set_ref_evaluator('mace')

# Preload two set for FF parameters 1 for opt and 2 for refinement
if isinstance(self.ff_parameters, list):
Expand Down

0 comments on commit bec3a83

Please sign in to comment.