1
General Questions and Answers / Re: Moment Tensor Potential Training Attributes
« on: February 28, 2023, 10:20 »
Are you using the SP1 version of 2022.03? If not, it should work with that.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
moment_tensor_potential_training=nlread('mtp_study.hdf5',MomentTensorPotentialTraining)[-1]
mtp_calculator = moment_tensor_potential_training.momentTensorPotentialCalculators()[0]
potentialSet = TremoloXPotentialSet('potential_name')
potentialSet.addParticleType(ParticleType.fromElement(Oxygen))
.
....add other elements...
.
potentialSet.addPotential(MTPPotential(file='mtp_study.mtp'))
calculator = TremoloXCalculator(parameters=potentialSet)
bulk_configuration.setCalculator(calculator)