Information processing program, and information processing method
By setting termination conditions based on high-order digit matching or variation in calculations, the method addresses the computational inefficiencies of conventional electron density methods, enhancing convergence detection and reducing resource usage.
Patent Information
- Application Number
- JP2024515282
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2022-04-14
- Filing Date
- 2022-04-14
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2042-04-14
AI Technical Summary
Conventional numerical analysis methods for calculating electron density, such as the self-consistent field method, face challenges with increased computational load due to difficulty in determining convergence, leading to repetitive calculations and excessive resource utilization.
An information processing program and method that sets termination conditions based on the matching number of high-order digits or the variation between successive calculations, allowing early detection of convergence or non-convergence to reduce unnecessary iterations.
This approach effectively suppresses the increase in computational load and time by accurately determining convergence, thereby optimizing the calculation process and reducing resource consumption.
Description
[Technical field]
[0001] The present invention relates to an information processing program and an information processing method. [Background technology]
[0002] Conventionally, in the field of material development, there is a technique for calculating electron density by numerical analysis. An example of the numerical analysis method is the self-consistent field method. For example, when calculating electron density by the self-consistent field method, the calculation of the electron density using a wave function is repeated until it is determined that the electron density has converged. For example, when calculating electron density by the self-consistent field method, if the number of atoms is N, the amount of calculation is O(N^3).
[0003] Prior art techniques include, for example, a technique that repeatedly calculates a value indicating the spin state of electrons contained in a substance using a value indicating a virtual magnetic field. There is also a technique that judges convergence by comparing the results of the previous calculation of the energy and one-electron contracted density matrix with the results of the current calculation. There is also a technique that judges termination based on a comparison of the total energy value and a convergence judgment value in the self-consistent field method. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2015-141533 A [Patent Document 2] JP 2006-277582 A [Patent Document 3] U.S. Patent No. 6,106,562 Summary of the Invention [Problem to be solved by the invention]
[0005] However, the conventional technology has a problem that the amount of calculation increases when the electron density is calculated by a numerical analysis method. For example, when the electron density is calculated by a self-consistent field method, it is difficult to determine that the electron density has converged, and the number of repeated calculations may increase, resulting in an increase in the amount of calculation.
[0006] In one aspect, the present invention aims to suppress an increase in the amount of calculation. [Means for solving the problem]
[0007] According to one embodiment, an information processing program and an information processing method are proposed, which repeatedly perform a specific operation to calculate a solution for a parameter using a function until the number of most significant digits of a characteristic value corresponding to a previously calculated solution of the parameter and a characteristic value corresponding to a currently calculated solution of the parameter match a threshold value or more.
[0008] Furthermore, according to one embodiment, an information processing program and an information processing method are proposed, which repeatedly perform a specific operation for calculating a parameter solution using a function until the degree of fluctuation between the difference between the previously calculated parameter solution and the parameter solution calculated before last, and the difference between the currently calculated parameter solution and the previously calculated parameter solution becomes equal to or lower than a threshold value. Effect of the Invention
[0009] According to one aspect, it is possible to suppress an increase in the amount of calculation. [Brief description of the drawings]
[0010] [Figure 1] FIG. 1 is a diagram illustrating an example of an information processing method according to an embodiment. [Diagram 2] FIG. 2 is an explanatory diagram illustrating an example of an information processing system 200. As shown in FIG. [Diagram 3] FIG. 3 is a block diagram showing an example of a hardware configuration of the information processing device 100. As shown in FIG. [Figure 4]FIG. 4 is a block diagram showing an example of a functional configuration of the information processing device 100. As shown in FIG. [Diagram 5] FIG. 5 is an explanatory diagram showing a first operation example of the information processing device 100. As shown in FIG. [Figure 6] FIG. 6 is a flowchart illustrating an example of an overall processing procedure in the first operation example. [Figure 7] FIG. 7 is a flowchart showing an example of a calculation process procedure in the first operation example. [Figure 8] FIG. 8 is an explanatory diagram showing a second operation example of the information processing device 100. In FIG. [Figure 9] FIG. 9 is a flowchart illustrating an example of an overall processing procedure in the second operation example. [Figure 10] FIG. 10 is a flowchart showing an example of a calculation process procedure in the second operation example. [Figure 11] FIG. 11 is an explanatory diagram showing a comparative example of calculation results with the conventional method. [Figure 12] FIG. 12 is an explanatory diagram showing a comparative example of the speedup rate compared with the conventional method. [Figure 13] FIG. 13 is an explanatory diagram showing a display example. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an embodiment of an information processing program and an information processing method according to the present invention will be described in detail with reference to the drawings.
[0012] (An example of an information processing method according to an embodiment) 1 is an explanatory diagram showing an example of an information processing method according to an embodiment. The information processing device 100 is a computer for suppressing an increase in the amount of calculation required for numerical calculation. The information processing device 100 is, for example, a server or a PC (Personal Computer).
[0013] The numerical calculation corresponds to, for example, an iterative solution method. The iterative solution method is, for example, a method of repeatedly performing a specific operation until it is determined that the solution has converged. Convergence is, for example, a state in which the difference between a previously calculated solution and a currently calculated solution is equal to or less than a threshold value. Specifically, the numerical calculation corresponds to a self-consistent field method. In the self-consistent field method, a specific operation of calculating the electron density at each point in space using a wave function is repeatedly performed until it is determined that the electron density has converged. Convergence is, for example, a state in which the difference between the previously calculated electron density and the currently calculated electron density is equal to or less than a threshold value.
[0014] The self-consistent field method may be used, for example, in the field of material development, when calculating the electron density. Specifically, the self-consistent field method is used in the field of material development, when accumulating material data by calculating the electron density according to the density functional theory, for materials informatics, which aims to shorten research institutes' time, etc. For information on density functional theory, see, for example, Reference 1 below.
[0015] Reference 1: Takao Tsuneda, and Eiko Soejima. “Basics of Density Functional Theory.” Tosho 11 (2012): 12.
[0016] Here, the larger the scale of the problem to be calculated, the larger the amount of calculation required for the numerical calculation tends to be. For example, when calculating the electron density, the larger the number of atoms, the larger the amount of calculation required for the self-consistent field method tends to be. Furthermore, depending on the problem to be calculated, it may take a long time to determine that the solution has converged, which may lead to an increase in the number of times a specific operation is performed, resulting in an increase in the amount of calculation.
[0017] Specifically, the self-consistent field method requires an increased number of repetitions of a specific calculation to calculate the electron density at each point in space when a certain condition is met, which is that the total electronic energy transitions to a state of small fluctuations.
[0018] The predetermined condition is, specifically, that a point exists in the space where the degree of influence on the total electron energy is relatively small, and the electron density at the point is difficult to converge. The predetermined condition is, specifically, that a point exists in the space where the rate of fluctuation of the difference between the previously calculated electron density and the currently calculated electron density is relatively small, and the electron density at the point is difficult to converge.
[0019] In this embodiment, an information processing method capable of suppressing an increase in the amount of calculation required for numerical calculation will be described. In the following description, the self-consistent field method may be referred to as the "SCF (Self Consistent Field) method."
[0020] 1, an information processing device 100 stores a function 101 that enables a parameter to be calculated. The parameter is, for example, electron density. The function 101 is, for example, a Kohn-Sham equation that enables a one-electron wave function that enables the parameter to be calculated to be derived.
[0021] (1-1) The information processing device 100 sets a termination condition. For example, the information processing device 100 sets, as the termination condition, a condition A indicating that the number of upper digits of the same value between a characteristic value corresponding to a previously calculated parameter solution and a characteristic value corresponding to a currently calculated parameter solution is equal to or greater than a threshold a. The characteristic value is, for example, the total electron energy. The characteristic value may be, for example, the parameter itself. The characteristic value may be, for example, the electron density itself.
[0022] The information processing device 100 sets, for example, a condition B indicating that the degree of fluctuation between the difference between the previously calculated parameter solution and the parameter solution calculated before last and the difference between the currently calculated parameter solution and the previously calculated parameter solution is equal to or less than a threshold b as the termination condition. The information processing device 100 may set only one of the conditions A and B as the termination condition. The information processing device 100 may set both the conditions A and B as the termination condition. The information processing device 100 may further set a condition C indicating that the difference between the previously calculated parameter solution and the currently calculated parameter solution is equal to or less than a threshold c as the termination condition.
[0023] (1-2) The information processing device 100 repeatedly performs a specific calculation to calculate a parameter solution using the function 101 until a termination condition is satisfied. Specifically, the specific calculation is a series of calculations to calculate a parameter solution using the function 101 based on a previously calculated parameter solution. The information processing device 100, for example, sets an initial value of the parameter and calculates a first parameter solution using the function 101. Thereafter, the information processing device 100 repeatedly performs a series of calculations to calculate a parameter solution using the function 101 based on a previously calculated parameter solution until a termination condition is satisfied.
[0024] (1-3) When condition A is satisfied, the information processing device 100 outputs the currently calculated parameter solution without repeating the specific calculation. The output format may be, for example, display on a display, printout on a printer, transmission to an external device via a network I / F, or storage in a memory area. The information processing device 100 outputs the currently calculated parameter solution in a manner that allows a user to refer to it, for example. This allows the information processing device 100 to suppress an increase in the amount of calculation. For example, even if there is a point in space that has a relatively small degree of influence on the total electron energy, the information processing device 100 can suppress an increase in the number of times the specific calculation is repeated.
[0025] When condition B is satisfied, the information processing device 100 does not repeat the specific calculation, and outputs a notification that the parameters have not converged. For example, the information processing device 100 outputs a notification that the parameters have not converged so that the user can refer to it. This allows the information processing device 100 to suppress an increase in the amount of calculation. For example, the information processing device 100 can prevent the amount of calculation from becoming enormous while the parameters remain unconverged, when there is a point in the space where the rate of variation of the difference between the electron density calculated last time and the electron density calculated this time is relatively small.
[0026] When condition C is satisfied, the information processing device 100 does not repeat the specific calculation, and outputs the currently calculated parameter solution. For example, the information processing device 100 outputs the currently calculated parameter solution so that the user can refer to it. This allows the information processing device 100 to suppress an increase in the amount of calculation. The information processing device 100 can make a relatively accurate parameter solution available. In this way, the information processing device 100 can suppress an increase in the amount of calculation, and can suppress an increase in calculation time and calculation burden.
[0027] Here, the case where the information processing device 100 operates independently has been described, but the present invention is not limited to this. For example, a plurality of computers may work together to realize the functions of the information processing device 100. Specifically, a specific calculation may be distributed among a plurality of computers. A specific example of a case where a plurality of computers work together will be described later with reference to FIG. 2. For example, the functions of the information processing device 100 may be implemented on a cloud.
[0028] (An example of the information processing system 200) Next, an example of an information processing system 200 to which the information processing device 100 shown in FIG. 1 is applied will be described with reference to FIG.
[0029] 2 is an explanatory diagram showing an example of an information processing system 200. In FIG. 2, the information processing system 200 includes an information processing device 100, a numerical calculation device 201, and a client device 202.
[0030] In the information processing system 200, the information processing device 100 and the client device 202 are connected via a wired or wireless network 210. The network 210 is, for example, a local area network (LAN), a wide area network (WAN), the Internet, etc. In the information processing system 200, the information processing device 100 and the numerical calculation device 201 are connected via the wired or wireless network 210.
[0031] The information processing device 100 is a computer that manages numerical calculations. For example, the information processing device 100 receives a calculation instruction from the client device 202. The calculation instruction specifies a problem to be calculated. The information processing device 100 sets a termination condition. In response to the calculation instruction, the information processing device 100 repeatedly performs a specific calculation until the termination condition is satisfied.
[0032] The information processing device 100, for example, sets an initial value of the electron density, and calculates a first solution of the electron density using a one-electron wave function derived by solving the Kohn-Sham equation based on the initial value. After that, the information processing device 100 repeatedly performs a series of calculations to calculate the solution of the electron density using a one-electron wave function derived by solving the Kohn-Sham equation based on the previously calculated solution of the electron density, until a termination condition is satisfied.
[0033] Here, the information processing device 100 may perform, for example, distributed processing of an operation for calculating a solution of the electron density with the numerical calculation device 201. When the information processing device 100 satisfies a termination condition, if the solution of the electron density has converged, the information processing device 100 transmits the solution of the electron density to the client device 202. When the information processing device 100 satisfies a termination condition, if the solution of the electron density has not converged, the information processing device 100 transmits a notification of non-convergence to the client device 202. The information processing device 100 is, for example, a server or a PC.
[0034] The numerical calculation device 201 is a computer that shares the computation for calculating the solution of the electron density. The numerical calculation device 201 is, for example, a server or a PC. The client device 202 is a computer that transmits a computation instruction to the information processing device 100 based on an operational input by a user. When the client device 202 receives the solution of the electron density from the information processing device 100, it outputs it so that the user can refer to it. When the client device 202 receives a notice of non-convergence from the information processing device 100, it outputs it so that the user can refer to it. The client device 202 is, for example, a PC, a tablet terminal, a smartphone, or the like.
[0035] In the following description, the case where the information processing device 100 operates independently will be mainly described.
[0036] (Example of hardware configuration of information processing device 100) Next, an example of the hardware configuration of the information processing device 100 will be described with reference to FIG.
[0037] Fig. 3 is a block diagram showing an example of a hardware configuration of the information processing device 100. In Fig. 3, the information processing device 100 has a CPU (Central Processing Unit) 301, a memory 302, a network I / F (Interface) 303, a recording medium I / F 304, and a recording medium 305. In addition, each component is connected to each other via a bus 300.
[0038] Here, the CPU 301 is responsible for the overall control of the information processing device 100. The memory 302 has, for example, a read only memory (ROM), a random access memory (RAM), and a flash ROM. Specifically, for example, the flash ROM and the ROM store various programs, and the RAM is used as a work area for the CPU 301. The programs stored in the memory 302 are loaded into the CPU 301, causing the CPU 301 to execute the coded processes.
[0039] The network I / F 303 is connected to the network 210 through a communication line, and is connected to other computers via the network 210. The network I / F 303 manages an internal interface with the network 210, and controls input and output of data from other computers. The network I / F 303 is, for example, a modem or a LAN adapter.
[0040] The recording medium I / F 304 controls reading / writing data from / to the recording medium 305 under the control of the CPU 301. The recording medium I / F 304 is, for example, a disk drive, a solid state drive (SSD), a universal serial bus (USB) port, etc. The recording medium 305 is a non-volatile memory that stores data written under the control of the recording medium I / F 304. The recording medium 305 is, for example, a disk, a semiconductor memory, a USB memory, etc. The recording medium 305 may be detachable from the information processing device 100.
[0041] In addition to the above-mentioned components, the information processing device 100 may have, for example, a keyboard, a mouse, a display, a printer, a scanner, a microphone, a speaker, etc. Furthermore, the information processing device 100 may have a plurality of recording medium I / Fs 304 and recording media 305. Furthermore, the information processing device 100 may not have the recording medium I / Fs 304 and the recording media 305.
[0042] (Example of functional configuration of information processing device 100) Next, an example of a functional configuration of the information processing device 100 will be described with reference to FIG.
[0043] 4 is a block diagram showing an example of a functional configuration of the information processing device 100. The information processing device 100 includes a storage unit 400, an acquisition unit 401, a setting unit 402, a calculation unit 403, a determination unit 404, and an output unit 405.
[0044] The storage unit 400 is realized by, for example, a storage area such as the memory 302 or the recording medium 305 shown in Fig. 3. In the following, a case where the storage unit 400 is included in the information processing device 100 will be described, but this is not limiting. For example, the storage unit 400 may be included in a device different from the information processing device 100, and the stored contents of the storage unit 400 may be accessible from the information processing device 100.
[0045] The acquiring unit 401 to the output unit 405 function as an example of a control unit. Specifically, the acquiring unit 401 to the output unit 405 realize their functions by, for example, causing the CPU 301 to execute a program stored in a storage area such as the memory 302 or the recording medium 305 shown in Fig. 3, or by the network I / F 303. The processing results of each functional unit are stored in, for example, a storage area such as the memory 302 or the recording medium 305 shown in Fig. 3.
[0046] The storage unit 400 stores various information that is referred to or updated in the processing of each functional unit. The storage unit 400 stores a function for calculating a solution of a parameter. The parameter is, for example, an electron density. The function is, for example, a Kohn-Sham equation that enables the derivation of a one-electron wave function that enables the calculation of the parameter.
[0047] The acquisition unit 401 acquires various information used for processing by each functional unit. The acquisition unit 401 stores the acquired various information in the storage unit 400 or outputs it to each functional unit. The acquisition unit 401 may also output the various information stored in the storage unit 400 to each functional unit. The acquisition unit 401 acquires various information based on, for example, an operation input by a user. The acquisition unit 401 may receive various information from, for example, a device different from the information processing device 100.
[0048] The acquisition unit 401 acquires, for example, a calculation instruction. The calculation instruction includes, for example, information for identifying the problem to be calculated. Specifically, the acquisition unit 401 accepts input of the calculation instruction based on an operation input by a user. Specifically, the acquisition unit 401 acquires the calculation instruction by receiving it from another computer.
[0049] The acquisition unit 401 may receive a start trigger for starting processing of any of the functional units. The start trigger may be, for example, a predetermined operation input by a user. The start trigger may be, for example, reception of predetermined information from another computer. The start trigger may be, for example, output of predetermined information by any of the functional units.
[0050] Specifically, the acquisition unit 401 accepts the acquisition of a calculation instruction as a start trigger for starting the processing of the setting unit 402, the calculation unit 403, and the determination unit 404.
[0051] The setting unit 402 sets a termination condition for repeating the specific calculation. The specific calculation is, for example, a series of calculations that calculate a solution of a parameter using a function. The specific calculation is, for example, a series of calculations that calculate a solution of a parameter using a function based on a previously calculated solution of the parameter. Specifically, the specific calculation corresponds to the SCF method.
[0052] The setting unit 402 sets the termination condition A indicating that the number of most significant digits of the values that match between the characteristic value corresponding to the previously calculated parameter solution and the characteristic value corresponding to the currently calculated parameter solution is equal to or greater than a first threshold. The first threshold is set in advance by, for example, a user. The characteristic value is, for example, the total electron energy. For example, when the characteristic value corresponding to the previously calculated parameter solution is "5678" and the characteristic value corresponding to the currently calculated parameter solution is "5679", the number of digits is "3" because the three values from the most significant digit "567" match.
[0053] Also, for example, if the characteristic value corresponding to the previously calculated parameter solution is "1234" and the characteristic value corresponding to the currently calculated parameter solution is "123.4", the values existing in the same digit from the upper order do not match, so the number of digits is "0". This allows the setting unit 402 to set a guideline for reducing the amount of calculation. The setting unit 402 can, for example, make it possible to detect that the parameter solution has been calculated with high accuracy.
[0054] The setting unit 402 sets a termination condition B indicating that a difference between a previously calculated parameter solution and a currently calculated parameter solution is equal to or smaller than a second threshold. The second threshold is, for example, a threshold different from the first threshold. The second threshold is, for example, set in advance by a user. This allows the setting unit 402 to set a guideline for reducing the amount of calculation. The setting unit 402 can, for example, make it possible to detect that a parameter solution has been calculated with high accuracy.
[0055] The setting unit 402 sets a termination condition C indicating that the degree of fluctuation of the difference between the previously calculated parameter solution and the parameter solution calculated two times ago and the difference between the currently calculated parameter solution and the previously calculated parameter solution is equal to or less than a third threshold. The third threshold is, for example, a threshold different from the first threshold and the second threshold. The third threshold is, for example, set in advance by a user. This allows the setting unit 402 to set a guideline for reducing the amount of calculation. The setting unit 402 can, for example, detect that the parameter solution has not yet converged.
[0056] Specifically, the setting unit 402 sets at least one of the end condition A and the end condition C. Specifically, the setting unit 402 may set all of the end condition A, the end condition B, and the end condition C. Specifically, the setting unit 402 may set any two of the end condition A, the end condition B, and the end condition C.
[0057] The calculation unit 403 repeatedly performs a specific calculation. For example, the calculation unit 403 repeatedly performs the specific calculation until the end condition A is satisfied. Specifically, the calculation unit 403 calculates a parameter solution using a function based on the initial value of the parameter. Thereafter, the calculation unit 403 repeatedly performs a specific calculation, specifically, calculating a parameter solution using a function based on the previously calculated parameter solution, until the end condition A is satisfied. This allows the calculation unit 403 to accurately calculate the parameter solution. The calculation unit 403 can suppress an increase in the amount of calculation.
[0058] The calculation unit 403, for example, repeatedly performs a specific calculation until the end condition C is satisfied. Specifically, the calculation unit 403 calculates a parameter solution using a function based on the initial value of the parameter. Thereafter, the calculation unit 403 repeatedly performs a specific calculation, specifically, calculating a parameter solution using a function based on the previously calculated parameter solution, until the end condition C is satisfied. This allows the calculation unit 403 to easily detect at a relatively early stage that the parameter solution has not yet converged. The calculation unit 403 can suppress an increase in the amount of calculation.
[0059] The calculation unit 403 may, for example, repeatedly perform a specific calculation until at least either the termination condition A or the termination condition B is satisfied. Specifically, the calculation unit 403 calculates a parameter solution using a function based on the initial value of the parameter. Thereafter, the calculation unit 403 repeatedly performs a specific calculation, specifically, calculating a parameter solution using a function based on the previously calculated parameter solution, until at least either the termination condition A or the termination condition B is satisfied. This allows the calculation unit 403 to accurately calculate the parameter solution. The calculation unit 403 can suppress an increase in the amount of calculation.
[0060] The calculation unit 403 may repeatedly perform a specific calculation, for example, until at least either the termination condition C or the termination condition B is satisfied. Specifically, the calculation unit 403 calculates a parameter solution using a function based on the initial value of the parameter. Thereafter, the calculation unit 403 repeatedly performs a specific calculation, specifically, calculating a parameter solution using a function based on the previously calculated parameter solution, until at least either the termination condition C or the termination condition B is satisfied. This allows the calculation unit 403 to accurately calculate the parameter solution. The calculation unit 403 can easily detect at a relatively early stage that the parameter solution has not yet converged. The calculation unit 403 can suppress an increase in the amount of calculation.
[0061] The calculation unit 403 may repeatedly perform a specific calculation, for example, until at least either the termination condition A or the termination condition C is satisfied. Specifically, the calculation unit 403 calculates a parameter solution using a function based on the initial value of the parameter. Thereafter, specifically, the calculation unit 403 repeatedly performs a specific calculation of calculating a parameter solution using a function based on the previously calculated parameter solution, until at least either the termination condition A or the termination condition C is satisfied. This allows the calculation unit 403 to accurately calculate the parameter solution. The calculation unit 403 can easily detect at a relatively early stage that the parameter solution has not yet converged. The calculation unit 403 can suppress an increase in the amount of calculation.
[0062] The calculation unit 403 may repeatedly perform a specific calculation, for example, until at least one of the termination conditions A, B, and C is satisfied. Specifically, the calculation unit 403 calculates a parameter solution using a function based on the initial value of the parameter. Thereafter, the calculation unit 403 repeatedly performs a specific calculation, specifically, calculating a parameter solution using a function based on the previously calculated parameter solution, until at least one of the termination conditions A, B, and C is satisfied. This allows the calculation unit 403 to accurately calculate the parameter solution. The calculation unit 403 can easily detect at a relatively early stage that the parameter solution has not yet converged. The calculation unit 403 can suppress an increase in the amount of calculation.
[0063] The determination unit 404 determines whether the parameter solution has converged. If the termination condition A is satisfied, the determination unit 404 determines that the parameter solution has converged. If the termination condition B is satisfied, the determination unit 404 determines that the parameter solution has converged. If the termination condition C is satisfied, the determination unit 404 determines that the parameter solution has not yet converged.
[0064] The output unit 405 outputs the processing result of at least one of the functional units. The output format is, for example, display on a display, printout on a printer, transmission to an external device via the network I / F 303, or storage in a storage area such as the memory 302 or the recording medium 305. In this way, the output unit 405 can notify the user of the processing result of at least one of the functional units, thereby improving the convenience of the information processing device 100.
[0065] For example, when the end condition A is satisfied, the output unit 405 outputs the currently calculated parameter solution. Specifically, the output unit 405 outputs the parameter solution so that the user can refer to it. In this way, the output unit 405 can make a relatively accurate parameter solution available.
[0066] For example, when the end condition B is satisfied, the output unit 405 outputs the currently calculated parameter solution. Specifically, the output unit 405 outputs the parameter solution so that the user can refer to it. In this way, the output unit 405 can make a relatively accurate parameter solution available.
[0067] For example, when the termination condition C is satisfied, the output unit 405 outputs a notification indicating that the parameter solution has not yet converged. Specifically, the output unit 405 outputs the notification indicating that the parameter solution has not yet converged so that the user can refer to it. In this way, the output unit 405 can enable the user to understand that the parameter solution has not yet converged.
[0068] (Operation example 1 of information processing device 100) Next, a first operation example of the information processing device 100 will be described with reference to Fig. 5. The first operation example corresponds to a case in which the information processing device 100 uses at least the above-mentioned end condition C.
[0069] Fig. 5 is an explanatory diagram showing a first operation example of the information processing device 100. In Fig. 5, the information processing device 100 repeatedly performs a specific calculation to calculate the electron density ρ(r) at each point in space in a given situation setting according to the SCF method.
[0070] In the following explanation, the electron density ρ(r) calculated at the xth time is called the electron density ρ x In the following description, for the sake of simplicity, the electron density ρ(r) may be expressed as the electron density ρ(r) at a point in space.
[0071] The information processing device 100 sets, for example, a termination condition. The termination condition is, for example, n When calculating (r), the electron density ρ n-1 (r) and electron density ρ n-2 Difference from (r) Δρ n-1 (r) and the electron density ρ n (r) and electron density ρ n-1 Difference from (r) Δρ n The difference fluctuation rate with respect to (r) is equal to or less than a threshold value DTH, where DTH is, for example, 5%.
[0072] For example, the difference Δρ n-1 (r)=electron density ρ n-2 (r)-electron density ρ n-1 (r). For example, the difference Δρ n (r)=electron density ρ n-1 (r)-electron density ρ n (r). The differential fluctuation rate is (differential Δρ n (r)-difference Δρ n-1 (r)) / difference Δρ n-1 (r). Specifically, the termination condition includes, when there are multiple points in the space, that the differential variation rates of all the points are equal to or less than the threshold value DTH.
[0073] The termination condition is furthermore the electron density ρ n (r) and electron density ρ n-1 Difference from (r) Δρ n The termination condition may include that (r) is equal to or smaller than a Δρ tolerance value. Specifically, when there are multiple points in the space, the termination condition is n It may include that (r) is less than or equal to a Δρ tolerance value.
[0074] The information processing device 100 calculates the n-th electron density ρ n When (r) is calculated, if the differential fluctuation rate is equal to or less than the threshold DTH, the repetition of the specific calculation is terminated, and the electron density ρ n The information processing device 100 determines that the electron density ρ n If (r) is judged to be unconverged, the electron density ρ n (r) A notification indicating that convergence has not occurred is output so that it can be viewed by the user.
[0075] The information processing device 100 calculates the n-th electron density ρ n When calculating (r), the difference Δρ n If (r) is less than or equal to the Δρ tolerance, the specific iteration is terminated and the electron density ρ n The information processing device 100 determines that the electron density ρ n When it is determined that (r) has converged, the electron density ρ n (r) is output so that the user can refer to it.
[0076] Furthermore, when the number of times n reaches an upper limit, the information processing device 100 ends the repetition of a specific calculation and n It may be determined that (r) has not converged.
[0077] On the other hand, the conventional method uses the electron density ρ n (r) and electron density ρ n-1 Difference from (r) Δρ n (r) is adopted as the difference Δρ n As long as (r) does not exceed the Δρ tolerance value, the specific operation will be repeatedly performed until the number of times n reaches an upper limit.
[0078] Graph 500 shows the relationship between the number of times a particular operation is repeated, n, and the difference Δρ n As shown in the graph 500, the conventional method uses a characteristic curve 501 that represents a correspondence relationship between the electron density ρ nIf (r) is set in a situation where convergence is difficult, a specific operation will be repeated until the number of times n reaches an upper limit, resulting in an increase in the amount of calculations. In the conventional method, if there is no upper limit on the number of times n, the method will fall into an infinite loop.
[0079] On the other hand, the graph 510 shows a characteristic curve 511 that indicates the correspondence relationship between the number of times n that a specific calculation is repeated and the difference fluctuation rate for the information processing device 100. As shown in the graph 510, the information processing device 100 has an electron density ρ n Even if (r) is a difficult situation to converge, the electron density ρ n It is possible to determine that (r) has not converged at a relatively early stage, and to terminate the repetition of a specific calculation, thereby enabling the information processing device 100 to suppress an increase in the amount of calculation.
[0080] Here, the case where the information processing device 100 is applied to a problem for calculating the electron density ρ(r) has been described, but is not limited thereto. For example, the information processing device 100 may be applied to a problem other than the problem for calculating the electron density ρ(r). Here, the case where the information processing device 100 realizes the SCF method has been described, but is not limited thereto. For example, the information processing device 100 may be applied to an iterative solution method other than the SCF method.
[0081] (Overall processing procedure in operation example 1) Next, an example of an overall processing procedure in the operation example 1 executed by the information processing device 100 will be described with reference to Fig. 6. The overall processing is realized by, for example, the CPU 301, storage areas such as the memory 302 and the recording medium 305, and the network I / F 303 shown in Fig. 3.
[0082] Fig. 6 is a flowchart showing an example of an overall processing procedure in the operation example 1. In Fig. 6, the information processing device 100 sets a termination condition using a variation value of the difference (step S601). Next, the information processing device 100 executes the SCF method (step S602). Then, if the solution of the electron density has converged, the information processing device 100 outputs the solution of the electron density and the total electron energy, and if the solution of the electron density has not converged, outputs a notice indicating the non-convergence (step S603).
[0083] In step S603, specifically, when there are multiple points in the space, if the electron density solutions at the multiple points have all converged, the information processing device 100 outputs the electron density solutions at each point and the total electron energy. Specifically, when there are multiple points in the space, if the electron density solution at at least one point has not converged, the information processing device 100 outputs a notification indicating that the solution has not converged. After that, the information processing device 100 ends the entire process.
[0084] (Calculation processing procedure in operation example 1) Next, an example of a calculation processing procedure in the operation example 1 executed by the information processing device 100 will be described with reference to Fig. 7. The calculation processing is realized by, for example, the CPU 301, storage areas such as the memory 302 and the recording medium 305, and the network I / F 303 shown in Fig. 3.
[0085] Fig. 7 is a flowchart showing an example of a calculation processing procedure in the operation example 1. In Fig. 7, the information processing device 100 sets the electron density ρ(r) (step S701). For example, when there are multiple points in a space, the information processing device 100 sets the electron density ρ(r) of each point. For example, if it is the first setting, the information processing device 100 sets an initial value of the electron density ρ(r), and if it is the second or subsequent setting, sets the electron density ρ(r) by some method.
[0086] Next, the information processing device 100 solves the Kohn-Sham equation based on the electron density ρ(r) to derive a one-electron wave function φi(r) (step S702). For example, when there are multiple points in the space, the information processing device 100 derives a one-electron wave function φi(r) for each point. Then, the information processing device 100 calculates the electron density ρ'(r) using the one-electron wave function φi(r) (step S703). For example, when there are multiple points in the space, the information processing device 100 calculates the electron density ρ'(r) for each point.
[0087] Next, the information processing device 100 calculates the difference Δρ(r)=electron density ρ(r)−electron density ρ'(r) (step S704). Then, the information processing device 100 calculates the difference fluctuation rate=(current difference Δρ(r)−previous difference Δρ(r)) / previous difference Δρ(r) (step S705). For example, when there are multiple points in the space, the information processing device 100 calculates the difference Δρ(r) and difference fluctuation rate of each point.
[0088] Next, the information processing device 100 determines whether the difference Δρ(r)≦Δρ allowable value (step S706). For example, when there are multiple points in the space, the information processing device 100 determines whether the difference Δρ(r) of all the points≦Δρ allowable value.
[0089] Here, if the difference Δρ(r)≦Δρ allowable value (step S706: Yes), the information processing device 100 determines that the electron density ρ(r) has converged, outputs the electron density ρ(r), and ends the calculation process. For example, if there are multiple points in the space, if the differences Δρ(r) of all the points≦Δρ allowable value, the information processing device 100 ends the calculation process.
[0090] On the other hand, if the difference Δρ(r)≦Δρ tolerance is not satisfied (step S706: No), the information processing device 100 proceeds to the process of step S707. For example, if there are multiple points in the space, and if the difference Δρ(r)≦Δρ tolerance is not satisfied for at least any of the points, the information processing device 100 proceeds to the process of step S707.
[0091] In step S707, the information processing device 100 determines whether or not the difference fluctuation rate is equal to or less than DTH (step S707). For example, when there are multiple points in the space, the information processing device 100 determines whether or not the difference Δρ(r) of at least any of the points is equal to or less than the Δρ allowable value.
[0092] Here, if the difference change rate is ≦DTH (step S707: Yes), the information processing device 100 determines that the electron density ρ(r) is not converged, outputs a notice of non-convergence, and ends the calculation process. For example, if there are multiple points in the space, if the difference change rate of at least one of the points is ≦DTH, the information processing device 100 ends the calculation process.
[0093] On the other hand, if the differential change rate is not less than or equal to DTH (step S707: No), the information processing device 100 returns to the process of step S701. For example, if there are multiple points in the space, and the differential change rates of all the points are not less than or equal to DTH, the information processing device 100 returns to the process of step S701.
[0094] Here, the information processing device 100 may change the order of the processes of some steps in the flowcharts of Figures 6 and 7. For example, the order of the processes of steps S706 and S707 can be changed. Furthermore, the information processing device 100 may omit some of the processes of some steps in the flowcharts of Figures 6 and 7. For example, the process of step S706 can be omitted.
[0095] (Operation Example 2 of Information Processing Device 100) Next, a second operation example of the information processing device 100 will be described with reference to Fig. 8. The second operation example corresponds to a case in which the information processing device 100 uses at least the above-mentioned end condition A.
[0096] Fig. 8 is an explanatory diagram showing a second operation example of the information processing device 100. In Fig. 8, the information processing device 100 repeatedly performs a specific calculation for calculating the electron density ρ(r) at each point in space in a given situation setting according to the SCF method.
[0097] In the following explanation, the electron density ρ(r) calculated at the xth time is called the electron density ρ x In the following description, for the sake of simplicity, the electron density ρ(r) may be expressed as the electron density ρ(r) at any point in space.
[0098] The information processing device 100 sets, for example, a termination condition. The termination condition is, for example, n When calculating (r), the electron density ρ n-1 (r) corresponding total electronic energy and electron density ρ n (r) and the total electron energy corresponding to it, the number of significant digits is equal to or greater than a threshold SD. SD is, for example, 5 digits.
[0099] The significant digits are the digit strings that match when the values of consecutive digits from the most significant digit match. The number of significant digits is the number that indicates how many digits from the most significant digit match when the values of consecutive digits from the most significant digit match.
[0100] The termination condition is, for example, the electron density ρ n When (r) is calculated, the number of significant digits for at least i consecutive occurrences up to the current time may be equal to or greater than the threshold SD, where i is, for example, an integer equal to or greater than 2.
[0101] The termination condition can be further, for example, n (r) and electron density ρ n-1 Difference from (r) Δρ n The termination condition may include that (r) is equal to or smaller than a Δρ tolerance value. Specifically, when there are multiple points in the space, the termination condition is n It may include that (r) is less than or equal to a Δρ tolerance value.
[0102] The information processing device 100 calculates the n-th electron density ρ n When calculating (r), if the number of significant figures is equal to or greater than SD, the repetition of the specific calculation is terminated and the electron density ρn The information processing device 100 determines that the electron density ρ n When it is determined that (r) has converged, the electron density ρ n (r) is output so that the user can refer to it.
[0103] The information processing device 100 calculates the n-th electron density ρ n When calculating (r), the difference Δρ n If (r) is less than or equal to the Δρ tolerance, the specific iteration is terminated and the electron density ρ n The information processing device 100 determines that the electron density ρ n When it is determined that (r) has converged, the electron density ρ n (r) is output so that the user can refer to it.
[0104] Furthermore, when the number of times n reaches an upper limit, the information processing device 100 ends the repetition of a specific calculation and n It may be determined that (r) has not converged.
[0105] On the other hand, the conventional method uses the electron density ρ n (r) and electron density ρ n-1 Difference from (r) Δρ n (r) is adopted as the difference Δρ n As long as (r) does not exceed the Δρ tolerance value, the specific operation will be repeatedly performed until the number of times n reaches an upper limit.
[0106] Graph 800 shows the difference Δρ for a point i in space versus the number n of times a particular operation is repeated in the conventional method. n (r i 8 shows characteristic curves 801 to 803 that represent the correspondence between the electron density ρ n (r i Specifically, the characteristic curve 802 corresponds to a point i where the electron density ρ n (r i Specifically, the characteristic curve 803 corresponds to point i where the electron density ρ n (r i) corresponds to point i where
[0107] As shown in the graph 800, the conventional method uses the electron density ρ n (r i ) is relatively small and the difference Δρ n (r i In a situation where the degree of decrease in n is relatively small, the number of times a particular operation is repeated n is likely to increase, leading to an increase in the amount of calculation.
[0108] On the other hand, the graph 810 shows a characteristic curve 811 that indicates the correspondence relationship between the number of times n that a specific operation is repeated and the number of significant digits for the information processing device 100. As shown in the graph 810, the information processing device 100 detects the electron density ρ n (r i ) is relatively small and the difference Δρ n (r i Even in a situation where the decrease in the electron density ρ n (r i ) has converged relatively quickly. Then, the information processing device 100 can end the repetition of the specific operation. Therefore, the information processing device 100 can suppress an increase in the amount of calculation.
[0109] Here, the case where the information processing device 100 is applied to a problem for calculating the electron density ρ(r) has been described, but is not limited thereto. For example, the information processing device 100 may be applied to a problem other than the problem for calculating the electron density ρ(r). Here, the case where the information processing device 100 realizes the SCF method has been described, but is not limited thereto. For example, the information processing device 100 may be applied to an iterative solution method other than the SCF method.
[0110] (Overall processing procedure in operation example 2) Next, an example of an overall processing procedure in the operation example 2 executed by the information processing device 100 will be described with reference to Fig. 9. The overall processing is realized by, for example, the CPU 301, storage areas such as the memory 302 and the recording medium 305, and the network I / F 303 shown in Fig. 3.
[0111] Fig. 9 is a flowchart showing an example of an overall processing procedure in the operation example 2. In Fig. 9, the information processing device 100 sets a termination condition using a physical property value (step S901). Next, the information processing device 100 executes the SCF method (step S902). Then, if the solution of the electron density has converged, the information processing device 100 outputs the solution of the electron density and the total electron energy, and if the solution of the electron density has not converged, outputs a notice indicating that the solution has not converged (step S903).
[0112] In step S903, specifically, when there are multiple points in the space, if the electron density solutions at the multiple points have all converged, the information processing device 100 outputs the electron density solutions at each point and the total electron energy. Specifically, when there are multiple points in the space, if the electron density solution at at least one point has not converged, the information processing device 100 outputs a notification indicating that the solutions have not converged. After that, the information processing device 100 ends the entire process.
[0113] (Calculation processing procedure in operation example 2) Next, an example of a calculation processing procedure in the operation example 2 executed by the information processing device 100 will be described with reference to Fig. 10. The calculation processing is realized by, for example, the CPU 301, storage areas such as the memory 302 and the recording medium 305, and the network I / F 303 shown in Fig. 3.
[0114] Fig. 10 is a flowchart showing an example of a calculation processing procedure in the operation example 2. In Fig. 10, the information processing device 100 sets the electron density ρ(r) (step S1001). For example, when there are multiple points in a space, the information processing device 100 sets the electron density ρ(r) of each point. For example, if it is the first setting, the information processing device 100 sets an initial value of the electron density ρ(r), and if it is the second or subsequent setting, sets the electron density ρ(r) by some method.
[0115] Next, the information processing device 100 solves the Kohn-Sham equation based on the electron density ρ(r) to derive a single-electron wave function φi(r) (step S1002). For example, when there are multiple points in the space, the information processing device 100 derives a single-electron wave function φi(r) for each point. Then, the information processing device 100 calculates the electron density ρ'(r) using the single-electron wave function φi(r) (step S1003). For example, when there are multiple points in the space, the information processing device 100 calculates the electron density ρ'(r) for each point.
[0116] Next, the information processing device 100 calculates the difference Δρ(r)=electron density ρ(r)−electron density ρ'(r) (step S1004). For example, when there are multiple points in the space, the information processing device 100 calculates the difference Δρ(r) between each point. Then, the information processing device 100 calculates the total electron energy as a physical characteristic value based on the electron density ρ'(r) (step S1005).
[0117] Next, the information processing device 100 determines whether the difference Δρ(r)≦Δρ allowable value (step S1006). For example, when there are multiple points in the space, the information processing device 100 determines whether the differences Δρ(r) of all the points≦Δρ allowable value.
[0118] Here, if the difference Δρ(r)≦Δρ allowable value (step S1006: Yes), the information processing device 100 determines that the electron density ρ(r) has converged, outputs the electron density ρ(r), and ends the calculation process. For example, if there are multiple points in the space, if the differences Δρ(r) of all the points≦Δρ allowable value, the information processing device 100 ends the calculation process.
[0119] On the other hand, if the difference Δρ(r)≦Δρ tolerance is not satisfied (step S1006: No), the information processing device 100 proceeds to the process of step S1007. For example, if there are multiple points in the space, and if the difference Δρ(r) of at least any one of the points is not satisfied≦Δρ tolerance, the information processing device 100 proceeds to the process of step S1007.
[0120] In step S1007, the information processing device 100 determines whether the number of significant digits of the total electron energy is greater than or equal to SD (step S1007). If the number of significant digits is greater than or equal to SD (step S1007: Yes), the information processing device 100 determines that the electron density ρ(r) has converged, outputs the electron density ρ(r), and ends the calculation process. On the other hand, if the number of significant digits is not greater than or equal to SD (step S1007: No), the information processing device 100 returns to the process of step S1001.
[0121] Here, the information processing device 100 may change the order of the processes of some steps in the flowcharts of Figures 9 and 10. For example, the order of the processes of steps S1006 and S1007 can be changed. Furthermore, the information processing device 100 may omit some of the processes of some steps in the flowcharts of Figures 9 and 10. For example, the process of step S1006 can be omitted.
[0122] (Effects of the information processing device 100) Next, an example of an effect achieved by the information processing device 100 will be described with reference to FIGS.
[0123] Fig. 11 is an explanatory diagram showing a comparison example of calculation results with the conventional method. Table 1100 in Fig. 11 shows the calculation results of the conventional method using CP2K, calculation result 1 when SD=5 is set using CP2K in operation example 2, and calculation result 2 when SD=4 is set using CP2K in operation example 2, for the ammonia catalyst problem. CP2K is open source software.
[0124] The conventional method calculates total electron energy = -7572.428. In the conventional method, the number of steps required to calculate total electron energy = -7572.428 is 53. In the conventional method, the elapsed time = calculation time required to calculate total electron energy = -7572.428 is 383.261 seconds.
[0125] On the other hand, in calculation result 1, the total electron energy is -7572.409. In calculation result 1, the number of steps required to calculate the total electron energy = -7572.409 is 37 steps. In calculation result 1, the elapsed time required to calculate the total electron energy = -7572.409 = calculation time is 266.375 seconds. In calculation result 1, the speedup rate of the calculation time based on the conventional method is 1.44. As shown in calculation result 1, the information processing device 100 can calculate a total electron energy value similar to that of the conventional method 1.44 times faster than the conventional method.
[0126] In addition, in calculation result 2, total electron energy=-7572.240. In calculation result 2, the number of steps in calculating total electron energy=-7572.240 is 20 steps. In calculation result 2, the elapsed time in calculating total electron energy=-7572.240=calculation time is 145.025 s. In calculation result 2, the speedup rate of calculation time based on the conventional method is 2.64. As shown in calculation result 2, the information processing device 100 can calculate a total electron energy value similar to that of the conventional method 2.64 times faster than the conventional method. Next, we move on to the explanation of FIG. 12.
[0127] FIG. 12 is an explanatory diagram showing a comparative example of the speed-up rate with the conventional method. A graph 1200 in FIG. 12 shows the speed-up rate of calculation result 1 and the speed-up rate of calculation result 2 when the conventional method is set as the standard: 1. As shown in the graph 1200, the information processing device 100 can speed up the SCF method compared to the conventional method and can suppress an increase in the calculation time required for the SCF method. The information processing device 100 can speed up the calculation by, for example, 1.4 to 2.6 times compared to the conventional method. Next, we move on to the description of FIG. 13.
[0128] Fig. 13 is an explanatory diagram showing a display example. In Fig. 13, the information processing device 100 outputs a log 1300 indicating the calculation result for each step. In the example of Fig. 13, the information processing device 100 specifically outputs a log 1300 indicating the calculation result for each step corresponding to the calculation result 2. The log 1300 indicates, for each step, the step number in that step, the difference in that step, the total electron energy in that step, and the calculation time in that step in association with each other.
[0129] In this way, the information processing device 100 can determine that the electron density ρ(r) and the total electron energy have converged before the difference Δρ(r)≦Δρ allowable value based on the number of significant digits, thereby suppressing an increase in the amount of calculations.
[0130] As described above, the information processing device 100 can repeatedly perform a specific calculation until the number of upper digits of the values that match between the characteristic value corresponding to the previously calculated parameter solution and the characteristic value corresponding to the currently calculated parameter solution becomes equal to or greater than a first threshold value. This allows the information processing device 100 to suppress an increase in the amount of calculation.
[0131] According to the information processing device 100, when the number of digits becomes equal to or greater than the first threshold, it is possible to output the currently calculated parameter solution. This allows the information processing device 100 to make the parameter solution available.
[0132] According to the information processing device 100, the specific calculation can be repeatedly performed until the number of digits becomes equal to or greater than a first threshold value, or the difference between the previously calculated parameter solution and the currently calculated parameter solution becomes equal to or less than a second threshold value. This allows the information processing device 100 to suppress an increase in the amount of calculation. The information processing device 100 can detect that a relatively accurate parameter solution has been calculated.
[0133] According to the information processing device 100, it is possible to calculate a solution of a parameter using a function based on the initial value of the parameter. According to the information processing device 100, it is possible to repeatedly perform a specific calculation for calculating a solution of a parameter using a function based on a previously calculated solution of the parameter until the number of digits becomes equal to or greater than a first threshold. This allows the information processing device 100 to be able to calculate a solution of the parameter.
[0134] According to the information processing device 100, the specific calculation can be repeatedly performed until the degree of fluctuation of the difference between the previously calculated parameter solution and the parameter solution calculated two times before, and the difference between the currently calculated parameter solution and the previously calculated parameter solution becomes equal to or less than the third threshold value. This allows the information processing device 100 to suppress an increase in the amount of calculation.
[0135] According to the information processing device 100, when the degree of variability becomes equal to or less than the third threshold, a notification indicating that the parameter solution has not yet converged can be output. This allows the information processing device 100 to enable the user to understand that the parameter solution has not yet converged.
[0136] According to the information processing device 100, the specific calculation can be repeatedly performed until the degree of fluctuation becomes equal to or less than the third threshold value, or the difference between the previously calculated parameter solution and the currently calculated parameter solution becomes equal to or less than the second threshold value. This allows the information processing device 100 to suppress an increase in the amount of calculation. The information processing device 100 can detect that a relatively accurate parameter solution has been calculated.
[0137] According to the information processing device 100, it is possible to calculate a solution of a parameter using a function based on an initial value of the parameter. According to the information processing device 100, it is possible to repeatedly perform a specific calculation for calculating a solution of a parameter using a function based on a previously calculated solution of the parameter until the degree of variation becomes equal to or less than a third threshold. This allows the information processing device 100 to be able to calculate a solution of the parameter.
[0138] According to the information processing device 100, the specific calculation can be repeatedly performed until the number of digits becomes equal to or greater than the first threshold value or the degree of variation becomes equal to or less than the third threshold value. This allows the information processing device 100 to suppress an increase in the amount of calculation.
[0139] According to the information processing device 100, the electron density can be adopted as the parameter. According to the information processing device 100, the function can include the Kohn-Sham equation that enables the calculation of a one-electron wave function. This allows the information processing device 100 to suppress an increase in the amount of calculation when calculating the electron density.
[0140] According to the information processing device 100, it is possible to adopt an operation corresponding to the SCF method for a specific operation, thereby enabling the information processing device 100 to speed up the SCF method.
[0141] The information processing method described in this embodiment can be realized by executing a prepared program on a computer such as a PC or a workstation. The information processing program described in this embodiment is recorded on a computer-readable recording medium, and is executed by being read from the recording medium by the computer. The recording medium may be a hard disk, a flexible disk, a CD (Compact Disc)-ROM, an MO (Magneto Optical disc), a DVD (Digital Versatile Disc), or the like. The information processing program described in this embodiment may also be distributed via a network such as the Internet.
[0142] The following supplementary notes are further disclosed regarding the above-described embodiment.
[0143] (Appendix 1) A specific calculation for calculating a solution of a parameter using a function is repeatedly performed until the number of upper digits of a value that matches between a characteristic value corresponding to a previously calculated solution of the parameter and a characteristic value corresponding to a currently calculated solution of the parameter becomes equal to or greater than a first threshold value. An information processing program that causes a computer to execute a process.
[0144] (Note 2) When the number of digits becomes equal to or greater than the first threshold, the solution of the parameter calculated this time is output. 2. The information processing program according to claim 1, characterized in that the information processing program causes the computer to execute a process.
[0145] (Appendix 3) The process to be performed is as follows: The information processing program according to claim 1 or 2, characterized in that the specific calculation is repeatedly performed until the number of digits becomes equal to or greater than the first threshold value, or a difference between a previously calculated solution of the parameter and a currently calculated solution of the parameter becomes equal to or less than a second threshold value.
[0146] (Appendix 4) Calculating a solution for the parameters using the function based on the initial values of the parameters; After the process is executed by the computer, The process to be performed is 3. The information processing program according to claim 1 or 2, characterized in that a specific calculation is repeatedly performed to calculate a solution for the parameter using the function based on a previously calculated solution for the parameter until the number of digits becomes equal to or greater than the first threshold.
[0147] (Appendix 5) A specific calculation for calculating a parameter solution using a function is repeatedly performed until a degree of fluctuation between a difference between a previously calculated parameter solution and a parameter solution calculated two times ago, and a difference between a currently calculated parameter solution and a previously calculated parameter solution becomes equal to or less than a first threshold value; An information processing program that causes a computer to execute a process.
[0148] (Appendix 6) When the degree of variability becomes equal to or less than the first threshold, a notification is output indicating that the solution for the parameters has not yet converged. 6. The information processing program according to claim 5, characterized in that the information processing program causes the computer to execute a process.
[0149] (Appendix 7) The process to be performed is as follows: The information processing program according to claim 5 or 6, characterized in that the specific calculation is repeatedly performed until the degree of fluctuation becomes equal to or less than the first threshold value or a difference between a previously calculated solution of the parameter and a currently calculated solution of the parameter becomes equal to or less than a second threshold value.
[0150] (Appendix 8) Calculating a solution for the parameters using the function based on the initial values of the parameters; After the process is executed by the computer, The process to be performed is 7. The information processing program according to claim 5 or 6, further comprising: repeating a specific calculation for calculating a solution of the parameter using the function based on a previously calculated solution of the parameter until the degree of variation becomes equal to or less than the first threshold value.
[0151] (Appendix 9) The process to be performed is as follows: The information processing program according to claim 1 or 2, characterized in that the specific calculation is repeatedly performed until the number of digits becomes equal to or greater than the first threshold value, or a degree of variability between a difference between the previously calculated solution of the parameter and the solution of the parameter calculated two times and a difference between a currently calculated solution of the parameter and the previously calculated solution of the parameter becomes equal to or less than a third threshold value.
[0152] (Appendix 10) The parameter is electron density, The information processing program according to any one of appendices 1, 2, 5, and 6, wherein the function includes a Kohn-Sham equation that enables calculation of a one-electron wave function.
[0153] (Supplementary Note 11) The information processing program according to any one of Supplementary Notes 1, 2, 5, and 6, characterized in that the specific calculation corresponds to a Self Consistent Field method.
[0154] (Appendix 12) A specific calculation for calculating a solution of a parameter using a function is repeatedly performed until the number of upper digits of a value that matches between a characteristic value corresponding to a previously calculated solution of the parameter and a characteristic value corresponding to a currently calculated solution of the parameter becomes equal to or greater than a first threshold value. An information processing method characterized in that the processing is executed by a computer.
[0155] (Appendix 13) A specific calculation for calculating a parameter solution using a function is repeatedly performed until a degree of fluctuation between a difference between a previously calculated parameter solution and a parameter solution calculated two times ago, and a difference between a currently calculated parameter solution and a previously calculated parameter solution becomes equal to or less than a first threshold value. An information processing method characterized in that the processing is executed by a computer. [Explanation of symbols]
[0156] 100 Information processing device 101 Functions 200 Information Processing Systems 201 Numerical Calculation Device 202 Client device 210 Network 300 Bus 301 CPU 302 Memory 303 Network Interface 304 Recording media I / F 305 Recording media 400 Storage section 401 Acquisition Department 402 Settings 403 Arithmetic section 404 Judgment section 405 Output section 500,510,800,810,1200 Graph 501,511,801~803,811 Characteristic curve 1100 table 1300 Log
Claims
1. a specific calculation for calculating a parameter solution using a function is repeatedly performed until the number of most significant digits of a characteristic value corresponding to a previously calculated parameter solution and a characteristic value corresponding to a currently calculated parameter solution are equal to or greater than a first threshold value; An information processing program that causes a computer to execute a process.
2. When the number of digits becomes equal to or greater than the first threshold, the solution of the currently calculated parameters is output.
2. The information processing program according to claim 1, which causes the computer to execute a process.
3. The process to be performed is 3. The information processing program according to claim 1, wherein the specific calculation is repeatedly performed until the number of digits becomes equal to or greater than the first threshold value or until a difference between a previously calculated solution of the parameters and a currently calculated solution of the parameters becomes equal to or less than a second threshold value.
4. a specific calculation for calculating a parameter solution using a function is repeatedly performed until a degree of fluctuation of a difference between a previously calculated parameter solution and a parameter solution calculated two times ago and a difference between a currently calculated parameter solution and a previously calculated parameter solution becomes equal to or less than a first threshold value; An information processing program that causes a computer to execute a process.
5. outputting a notification indicating that the parameter solution has not yet converged when the variability becomes equal to or less than the first threshold.
5. The information processing program according to claim 4, which causes the computer to execute a process.
6. The process to be performed is The information processing program according to claim 4 or 5, characterized in that the specific calculation is repeatedly performed until the degree of variability becomes equal to or less than the first threshold value or the difference between the previously calculated parameter solution and the currently calculated parameter solution becomes equal to or less than a second threshold value.
7. a specific calculation for calculating a parameter solution using a function is repeatedly performed until the number of most significant digits of a characteristic value corresponding to a previously calculated parameter solution and a characteristic value corresponding to a currently calculated parameter solution are equal to or greater than a first threshold value; An information processing method characterized in that the processing is executed by a computer.
8. a specific calculation for calculating a parameter solution using a function is repeatedly performed until a degree of fluctuation of a difference between a previously calculated parameter solution and a parameter solution calculated two times ago and a difference between a currently calculated parameter solution and a previously calculated parameter solution becomes equal to or less than a first threshold value; An information processing method characterized in that the processing is executed by a computer.
Citation Information
Patent Citations
Molecular orbital method calculation method and calculation device
JP2006277582A
Electronic state calculation device, electronic state calculation method, and electronic state calculation program
JP2015141533A
Apparatus and methods for predicting physical and chemical properties of materials
US6106562A
