<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Anton A. Kuzin</string-name>
          <email>kuzin_aa@dvfu.ru</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Vladislav S. Strongin</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Sergey A. Anisimov</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Maxim V. Lebedev</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Konstantin V. Nefedev</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Valery I. Belokon</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Vladivostok</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Russia</string-name>
        </contrib>
        <contrib contrib-type="editor">
          <string-name>In: Sergey I. Smagin, Alexander A. Zatsarinnyy (eds.): V International Conference Information Technologies and High-</string-name>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Far Eastern Federal University</institution>
          ,
          <addr-line>Vladivostok</addr-line>
          ,
          <country country="RU">Russia</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Institute of Applied Mathematics, Far Eastern Branch, Russian Academy of Science</institution>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2019</year>
      </pub-date>
      <fpage>16</fpage>
      <lpage>19</lpage>
      <abstract>
        <p>This article presents a new method for the numerical calculation of the density of states in vector models. The method is based on quasi-Markov random walks in the state space of vector models and is multi-spin. An exhaustive enumeration of all cluster states for each of the 2L states of the boundary of length L makes it possible to obtain a local distribution of configurations, and such a piecewise method allows one to approximately calculate the entire state space. The method is designed to calculate the degeneracy rate G, the interaction energy E, and the magnetization M for any given lattice geometry, knowing which Gibbs approach can be used in order to calculate the partition function and thermodynamic averages.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>(4)
(5)
(6)</p>
    </sec>
    <sec id="sec-2">
      <title>Introduction</title>
      <sec id="sec-2-1">
        <title>The models under consideration should be studied from different points of view [3]. To study the behavior of spin systems, you need to know magnetic susceptibility, heat capacity and entropy. According to the definition, magnetic susceptibility characterizes the connection between the magnetization of the magnetic system and the external field:</title>
      </sec>
      <sec id="sec-2-2">
        <title>In this case, the average magnetization at a given temperature a statistical amount</title>
      </sec>
      <sec id="sec-2-3">
        <title>Combining equations (2) and (3) we get</title>
      </sec>
      <sec id="sec-2-4">
        <title>For convenience, you can enter an abbreviation:</title>
      </sec>
      <sec id="sec-2-5">
        <title>Because Imagine the numerator and denominator as:</title>
        <p>〈 〉|
 ℎ ℎ→0
 /
( ) =
 / − /</p>
        <p>2
 ( )|ℎ→0 =
 〈 〉( )
[−   +ℎ  ]</p>
        <p>= ∑ 
 ( )|ℎ→0 =
[−   +ℎ  ]</p>
        <p>∑  
 ℎ ∑ [−  +ℎ  ]
[−  +ℎ  ]
  
  
|
ℎ→0
 = ∑  
 = ∑</p>
        <p>[− (  + ℎ  )]
[− (  + ℎ  )]
and their derivatives:</p>
        <p>Copyright © 2019 for the individual papers by the papers' authors. Copyright © 2019 for the volume as a collection by its
editors. This volume and its papers are published under the Creative Commons License Attribution 4.0 International (CC BY 4.0).
=
 (
(∑ 2 exp[− (  + ℎ  )])
(∑exp[− (  + ℎ  )])
− (
(  exp[− (  + ℎ  )]) 2
(∑exp[− (  + ℎ  )])</p>
        <p>) )
 ( )|ℎ→0 = ⟨ 2⟩−⟨ ⟩2
=
 =

  
 = ∑  exp[−
 = ∑  exp[−
  ] = ∑  exp[−   ]</p>
        <p>] = ∑exp[−   ]
(∑exp[−   ])2</p>
        <p>−
−  2 exp[−   ]∑exp[−   ]</p>
        <p>−   exp[−  
=  2 (  2 exp[−   ]
∑exp[−   ]
− (
∑  exp[−   ]))
∑exp[−   ]
(∑exp[−   ])2
2
]∑  exp[−   ])
and their derivatives:</p>
        <p>( ) = (− 2 −
relation
can be obtained:</p>
        <p>If we represent the multiplicity of degeneracy of states as a function of the energy  ( ), then the entropy for a
given energy level, according to the Boltzmann definition, is given by  ( ) =   ln  ( ). Entropy can be considered
as a thermodynamic quantity that determines the measure of energy dissipation in the system and is given by the
where U is the internal energy of the system, 
= 
is the Helmholtz free energy. In equation (10), 〈 〉( )
is the Gibbs thermodynamic averaging for the energy level. Similarly, the distribution of the energy level of entropy</p>
        <p>Mathematical Modeling in Physics and Technology
______________________________________________________________________________________
this implies
 ( ) = ⟨ 2⟩−⟨ ⟩2</p>
        <p>2 .
 ( ) =
 −</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Visualization of Results</title>
      <sec id="sec-3-1">
        <title>Theoretical Component of the Method</title>
        <p>A</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Brief Presentation of the Method and the Results of the Software Product.</title>
      <p>For vector models of Ising spins, the interaction energy is usually given by the Hamiltonian of the form
Е = − ∑&lt; , &gt;

 
 
 ,
where   is «spins», or one-component vectors whose components take the values either «+1» or «-1», and   is a
constant of exchange interaction, usually takes the value «+1» for ferromagnets, t. e. if the vectors   and   are
codirected, then this corresponds to a minimum of energy, «-1» is an antiferromagnet, where the antiparallel orientation
of vectors leads to minimization of energy. The magnetization of the N spin Ising system is calculated by the formula:</p>
      <p>Ising spins are placed in space, for example, in a lattice - a metal model, or randomly for modeling amorphous
structures.</p>
      <p>To solve the problem of thermodynamics of the system of interacting Ising spins (calculate the heat capacity,
magnetization, magnetic susceptibility, and other statistical characteristics as a function of temperature), you need to
know how many states G (configurations) will have given values of E, M. Thus, we are interested in Any given
system geometry that has only three global numbers G, E, M. In total there will be 2N states.</p>
      <p>Even in the interaction model of the nearest environment, there are serious computational problems associated
with an exponentially rapid increase in the number of possible configurations. For example, for a system of Ising
spins on a three-dimensional pyrochlore lattice with 16 nodes there will be 216 configurations.</p>
      <p>The essence of the proposed method is to get one random configuration from the 2N space; this is quite easy to do;
we simply set random values of the vector component Si. One configuration corresponds to one point in the histogram
of fig. 1 (right). Select the nucleus (region) of closely spaced spins. We carry out an exhaustive enumeration for each
of the 2L states of the boundary, where L is the number of spins on the boundary and each configuration of the
nucleus from 2N and we obtain local numbers g, e, m taking into account the interaction with the boundaries.</p>
      <p>If the core contains 4x4 spins, then there will be a total of 65,536 kernel configurations for one configuration.
However, not all of them will have the same values of Ei, Mk, since in systems with the interaction of the nearest
environment, degeneracy in E and M is essential. It is possible to use any geometry of the kernel.</p>
      <p>We find on the histogram of fig. 1 (on the right), the point with these coordinates corresponding to each value of Еi
and Mk is added to the value of gi that exists at this point g. Thus, we must go through each point in this projection of
the histogram, along the horizontal and vertical axes. You may need to make several passes.</p>
      <p>The absence of new points Ei Mk in the process of full coverage of the projection of the histogram can be selected
as a criterion for stopping the numerical calculation. After stopping, we will need to normalize G. There are several
ways of normalization. For example:</p>
      <sec id="sec-4-1">
        <title>The sum of all histogram columns is 2N</title>
        <p>The sum of the histogram columns with the given value Ei, Mk is the binomial coefficient  = ( , (1−  )).
2</p>
        <p>If we know the degeneracy of one or several points, for example, when all the spins are «up» or all «down» in an
antiferromagnet, we can control the normalization of these points.</p>
        <p>Knowing the numbers G, E, M, we can use the Gibbs approach to calculate the partition function and
thermodynamic averages.</p>
      </sec>
      <sec id="sec-4-2">
        <title>To test our method, a software product was implemented, the algorithm of which is presented below.</title>
        <p>2.3</p>
        <p>Algorithm for the Implementation of a Software Product</p>
        <p>We fill the double array with all kernel variants (each spin value takes the value -1 or +1), where L is the linear
size of the core. Then we display an array of a kernel of size LхL, write it into a file. Next, we find and return the
numbers of configurations with minimal energy and magnetization. We determine the nearest neighbors of all spins
and return the energy of the system. We define the point for building the kernel and derive it. We define the
periodicity condition and output the array of the kernel.</p>
        <p>Set the boundaries of the nucleus and determine the boundary conditions. Calculate and return the magnetization
of the entire system. Find the interaction energy of spins inside the nucleus without taking into account the
boundaries, where n is the linear size of the system, N is the number of spins in the system, L is the linear size of the
nucleus, Nbound is the number of spins on the boundary, Ncore is the number of spins in the core, allconfig is the
number of all configurations - maximum number of neighbors of each particle, Emax - maximum number of system
energy, Mmax - maximum number of system magnetization, dE and dM - system energy without core energy /
without core magnetization, Ecore and Mcore - core energy / magnetization, Etot and Mtot - total energy /
magnetization of the whole system, spins - array in which the values of spins are stored (±1), bound is the array in
which the boundaries are stored, core is the array in which the core is stored, e is the array in which the core energy is
stored, m-array in which the core magnetization is stored, b is the double array (allconfig size on Ncore) with all
kernel variants (± 1), gem is the array in which EM and g are stored (E and M are array indices, and g is the value of
these indices).</p>
        <p>In the next stage, creating an array with all the configurations and display the indexes of the system spins. We
prepare the starting configuration, that is, we scatter +1 or -1 values throughout the system. Calculate and derive the
energy and magnetization of the system. We determine the interaction of the spins with the boundary, then sum up
with what was calculated without considering the boundary and obtaining the energy.</p>
        <p>The next step is to calculate the energy and magnetization for all configurations by iterating through all
configurations. Next, fill the core with spins, which correspond to the configuration. We consider the magnetization
and energy of the system without taking into account the interaction with the boundaries. We consider the energy of
interaction of spins with the boundary and record the energy of the nucleus. We write in the gem energy and
magnetization of the nucleus and then we find the configuration with the minimum energy and magnetization and
write the core with the minimum energy and magnetization into a common system. Output to file: energy and
magnetization of the nucleus; energy and magnetization of the system with a new core; E M and g.</p>
        <sec id="sec-4-2-1">
          <title>2.4. Calculated Density of States</title>
          <p>According to the results of calculations, the following histograms were constructed with a grid size of 4x4 (Fig. 3)
and 5x5 (Fig. 4)</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>Conclusion</title>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Andriushchenko</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          :
          <article-title>Large peaks in the entropy of the diluted nearest-neighbor spin-ice model on the pyrochlore lattice in a [111] magnetic field / P</article-title>
          . Andriushchenko,
          <string-name>
            <given-names>K.</given-names>
            <surname>Soldatov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Peretyatko</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Shevchenko</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Nefedev</surname>
          </string-name>
          [and etc.] // PHYSICAL REVIEW. - №
          <volume>022138</volume>
          . - P.
          <fpage>1</fpage>
          -
          <lpage>12</lpage>
          . (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Kuzin</surname>
            ,
            <given-names>A. A.</given-names>
          </string-name>
          :
          <article-title>Diluted spin ice in an external magnetic field / A. A</article-title>
          .
          <string-name>
            <surname>Kuzin</surname>
            ,
            <given-names>A. A.</given-names>
          </string-name>
          <string-name>
            <surname>Peretyatko</surname>
            ,
            <given-names>K. S.</given-names>
          </string-name>
          <string-name>
            <surname>Soldatov</surname>
          </string-name>
          , K. V. Nefediev // Far Eastern Mathematical Journal. - № 1. - P.
          <fpage>59</fpage>
          -
          <lpage>81</lpage>
          . (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Kim</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Exact Solution of the Ising Model on the Square Lattice with Free Boundary Conditions</article-title>
          / Kim SeungYeon // World Academy of Science, Engineering and Technology
          <source>International Journal of Mathematical</source>
          , Computational, Physical, Electrical and Computer Engineering Vol:
          <volume>5</volume>
          , No:
          <volume>11</volume>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>