-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* AtomsCalculators support * add combinations
- Loading branch information
1 parent
2d6723e
commit 32b8727
Showing
5 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
|
||
|
||
AtomsCalculators.@generate_interface function AtomsCalculators.potential_energy( | ||
system, | ||
calculator::ACEmd.ACEpotential; | ||
kwargs... | ||
) | ||
return ace_energy(calculator, system; kwargs...) | ||
end | ||
|
||
|
||
|
||
AtomsCalculators.@generate_interface function AtomsCalculators.forces( | ||
system, | ||
calculator::ACEmd.ACEpotential; | ||
kwargs... | ||
) | ||
return ace_forces(calculator, system; kwargs...) | ||
end | ||
|
||
|
||
|
||
AtomsCalculators.@generate_interface function AtomsCalculators.virial( | ||
system, | ||
calculator::ACEmd.ACEpotential; | ||
kwargs... | ||
) | ||
return ace_virial(calculator, system; kwargs...) | ||
end | ||
|
||
|
||
function AtomsCalculators.energy_forces(system, calculator::ACEpotential; kwargs...) | ||
return ace_energy_forces(calculator, system; kwargs...) | ||
end | ||
|
||
|
||
function AtomsCalculators.energy_forces_virial(system, calculator::ACEpotential; kwargs...) | ||
return ace_energy_forces_virial(calculator, system; kwargs...) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters