BraWl
|
Functions/Subroutines | |
real(real64) function, public | total_energy (setup, config) |
Function to compute the total energy of a simulation configuration. | |
real(real64) function, public | pair_energy (setup, config, idx1, idx2) |
Function to compute the contribution to the simulation energy of a simulation from a selected pair of atoms. | |
real(real64) function | bcc_shell1_energy (setup, site_b, site_i, site_j, site_k, config, species) |
Function to compute the contribution to the simulation energy made by an atom interacting with its 1st-nearest neighbours on the bcc lattice (cubic representation) | |
real(real64) function | bcc_shell2_energy (setup, site_b, site_i, site_j, site_k, config, species) |
Function to compute the contribution to the simulation energy made by an atom interacting with its 2nd-nearest neighbours on the bcc lattice (cubic representation) | |
real(real64) function | bcc_shell3_energy (setup, site_b, site_i, site_j, site_k, config, species) |
Function to compute the contribution to the simulation energy made by an atom interacting with its 3rd-nearest neighbours on the bcc lattice (cubic representation) | |
real(real64) function | bcc_shell4_energy (setup, site_b, site_i, site_j, site_k, config, species) |
Function to compute the contribution to the simulation energy made by an atom interacting with its 4th-nearest neighbours on the bcc lattice (cubic representation) | |
real(real64) function | bcc_shell5_energy (setup, site_b, site_i, site_j, site_k, config, species) |
Function to compute the contribution to the simulation energy made by an atom interacting with its 5th-nearest neighbours on the bcc lattice (cubic representation) | |
real(real64) function | bcc_shell6_energy (setup, site_b, site_i, site_j, site_k, config, species) |
Function to compute the contribution to the simulation energy made by an atom interacting with its 6th-nearest neighbours on the bcc lattice (cubic representation) | |
real(real64) function | bcc_shell7_energy (setup, site_b, site_i, site_j, site_k, config, species) |
Function to compute the contribution to the simulation energy made by an atom interacting with its 7th-nearest neighbours on the bcc lattice (cubic representation) | |
real(real64) function | bcc_shell8_energy (setup, site_b, site_i, site_j, site_k, config, species) |
Function to compute the contribution to the simulation energy made by an atom interacting with its 8th-nearest neighbours on the bcc lattice (cubic representation) | |
real(real64) function | bcc_shell9_energy (setup, site_b, site_i, site_j, site_k, config, species) |
Function to compute the contribution to the simulation energy made by an atom interacting with its 9th-nearest neighbours on the bcc lattice (cubic representation) | |
real(real64) function | bcc_shell10_energy (setup, site_b, site_i, site_j, site_k, config, species) |
Function to compute the contribution to the simulation energy made by an atom interacting with its 10th-nearest neighbours on the bcc lattice (cubic representation) | |
real(real64) function, public | bcc_energy_1shells (setup, config, site_b, site_i, site_j, site_k) |
Function to compute the contribution to the simulation energy made by an atom interacting with atoms up to and including its 1st-nearest neighbours on the bcc lattice (cubic representation) | |
real(real64) function, public | bcc_energy_2shells (setup, config, site_b, site_i, site_j, site_k) |
Function to compute the contribution to the simulation energy made by an atom interacting with atoms up to and including its 2nd-nearest neighbours on the bcc lattice (cubic representation) | |
real(real64) function, public | bcc_energy_3shells (setup, config, site_b, site_i, site_j, site_k) |
Function to compute the contribution to the simulation energy made by an atom interacting with atoms up to and including its 3rd-nearest neighbours on the bcc lattice (cubic representation) | |
real(real64) function, public | bcc_energy_4shells (setup, config, site_b, site_i, site_j, site_k) |
Function to compute the contribution to the simulation energy made by an atom interacting with atoms up to and including its 4th-nearest neighbours on the bcc lattice (cubic representation) | |
real(real64) function, public | bcc_energy_5shells (setup, config, site_b, site_i, site_j, site_k) |
Function to compute the contribution to the simulation energy made by an atom interacting with atoms up to and including its 5th-nearest neighbours on the bcc lattice (cubic representation) | |
real(real64) function, public | bcc_energy_6shells (setup, config, site_b, site_i, site_j, site_k) |
Function to compute the contribution to the simulation energy made by an atom interacting with atoms up to and including its 6th-nearest neighbours on the bcc lattice (cubic representation) | |
real(real64) function, public | bcc_energy_7shells (setup, config, site_b, site_i, site_j, site_k) |
Function to compute the contribution to the simulation energy made by an atom interacting with atoms up to and including its 7th-nearest neighbours on the bcc lattice (cubic representation) | |
real(real64) function, public | bcc_energy_8shells (setup, config, site_b, site_i, site_j, site_k) |
Function to compute the contribution to the simulation energy made by an atom interacting with atoms up to and including its 8th-nearest neighbours on the bcc lattice (cubic representation) | |
real(real64) function, public | bcc_energy_9shells (setup, config, site_b, site_i, site_j, site_k) |
Function to compute the contribution to the simulation energy made by an atom interacting with atoms up to and including its 9th-nearest neighbours on the bcc lattice (cubic representation) | |
real(real64) function, public | bcc_energy_10shells (setup, config, site_b, site_i, site_j, site_k) |
Function to compute the contribution to the simulation energy made by an atom interacting with atoms up to and including its 10th-nearest neighbours on the bcc lattice (cubic representation) | |
real(real64) function | fcc_shell1_energy (setup, site_b, site_i, site_j, site_k, config, species) |
Function to compute the contribution to the simulation energy made by an atom interacting with its 1st-nearest neighbours on the fcc lattice (cubic representation) | |
real(real64) function | fcc_shell2_energy (setup, site_b, site_i, site_j, site_k, config, species) |
Function to compute the contribution to the simulation energy made by an atom interacting with its 2nd-nearest neighbours on the fcc lattice (cubic representation) | |
real(real64) function | fcc_shell3_energy (setup, site_b, site_i, site_j, site_k, config, species) |
Function to compute the contribution to the simulation energy made by an atom interacting with its 3rd-nearest neighbours on the fcc lattice (cubic representation) | |
real(real64) function | fcc_shell4_energy (setup, site_b, site_i, site_j, site_k, config, species) |
Function to compute the contribution to the simulation energy made by an atom interacting with its 4th-nearest neighbours on the fcc lattice (cubic representation) | |
real(real64) function | fcc_shell5_energy (setup, site_b, site_i, site_j, site_k, config, species) |
Function to compute the contribution to the simulation energy made by an atom interacting with its 5th-nearest neighbours on the fcc lattice (cubic representation) | |
real(real64) function | fcc_shell6_energy (setup, site_b, site_i, site_j, site_k, config, species) |
Function to compute the contribution to the simulation energy made by an atom interacting with its 6th-nearest neighbours on the fcc lattice (cubic representation) | |
real(real64) function, public | fcc_energy_1shells (setup, config, site_b, site_i, site_j, site_k) |
Function to compute the contribution to the simulation energy made by an atom interacting with atoms up to and including its 1st-nearest neighbours on the fcc lattice (cubic representation) | |
real(real64) function, public | fcc_energy_2shells (setup, config, site_b, site_i, site_j, site_k) |
Function to compute the contribution to the simulation energy made by an atom interacting with atoms up to and including its 2nd-nearest neighbours on the fcc lattice (cubic representation) | |
real(real64) function, public | fcc_energy_3shells (setup, config, site_b, site_i, site_j, site_k) |
Function to compute the contribution to the simulation energy made by an atom interacting with atoms up to and including its 3rd-nearest neighbours on the fcc lattice (cubic representation) | |
real(real64) function, public | fcc_energy_4shells (setup, config, site_b, site_i, site_j, site_k) |
Function to compute the contribution to the simulation energy made by an atom interacting with atoms up to and including its 4th-nearest neighbours on the fcc lattice (cubic representation) | |
real(real64) function, public | fcc_energy_5shells (setup, config, site_b, site_i, site_j, site_k) |
Function to compute the contribution to the simulation energy made by an atom interacting with atoms up to and including its 5th-nearest neighbours on the fcc lattice (cubic representation) | |
real(real64) function, public | fcc_energy_6shells (setup, config, site_b, site_i, site_j, site_k) |
Function to compute the contribution to the simulation energy made by an atom interacting with atoms up to and including its 6th-nearest neighbours on the fcc lattice (cubic representation) | |
real(real64) function | simple_cubic_1shell_energy (setup, site_b, site_i, site_j, site_k, config, species) |
Function to compute the contribution to the simulation energy made by an atom interacting with its 1st-nearest neighbours on the simple cubic lattice. | |
real(real64) function, public | simple_cubic_energy_1shells (setup, config, site_b, site_i, site_j, site_k) |
Function to compute the contribution to the simulation energy made by an atom interacting with atoms up to and including its 1st-nearest neighbours on the simple cubic lattice. | |
real(real64) function, public bw_hamiltonian::bcc_energy_10shells | ( | class(run_params), intent(in) | setup, |
integer(array_int), dimension(:,:,:,:), intent(in) | config, | ||
integer, intent(in) | site_b, | ||
integer, intent(in) | site_i, | ||
integer, intent(in) | site_j, | ||
integer, intent(in) | site_k ) |
Function to compute the contribution to the simulation energy made by an atom interacting with atoms up to and including its 10th-nearest neighbours on the bcc lattice (cubic representation)
setup | Derived type containing simulation parameters |
site_b | Basis index (always =1 for this lattice) |
site_i | Lattice vector index 1 |
site_j | Lattice vector index 2 |
site_k | Lattice vector index 3 |
config | Current atomic configuration |
species |
Definition at line 1239 of file bw_hamiltonian.f90.
real(real64) function, public bw_hamiltonian::bcc_energy_1shells | ( | class(run_params), intent(in) | setup, |
integer(array_int), dimension(:,:,:,:), intent(in) | config, | ||
integer, intent(in) | site_b, | ||
integer, intent(in) | site_i, | ||
integer, intent(in) | site_j, | ||
integer, intent(in) | site_k ) |
Function to compute the contribution to the simulation energy made by an atom interacting with atoms up to and including its 1st-nearest neighbours on the bcc lattice (cubic representation)
setup | Derived type containing simulation parameters |
site_b | Basis index (always =1 for this lattice) |
site_i | Lattice vector index 1 |
site_j | Lattice vector index 2 |
site_k | Lattice vector index 3 |
config | Current atomic configuration |
species |
Definition at line 897 of file bw_hamiltonian.f90.
real(real64) function, public bw_hamiltonian::bcc_energy_2shells | ( | class(run_params), intent(in) | setup, |
integer(array_int), dimension(:,:,:,:), intent(in) | config, | ||
integer, intent(in) | site_b, | ||
integer, intent(in) | site_i, | ||
integer, intent(in) | site_j, | ||
integer, intent(in) | site_k ) |
Function to compute the contribution to the simulation energy made by an atom interacting with atoms up to and including its 2nd-nearest neighbours on the bcc lattice (cubic representation)
setup | Derived type containing simulation parameters |
site_b | Basis index (always =1 for this lattice) |
site_i | Lattice vector index 1 |
site_j | Lattice vector index 2 |
site_k | Lattice vector index 3 |
config | Current atomic configuration |
species |
Definition at line 931 of file bw_hamiltonian.f90.
real(real64) function, public bw_hamiltonian::bcc_energy_3shells | ( | class(run_params), intent(in) | setup, |
integer(array_int), dimension(:,:,:,:), intent(in) | config, | ||
integer, intent(in) | site_b, | ||
integer, intent(in) | site_i, | ||
integer, intent(in) | site_j, | ||
integer, intent(in) | site_k ) |
Function to compute the contribution to the simulation energy made by an atom interacting with atoms up to and including its 3rd-nearest neighbours on the bcc lattice (cubic representation)
setup | Derived type containing simulation parameters |
site_b | Basis index (always =1 for this lattice) |
site_i | Lattice vector index 1 |
site_j | Lattice vector index 2 |
site_k | Lattice vector index 3 |
config | Current atomic configuration |
species |
Definition at line 966 of file bw_hamiltonian.f90.
real(real64) function, public bw_hamiltonian::bcc_energy_4shells | ( | class(run_params), intent(in) | setup, |
integer(array_int), dimension(:,:,:,:), intent(in) | config, | ||
integer, intent(in) | site_b, | ||
integer, intent(in) | site_i, | ||
integer, intent(in) | site_j, | ||
integer, intent(in) | site_k ) |
Function to compute the contribution to the simulation energy made by an atom interacting with atoms up to and including its 4th-nearest neighbours on the bcc lattice (cubic representation)
setup | Derived type containing simulation parameters |
site_b | Basis index (always =1 for this lattice) |
site_i | Lattice vector index 1 |
site_j | Lattice vector index 2 |
site_k | Lattice vector index 3 |
config | Current atomic configuration |
species |
Definition at line 1002 of file bw_hamiltonian.f90.
real(real64) function, public bw_hamiltonian::bcc_energy_5shells | ( | class(run_params), intent(in) | setup, |
integer(array_int), dimension(:,:,:,:), intent(in) | config, | ||
integer, intent(in) | site_b, | ||
integer, intent(in) | site_i, | ||
integer, intent(in) | site_j, | ||
integer, intent(in) | site_k ) |
Function to compute the contribution to the simulation energy made by an atom interacting with atoms up to and including its 5th-nearest neighbours on the bcc lattice (cubic representation)
setup | Derived type containing simulation parameters |
site_b | Basis index (always =1 for this lattice) |
site_i | Lattice vector index 1 |
site_j | Lattice vector index 2 |
site_k | Lattice vector index 3 |
config | Current atomic configuration |
species |
Definition at line 1039 of file bw_hamiltonian.f90.
real(real64) function, public bw_hamiltonian::bcc_energy_6shells | ( | class(run_params), intent(in) | setup, |
integer(array_int), dimension(:,:,:,:), intent(in) | config, | ||
integer, intent(in) | site_b, | ||
integer, intent(in) | site_i, | ||
integer, intent(in) | site_j, | ||
integer, intent(in) | site_k ) |
Function to compute the contribution to the simulation energy made by an atom interacting with atoms up to and including its 6th-nearest neighbours on the bcc lattice (cubic representation)
setup | Derived type containing simulation parameters |
site_b | Basis index (always =1 for this lattice) |
site_i | Lattice vector index 1 |
site_j | Lattice vector index 2 |
site_k | Lattice vector index 3 |
config | Current atomic configuration |
species |
Definition at line 1077 of file bw_hamiltonian.f90.
real(real64) function, public bw_hamiltonian::bcc_energy_7shells | ( | class(run_params), intent(in) | setup, |
integer(array_int), dimension(:,:,:,:), intent(in) | config, | ||
integer, intent(in) | site_b, | ||
integer, intent(in) | site_i, | ||
integer, intent(in) | site_j, | ||
integer, intent(in) | site_k ) |
Function to compute the contribution to the simulation energy made by an atom interacting with atoms up to and including its 7th-nearest neighbours on the bcc lattice (cubic representation)
setup | Derived type containing simulation parameters |
site_b | Basis index (always =1 for this lattice) |
site_i | Lattice vector index 1 |
site_j | Lattice vector index 2 |
site_k | Lattice vector index 3 |
config | Current atomic configuration |
species |
Definition at line 1116 of file bw_hamiltonian.f90.
real(real64) function, public bw_hamiltonian::bcc_energy_8shells | ( | class(run_params), intent(in) | setup, |
integer(array_int), dimension(:,:,:,:), intent(in) | config, | ||
integer, intent(in) | site_b, | ||
integer, intent(in) | site_i, | ||
integer, intent(in) | site_j, | ||
integer, intent(in) | site_k ) |
Function to compute the contribution to the simulation energy made by an atom interacting with atoms up to and including its 8th-nearest neighbours on the bcc lattice (cubic representation)
setup | Derived type containing simulation parameters |
site_b | Basis index (always =1 for this lattice) |
site_i | Lattice vector index 1 |
site_j | Lattice vector index 2 |
site_k | Lattice vector index 3 |
config | Current atomic configuration |
species |
Definition at line 1156 of file bw_hamiltonian.f90.
real(real64) function, public bw_hamiltonian::bcc_energy_9shells | ( | class(run_params), intent(in) | setup, |
integer(array_int), dimension(:,:,:,:), intent(in) | config, | ||
integer, intent(in) | site_b, | ||
integer, intent(in) | site_i, | ||
integer, intent(in) | site_j, | ||
integer, intent(in) | site_k ) |
Function to compute the contribution to the simulation energy made by an atom interacting with atoms up to and including its 9th-nearest neighbours on the bcc lattice (cubic representation)
setup | Derived type containing simulation parameters |
site_b | Basis index (always =1 for this lattice) |
site_i | Lattice vector index 1 |
site_j | Lattice vector index 2 |
site_k | Lattice vector index 3 |
config | Current atomic configuration |
species |
Definition at line 1197 of file bw_hamiltonian.f90.
|
private |
Function to compute the contribution to the simulation energy made by an atom interacting with its 10th-nearest neighbours on the bcc lattice (cubic representation)
setup | Derived type containing simulation parameters |
site_b | Basis index (always =1 for this lattice) |
site_i | Lattice vector index 1 |
site_j | Lattice vector index 2 |
site_k | Lattice vector index 3 |
config | Current atomic configuration |
species |
Definition at line 795 of file bw_hamiltonian.f90.
|
private |
Function to compute the contribution to the simulation energy made by an atom interacting with its 1st-nearest neighbours on the bcc lattice (cubic representation)
setup | Derived type containing simulation parameters |
site_b | Basis index (always =1 for this lattice) |
site_i | Lattice vector index 1 |
site_j | Lattice vector index 2 |
site_k | Lattice vector index 3 |
config | Current atomic configuration |
species |
Definition at line 133 of file bw_hamiltonian.f90.
|
private |
Function to compute the contribution to the simulation energy made by an atom interacting with its 2nd-nearest neighbours on the bcc lattice (cubic representation)
setup | Derived type containing simulation parameters |
site_b | Basis index (always =1 for this lattice) |
site_i | Lattice vector index 1 |
site_j | Lattice vector index 2 |
site_k | Lattice vector index 3 |
config | Current atomic configuration |
species |
Definition at line 196 of file bw_hamiltonian.f90.
|
private |
Function to compute the contribution to the simulation energy made by an atom interacting with its 3rd-nearest neighbours on the bcc lattice (cubic representation)
setup | Derived type containing simulation parameters |
site_b | Basis index (always =1 for this lattice) |
site_i | Lattice vector index 1 |
site_j | Lattice vector index 2 |
site_k | Lattice vector index 3 |
config | Current atomic configuration |
species |
Definition at line 257 of file bw_hamiltonian.f90.
|
private |
Function to compute the contribution to the simulation energy made by an atom interacting with its 4th-nearest neighbours on the bcc lattice (cubic representation)
setup | Derived type containing simulation parameters |
site_b | Basis index (always =1 for this lattice) |
site_i | Lattice vector index 1 |
site_j | Lattice vector index 2 |
site_k | Lattice vector index 3 |
config | Current atomic configuration |
species |
Definition at line 324 of file bw_hamiltonian.f90.
|
private |
Function to compute the contribution to the simulation energy made by an atom interacting with its 5th-nearest neighbours on the bcc lattice (cubic representation)
setup | Derived type containing simulation parameters |
site_b | Basis index (always =1 for this lattice) |
site_i | Lattice vector index 1 |
site_j | Lattice vector index 2 |
site_k | Lattice vector index 3 |
config | Current atomic configuration |
species |
Definition at line 412 of file bw_hamiltonian.f90.
|
private |
Function to compute the contribution to the simulation energy made by an atom interacting with its 6th-nearest neighbours on the bcc lattice (cubic representation)
setup | Derived type containing simulation parameters |
site_b | Basis index (always =1 for this lattice) |
site_i | Lattice vector index 1 |
site_j | Lattice vector index 2 |
site_k | Lattice vector index 3 |
config | Current atomic configuration |
species |
Definition at line 475 of file bw_hamiltonian.f90.
|
private |
Function to compute the contribution to the simulation energy made by an atom interacting with its 7th-nearest neighbours on the bcc lattice (cubic representation)
setup | Derived type containing simulation parameters |
site_b | Basis index (always =1 for this lattice) |
site_i | Lattice vector index 1 |
site_j | Lattice vector index 2 |
site_k | Lattice vector index 3 |
config | Current atomic configuration |
species |
Definition at line 537 of file bw_hamiltonian.f90.
|
private |
Function to compute the contribution to the simulation energy made by an atom interacting with its 8th-nearest neighbours on the bcc lattice (cubic representation)
setup | Derived type containing simulation parameters |
site_b | Basis index (always =1 for this lattice) |
site_i | Lattice vector index 1 |
site_j | Lattice vector index 2 |
site_k | Lattice vector index 3 |
config | Current atomic configuration |
species |
Definition at line 623 of file bw_hamiltonian.f90.
|
private |
Function to compute the contribution to the simulation energy made by an atom interacting with its 9th-nearest neighbours on the bcc lattice (cubic representation)
setup | Derived type containing simulation parameters |
site_b | Basis index (always =1 for this lattice) |
site_i | Lattice vector index 1 |
site_j | Lattice vector index 2 |
site_k | Lattice vector index 3 |
config | Current atomic configuration |
species |
Definition at line 709 of file bw_hamiltonian.f90.
real(real64) function, public bw_hamiltonian::fcc_energy_1shells | ( | class(run_params), intent(in) | setup, |
integer(array_int), dimension(:,:,:,:), intent(in) | config, | ||
integer, intent(in) | site_b, | ||
integer, intent(in) | site_i, | ||
integer, intent(in) | site_j, | ||
integer, intent(in) | site_k ) |
Function to compute the contribution to the simulation energy made by an atom interacting with atoms up to and including its 1st-nearest neighbours on the fcc lattice (cubic representation)
setup | Derived type containing simulation parameters |
site_b | Basis index (always =1 for this lattice) |
site_i | Lattice vector index 1 |
site_j | Lattice vector index 2 |
site_k | Lattice vector index 3 |
config | Current atomic configuration |
species |
Definition at line 1711 of file bw_hamiltonian.f90.
real(real64) function, public bw_hamiltonian::fcc_energy_2shells | ( | class(run_params), intent(in) | setup, |
integer(array_int), dimension(:,:,:,:), intent(in) | config, | ||
integer, intent(in) | site_b, | ||
integer, intent(in) | site_i, | ||
integer, intent(in) | site_j, | ||
integer, intent(in) | site_k ) |
Function to compute the contribution to the simulation energy made by an atom interacting with atoms up to and including its 2nd-nearest neighbours on the fcc lattice (cubic representation)
setup | Derived type containing simulation parameters |
site_b | Basis index (always =1 for this lattice) |
site_i | Lattice vector index 1 |
site_j | Lattice vector index 2 |
site_k | Lattice vector index 3 |
config | Current atomic configuration |
species |
Definition at line 1745 of file bw_hamiltonian.f90.
real(real64) function, public bw_hamiltonian::fcc_energy_3shells | ( | class(run_params), intent(in) | setup, |
integer(array_int), dimension(:,:,:,:), intent(in) | config, | ||
integer, intent(in) | site_b, | ||
integer, intent(in) | site_i, | ||
integer, intent(in) | site_j, | ||
integer, intent(in) | site_k ) |
Function to compute the contribution to the simulation energy made by an atom interacting with atoms up to and including its 3rd-nearest neighbours on the fcc lattice (cubic representation)
setup | Derived type containing simulation parameters |
site_b | Basis index (always =1 for this lattice) |
site_i | Lattice vector index 1 |
site_j | Lattice vector index 2 |
site_k | Lattice vector index 3 |
config | Current atomic configuration |
species |
Definition at line 1780 of file bw_hamiltonian.f90.
real(real64) function, public bw_hamiltonian::fcc_energy_4shells | ( | class(run_params), intent(in) | setup, |
integer(array_int), dimension(:,:,:,:), intent(in) | config, | ||
integer, intent(in) | site_b, | ||
integer, intent(in) | site_i, | ||
integer, intent(in) | site_j, | ||
integer, intent(in) | site_k ) |
Function to compute the contribution to the simulation energy made by an atom interacting with atoms up to and including its 4th-nearest neighbours on the fcc lattice (cubic representation)
setup | Derived type containing simulation parameters |
site_b | Basis index (always =1 for this lattice) |
site_i | Lattice vector index 1 |
site_j | Lattice vector index 2 |
site_k | Lattice vector index 3 |
config | Current atomic configuration |
species |
Definition at line 1816 of file bw_hamiltonian.f90.
real(real64) function, public bw_hamiltonian::fcc_energy_5shells | ( | class(run_params), intent(in) | setup, |
integer(array_int), dimension(:,:,:,:), intent(in) | config, | ||
integer, intent(in) | site_b, | ||
integer, intent(in) | site_i, | ||
integer, intent(in) | site_j, | ||
integer, intent(in) | site_k ) |
Function to compute the contribution to the simulation energy made by an atom interacting with atoms up to and including its 5th-nearest neighbours on the fcc lattice (cubic representation)
setup | Derived type containing simulation parameters |
site_b | Basis index (always =1 for this lattice) |
site_i | Lattice vector index 1 |
site_j | Lattice vector index 2 |
site_k | Lattice vector index 3 |
config | Current atomic configuration |
species |
Definition at line 1853 of file bw_hamiltonian.f90.
real(real64) function, public bw_hamiltonian::fcc_energy_6shells | ( | class(run_params), intent(in) | setup, |
integer(array_int), dimension(:,:,:,:), intent(in) | config, | ||
integer, intent(in) | site_b, | ||
integer, intent(in) | site_i, | ||
integer, intent(in) | site_j, | ||
integer, intent(in) | site_k ) |
Function to compute the contribution to the simulation energy made by an atom interacting with atoms up to and including its 6th-nearest neighbours on the fcc lattice (cubic representation)
setup | Derived type containing simulation parameters |
site_b | Basis index (always =1 for this lattice) |
site_i | Lattice vector index 1 |
site_j | Lattice vector index 2 |
site_k | Lattice vector index 3 |
config | Current atomic configuration |
species |
Definition at line 1891 of file bw_hamiltonian.f90.
|
private |
Function to compute the contribution to the simulation energy made by an atom interacting with its 1st-nearest neighbours on the fcc lattice (cubic representation)
setup | Derived type containing simulation parameters |
site_b | Basis index (always =1 for this lattice) |
site_i | Lattice vector index 1 |
site_j | Lattice vector index 2 |
site_k | Lattice vector index 3 |
config | Current atomic configuration |
species |
Definition at line 1281 of file bw_hamiltonian.f90.
|
private |
Function to compute the contribution to the simulation energy made by an atom interacting with its 2nd-nearest neighbours on the fcc lattice (cubic representation)
setup | Derived type containing simulation parameters |
site_b | Basis index (always =1 for this lattice) |
site_i | Lattice vector index 1 |
site_j | Lattice vector index 2 |
site_k | Lattice vector index 3 |
config | Current atomic configuration |
species |
Definition at line 1348 of file bw_hamiltonian.f90.
|
private |
Function to compute the contribution to the simulation energy made by an atom interacting with its 3rd-nearest neighbours on the fcc lattice (cubic representation)
setup | Derived type containing simulation parameters |
site_b | Basis index (always =1 for this lattice) |
site_i | Lattice vector index 1 |
site_j | Lattice vector index 2 |
site_k | Lattice vector index 3 |
config | Current atomic configuration |
species |
Definition at line 1409 of file bw_hamiltonian.f90.
|
private |
Function to compute the contribution to the simulation energy made by an atom interacting with its 4th-nearest neighbours on the fcc lattice (cubic representation)
setup | Derived type containing simulation parameters |
site_b | Basis index (always =1 for this lattice) |
site_i | Lattice vector index 1 |
site_j | Lattice vector index 2 |
site_k | Lattice vector index 3 |
config | Current atomic configuration |
species |
Definition at line 1495 of file bw_hamiltonian.f90.
|
private |
Function to compute the contribution to the simulation energy made by an atom interacting with its 5th-nearest neighbours on the fcc lattice (cubic representation)
setup | Derived type containing simulation parameters |
site_b | Basis index (always =1 for this lattice) |
site_i | Lattice vector index 1 |
site_j | Lattice vector index 2 |
site_k | Lattice vector index 3 |
config | Current atomic configuration |
species |
Definition at line 1562 of file bw_hamiltonian.f90.
|
private |
Function to compute the contribution to the simulation energy made by an atom interacting with its 6th-nearest neighbours on the fcc lattice (cubic representation)
setup | Derived type containing simulation parameters |
site_b | Basis index (always =1 for this lattice) |
site_i | Lattice vector index 1 |
site_j | Lattice vector index 2 |
site_k | Lattice vector index 3 |
config | Current atomic configuration |
species |
Definition at line 1648 of file bw_hamiltonian.f90.
real(real64) function, public bw_hamiltonian::pair_energy | ( | type(run_params), intent(in) | setup, |
integer(array_int), dimension(:,:,:,:), intent(in) | config, | ||
integer, dimension(4), intent(in) | idx1, | ||
integer, dimension(4), intent(in) | idx2 ) |
Function to compute the contribution to the simulation energy of a simulation from a selected pair of atoms.
This routine should be used when evaluating a change in energy due to a swap of a pair of atoms.
setup | Derived type containing simulation parameters |
config | Current atomic configuration |
idx1 | Indices of the first atom in the pair |
idx2 | Indices of the second atom in the pair |
Definition at line 98 of file bw_hamiltonian.f90.
|
private |
Function to compute the contribution to the simulation energy made by an atom interacting with its 1st-nearest neighbours on the simple cubic lattice.
setup | Derived type containing simulation parameters |
site_b | Basis index (always =1 for this lattice) |
site_i | Lattice vector index 1 |
site_j | Lattice vector index 2 |
site_k | Lattice vector index 3 |
config | Current atomic configuration |
species |
Definition at line 1929 of file bw_hamiltonian.f90.
real(real64) function, public bw_hamiltonian::simple_cubic_energy_1shells | ( | class(run_params), intent(in) | setup, |
integer(array_int), dimension(:,:,:,:), intent(in) | config, | ||
integer, intent(in) | site_b, | ||
integer, intent(in) | site_i, | ||
integer, intent(in) | site_j, | ||
integer, intent(in) | site_k ) |
Function to compute the contribution to the simulation energy made by an atom interacting with atoms up to and including its 1st-nearest neighbours on the simple cubic lattice.
setup | Derived type containing simulation parameters |
site_b | Basis index (always =1 for this lattice) |
site_i | Lattice vector index 1 |
site_j | Lattice vector index 2 |
site_k | Lattice vector index 3 |
config | Current atomic configuration |
species |
Definition at line 1992 of file bw_hamiltonian.f90.
real(real64) function, public bw_hamiltonian::total_energy | ( | class(run_params), intent(in) | setup, |
integer(array_int), dimension(:,:,:,:), intent(in) | config ) |
Function to compute the total energy of a simulation configuration.
This should only be called when you need a total energy evaluation. Otherwise it is possible to just evaluate the energy associated with swapping pairs of atoms in the simulation cell.
setup | Derived type containing simulation parameters |
config | Current atomic configuration |
Definition at line 57 of file bw_hamiltonian.f90.