This patent application is based upon and claims the benefit of priority of the prior Japanese Patent Application No. 2012-020255 filed on Feb. 1, 2012, the entire contents of which are incorporated herein by reference.
The embodiment discussed herein is related to a molecular design apparatus and method for drawing molecular orbitals on a screen of a display device based on molecular structure design data.
In research and development of a high technology related to drug design or the like, needs of a molecular orbital calculation using a computer have been increased. The molecular orbital function is useful for research of photoresponsiveness and reactivity of a molecule to be a development target. Especially, molecular orbitals such as a HOMO (Highest Occupied Molecular Orbital) and a LUMO (Lowest Unoccupied Molecular Orbital) are frequently drawn by a three-dimensional drawing using the computer. In order to draw the molecular orbitals, a molecular orbital drawing program and a molecular orbital drawing apparatus are used. A GUI (Graphical User Interface) for an easy user operation is realized.
However, in the above-described drawing of the molecular orbitals, especially in a case of handling a large scale molecule, a calculation using a large amount of data is performed. In many molecular orbital calculation programs, expansion coefficients of the molecular orbitals acquired from a molecular orbital calculation result are output to a file. By a molecular orbital drawing program, a drawing process is executed. In the drawing process, expansion coefficient data and basis function data are read out from the file and values of molecular orbital functions are calculated. Alternatively, in addition to the file to which the expansion coefficients are output, a result file may be output as a result from actually calculating function values of three-dimensional lattice points. The molecular orbital drawing program may read the result file, and then, the drawing process may be performed.
In a case in which a data amount related to the drawing process is increased, a drawing time may be delayed. In order to improve drawing speed, values of basis functions of the three-dimensional lattice points may be calculated beforehand. Moreover, lattice points themselves may be reduced.
According to one aspect of the embodiment, there is provided a molecular design apparatus, including a storage part configured to store molecular structure design data; a molecular orbital function expansion part configured to calculate expansion coefficients applied to basis functions by expanding a molecular orbital function used to draw molecular orbitals based on the molecular structure design data, and stores first molecular orbital data in which the expansion coefficients are corresponded to the basis functions to the storage part; and a molecular orbital data reduction part configured to determine a coefficient threshold for the expansion coefficients of the basis functions acquired by the molecular orbital function expansion part by using a drawing threshold which indicates a constant function value, to draw the molecular orbital functions as an isosurface of the constant function value on a screen of a display device, and to store second molecular orbital data pertinent to the expansion coefficients based on the coefficient threshold to the storage part.
According to other aspects of the embodiment, there may be provided a molecular design method conducted by a computer, and a non-transitory computer-readable recording medium storing a program for causing the computer to operate as the above-described molecular design apparatus.
The object and advantages of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the appended claims. It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention as claimed.
In the following, an embodiment of the present invention will be described with reference to the accompanying drawings. A molecular design apparatus 100 according to the embodiment includes a hardware configuration as illustrated in
The CPU 11 controls the molecular design apparatus 100 in accordance with programs stored in the main memory 12. The main memory 12 may include a Random Access Memory (RAM), a ROM (Read-Only Memory), or the like. The main memory 12 stores programs executed by the CPU 11, data used in processes conducted by the CPU 11, data acquired in the processes conducted by the CPU 11, and the like. Also, a part of an area of the main memory 12 may be used as a working area for the processes conducted by the CPU 11.
The auxiliary storage device 13 may include a hard disk drive, and may store data such as the programs to perform various processes. A part of a program stored in the auxiliary storage device 13 is loaded to the main memory 12, and is executed by the CPU 11. Accordingly, various processes are realized. A storage part 130 may include the main memory 12 and/or the auxiliary storage device 13.
The input device 14 may include one or more operation parts such as a pointing device such as a mouse, a keyboard or the like. The input device 14 may be used for a user to input various information items for the processes in the molecular design apparatus 100. The display device 15 is used to display various information items under a control of the CPU 11. The output device 16 may include a printer or the like. The output device 16 is used for the user to output various information items in response to an instruction of the user. The communication I/F 17 is used to connect to the Internet, a Local Area Network (LAN), or the like. The communication I/F 17 corresponds to a device for controlling a communication with an external device.
The program, which may realize the process performed by the molecular design apparatus 100, may be provided by a recording medium 19 such as a CD-ROM (Compact Disc Read-Only Memory) or the like. That is, when the recording medium 19 storing the program is set to the drive device 18, the program is read out by the drive device 18 from the recording medium 19, and is installed to the auxiliary storage device 13 through the bus B. Accordingly, when the CPU 11 is instructed to execute the program, the CPU 11 starts the process in accordance with the program installed in the auxiliary storage device 13. The recording medium 19 for storing the program is not limited to the CD-ROM. Any computer-readable recording medium may be used as the recording medium 19. In addition to the CD-ROM, a portable recording medium such as a Digital Versatile Disk (DVD), a Universal Serial Bus (USB) memory, a semiconductor memory such as a flash memory, or the like may be used as the computer-readable recording medium 19.
Also, the program for realizing the process performed by the molecular design apparatus 100 may be provided from the external device through the communication I/F 17. Alternatively, the program may be provided to the external device. Each of processes, which will be described later, may be realized at the external device. The communication through the communication I/F 17 is not limited to a wireless or wired communication.
The molecular structure design part 41 conducts the molecular structure design based on data pertaining to the molecular structure. The data are input from the input device 14 by the user. A main window for the user to work is displayed by the molecular structure design part 41 on a screen of the display device 15. The user operates an atom item, a bond axis item, and the like to be displayed in the main window, by using the pointing device, the keyboard, or the like, so as to build a three-dimensional structure of a molecule in the main window. Molecular structure design data 132, which is created by operations of the user, are stored in the storage part 130.
The molecular orbital calculation part 43 calculates a molecular orbital based on the molecular structure design data 132. In the embodiment, the molecular orbital calculation part 43 reduces as much as possible a data amount of a calculation result of the molecular orbital without losing drawing data of the molecular orbital.
The molecular orbital calculation part 43 calculates the molecular orbital based on the molecular structure design data 132 by a molecular orbital function represented by a linear combination of multiple basis functions which are prepared beforehand. The molecular orbital calculation part 43 further includes the MO function expansion part 44, a threshold determination part 45, and a data deletion storage part 46. The threshold determination part 45 and the data deletion storage part 46 correspond to a MO data reduction part 47 for reducing the data amount of the calculation result of the molecular orbital.
The MO function expansion part 44 calculates coefficients (hereinafter, called “expansion coefficients”) concerning the multiple basis functions to expand the molecular orbital function into the multiple basis functions. In the embodiment, the molecular orbital calculation is performed to acquire the expansion coefficients respective to the multiple molecular orbital functions. In the following, the “molecular orbital” and the “molecular orbital function” are synonymous in a molecular orbital calculation process. The molecular orbital function represents a state of an electron in a molecule. An orbital function value in coordinates is raised to the power of two. In detail, by using an expression (1), the expansion coefficients of the molecular orbital function are calculated.
In the above expression (1), φi indicates an ith molecular orbital function, r indicates coordinates used to acquire a function value, and χp indicates a pth basis function. N indicates a total number of the basis functions, and Cpi indicates an expansion coefficient applied to the pth basis function in a case in which an ith molecular orbital function is expanded into the multiple basis functions. First MO data 134 are stored in the storage part 130. In the first MO data 134, the expansion coefficients Cpi correspond to the pth basis function for each ith molecular orbital function.
The threshold determination part 45 determines thresholds of the above-described coefficients used to create second MO data 136 for drawing the molecular orbital. By using the second MO data 136, it is possible for the MO drawing part 48 to draw the molecular orbital at high speed. A coefficient threshold Ccutoff is determined by an expression (3) acquired from an expression (2) based on the expression (1).
In the above expressions (2) and (3), in a case in which the molecular orbital is drawn, φcutoff represents a threshold (corresponding to a drawing threshold) of the molecular orbital to set to an isosurface. Also, α represents a value acquired by multiplying the number of the basis functions belonging to each of atoms with a ratio of the number of electrons with respect to a total number of basis, a basis ratio respective to the value, or the like. NAtommax represents a maximum value of atoms in a range where the basis functions are overlapped. The coefficient threshold Ccutoff represents a threshold of the expansion coefficient of the molecular orbital function. χcutoff represents a threshold of the basis function to ignore relationships with other basis functions, regarding a radial distribution function of the basis function.
The data deletion storage part 46 reduces the data amount of the first MO data 134, and also stores the second MO data 136 for the MO drawing part 48 to acquire an approximate molecular orbital function.
The data deletion storage part 46 specifies, by referring to the first MO data 134, the expansion coefficients Cpi being greater than or equal to coefficient threshold Ccutoff calculated by a threshold determination part 45, the basis function χp corresponding to the expansion coefficients Cpi, and the number of elements to acquire the approximate molecular orbital function for the ith molecular orbital function acquired by the MO function expansion part 44. The data deletion storage part 46 stores the expansion coefficients Cpi, the basis function χp, and the number of elements to the second MO data 136 in the storage part 130, and sets “True” to a reduction flag 6a of the second MO data 136 to validate the second MO data 136. Initially, “False” is set to the reduction flag 6a to invalidate the second MO data 136.
The expansion coefficients Cpi being greater than or equal to the coefficient threshold Ccutoff is stored in expansion coefficient data 6b. Preferably, the expansion coefficients Cpi may be stored in one dimensional array V. Basis function indication data 6c stores an entity of the basis function χp corresponding to the expansion coefficients Cpi stored in the expansion coefficient data 6b, or a pointer to the basis function χp existing in the first MO data 134. In this case, one dimensional array VBasis may be used for the basis function χp. Also, the number of the basis functions χp, which is applied after the reduction of the data amount, corresponds to an element number of the array VBasis. One dimensional array VOrbital represents elements of the array V for the expansion coefficients Cpi for each of the molecular orbital functions, and is stored in MO indication data 6d.
The MO drawing part 48 draws the molecular orbital on the molecular structure in the window of the display device 15 by using the molecular orbital function calculated by the molecular orbital calculation part 43. If the reduction flag 6a of the second MO data 136 indicates “True” (the second MO data 136 is validated), the molecular orbital drawing part 48 draws the molecular orbital on the molecular structure by using the approximate molecular orbital function by referring to the second MO data 136. On the other hand, if the reduction flag 6a indicates “False” (the second MO data 136 is invalidated), the molecular orbital drawing part 48 draws the molecular orbital on the molecular structure by using the first MO data 134.
The molecular orbital drawing part 48 includes a MO function determination part 49. If the reduction flag 6a indicates “True”, the MO function determination part 49 calculates approximate molecular orbital function by referring to the second MO data 136. The molecular orbital drawing part 48 acquires a molecular orbital function value by using the approximate molecular orbital function calculated by the MO function determination part 49, and draws the molecular orbital on the molecular structure based on the molecular structure design data 132. Drawing data 138 for drawing the molecular orbital on the molecular structure are stored in the storage part 130.
Next, a threshold determination process will be described. The threshold determination process is performed by the threshold determination part 45 to reduce the data amount of the expansion coefficients of the molecular orbitals.
The threshold determination part 45 acquires each of the following values to calculate the coefficient threshold Ccutoff indicating a threshold value of the expansion coefficients of the molecular orbital functions, in which the coefficient threshold Ccutoff is expressed by the above expression (3).
(A1) a drawing threshold φcutoff for the molecular orbital functions to draw the molecular orbitals,
(A2) a base threshold χcutoff in which influence to other basis functions becomes sufficiently small in a space distribution of the basis function,
(A3) a threshold rχmax of a distance where the basis function and other basis functions are sufficiently overlapped,
(A4) a maximum value NAtommax of the number of atoms included in a sphere having a radius 2rχmax from a center of each of the atoms,
(A5) a value α acquired by multiplying the number of bases for each of the atoms with a ratio of the number of electrons with respect to a total number of bases, and the like.
The above item (A1) will be described with reference to
The above items (A2) and (A3) will be described with reference to
In a case of considering the influence to the other basis functions, a distribution function D (an expression (6)) may be used. The distribution function D may be regarded as a distribution function of a radial function R (an expression (5)) forming a basis function χ (an expression (4)).
In the expressions (4) to (6), χSTOnlm indicates a basis function using a Slater Type Orbital (STO), n indicates a principal quantum number, l indicates an azimuthal quantum number, and m indicates a magnetic quantum number. RSTOn(r) indicates the radial function of the Slater Type Orbital in radial coordinates r, and n indicates the principal quantum number. Ylm(θ,φ) indicates spherical harmonics of the Slater Type Orbital in angular coordinates θ and φ, l indicates the azimuthal quantum number, and m indicates a magnetic quantum number.
ζ indicates an orbital exponent (a coefficient of an exponent of the radial function). DSTOn,ζ indicates a radial distribution function of the Slater Type Orbital, and n indicates the principal quantum number. Also, rχmax indicates the radial coordinates determined by the threshold of the basis function.
The above item (A4) will be described with reference to
In
The above item (A5) will be described. α indicates a value which results from multiplying the number of the basis functions belonging to each of the atoms with a ratio of an electron number with respect to the total number of the basis functions, or an other value respective to the calculated value. When α is calculated, a HOMO (Highest Occupied Molecular Orbital) in a region which tends to give an electron or a LUMO (Lowest Unoccupied Molecular Orbital) in a region which tends to receive the electron may be considered. αNAtommax is regarded as the number of the basis functions which are actually overlapped with respect to the total number N of the basis functions in the expression (1) for calculating the molecular orbital functions. Accordingly, it is possible to determine the drawing threshold φcutoff based on a relational expression (the above expression (2)), and to determine a pertinent coefficient threshold Ccutoff by the above expression (3).
The threshold determination part 45 acquires the threshold rχmax of the distance where the basis function and other basis functions are significantly overlapped based on a distribution function D and the basis threshold χcutoff of the basis function χ (step S63). The threshold determination part 45 acquires a maximum value of the number of atoms in the sphere of the radius 2rχmax from each of the atoms, and sets the maximum number NAtommax (step S64). Moreover, the threshold determination part 45 acquires α based on the number of the basis functions and the HOMO (step S65). Instead of the HOMO, α related to the LUMO may be acquired. The user may indicate the HOMO or LUMO beforehand.
Next, the threshold determination part 45 obtain the coefficient threshold Ccutoff based on the drawing threshold φcutoff, the basis threshold χcutoff and the maximum value NAtommax, and α (step S66).
Based on the coefficient threshold Ccutoff determined in a process conducted by the threshold determination part 45, the data deletion storage part 46 creates and stores contents of the second MO data 136 in the storage part 130.
A data reduction process will be described with reference to
In the φi data 134-2, the expansion coefficients Cpi pertinent to the basis functions χp (p=1, 2, . . . , N) corresponding to the basis functions χ1 through χN, respectively.
The data deletion storage part 46 stores the expansion coefficients Cpi being greater than or equal to the coefficient threshold Ccutoff in one dimensional array V. In an order of p from 1 to N, the expansion coefficients Cpi being greater than or equal to the coefficient threshold Ccutoff are stored in elements from jistart to jiEnd of the array V. The jiStart indicates a first expansion coefficient Cpi after the data reduction process related to the ith molecular orbital φi (may be called “molecular orbital function φi”). The jiEnd indicates a last expansion coefficient Cpi after the data reduction process related to the ith molecular orbital φi.
Also, when storing the expansion coefficients Cpi (greater than or equal to the coefficient threshold Ccutoff) after the data reduction, the data deletion storage part 46 stores pointers to the basis functions χp corresponding to the expansion coefficient Cpi being greater than or equal to the coefficient threshold Ccutoff, to elements from jistart to jEnd of the array VBasis.
Furthermore, the data deletion storage part 46 manages elements from jistart to jEnd by using one dimensional array VOrbital. By setting jiStart to an ith element (VOrbital[i]) of the array VOrbital the element number is acquired by deducting VOrbital[i] from VOrbital[i+1].
As described above, φi′ data 136-2 pertinent to the ith molecular orbital φi are created. In the φi′ data 136-2, data from the array V[jiStart] to the array V[jiEnd] correspond to a part of the expansion coefficient data 6b in the second MO data 136 in
In order to approximate the above expression (1), the expression (1) may be replaced by using an array based on the following relational expression (A).
C
pi
=>V[i],
χp=>χVBasis[l],
N=>j
i
End
−j
i
Start+1=VOrbital[i+1]−VOrbital[i] <Relational Expression A>
The expansion coefficient Cpi is represented by V[1], and χp is represented by χVBasis[1]. Also, the total number N of the basis functions is represented by the number (jiEnd−jiStart+1=VOrbital[i+1]−VOrbital[i]) of the basis functions to be applied.
As described above, by approximating the above expression (1), the expression (1) may be represented by an approximated molecular functions such as the following expression (7).
Also, in a case of a related art in which the embodiment is not applied, the number of the basis functions χp pertaining to the ith molecular orbital φi becomes the total number N of the basis functions χp. On the other hand, in a case of applying the embodiment, the number of the basis functions χp pertaining to the ith molecular orbital φi becomes the element number acquired by a calculation (VOrbital[i+1]−VOrbital[i]). Accordingly, a ratio of a calculation amount of the MO drawing part 48 in the embodiment with respect to that of the related art is indicated by the following expression (8).
The smaller the ratio acquired by the above expression (8) is, at the higher speed the drawing process is performed by the MO drawing part 48.
A data deletion storing process will be described with reference to
The data deletion storage part 46 stores the expansion coefficients Cpi being greater than or equal to coefficient threshold Ccutoff calculated by a threshold determination part 45 to the elements from jiStart to jiEnd of the array V in the expansion coefficient data 6b. Also, the data deletion storage part 46 stores data indicating the basis functions χi to the elements from jiStart to jiEnd of the array VBasis in the basis function indication data 6c (step S83).
Next, in
After that, the data deletion storage part 46 increments the variable i by 1 (step S85), and determines whether the variable i reaches the total number N of the molecular orbital functions φ, that is, whether the variable i is equal to the total number N (step S86). If the variable i is not equal to the total number N, the data deletion storage part 46 goes back to the step S82, and repeats the above described processes. On the other hand, if the variable i is equal to the total number N of molecular orbital functions φ, the data deletion storage part 46 stores a value where 1 is added to jiEnd, in the array VOrbital[i+1] (step S87). Then, the data deletion storing process is terminated.
The second MO data 136 will be described with reference to
The first MO data 134 is created by the MO function expansion part 44. In the first MO data 134, the expansion coefficients C are stored by corresponding to the basis functions χ, respectively, for each of the molecular orbitals φ based on the molecular structure design data 132.
For each of an atom 1, an atom 2, . . . , an atom NA included in the molecular structure, one or more basis functions χ are prepared beforehand. NA indicates the number of the atoms in a molecule. The total number (that is, the total number of the molecular orbitals φ) of the basis functions χ pertinent to the atom 1 through the atom NA is indicated by N. The basis functions χ are independent functions. The total number of the expansion coefficients C is represented by N to the power of 2 (N2). The expansion coefficient data 6b include N squared values of the expansion coefficients C.
The basis functions χ for depicting orbitals of the atom 1 are represented with suffixes p1Start through p1End, respectively. The basis functions χ for depicting orbitals of the atom 2 are represented with suffixes p2Start through p2End, respectively. The basis functions χ for depicting orbitals of the atom NA are represented with suffixes pNAStart through pNAEnd, respectively. The p1Start indicates a 1st basis function χ, and pNAEnd indicates a Nth basis function χ.
Each of the molecular orbitals φ is specified by the suffix i (i=1, . . . , N), and the expansion coefficient data 4i indicates data of the molecule orbitals φi in the expansion coefficient data 40. The expansion coefficient data 6b may be represented by a two dimensional array of N×N. For each of the expansion coefficients C, a first suffix indicates one of the basis functions χ, and a second suffix indicates one of the molecular orbitals φ. For the 1st suffix, piStart is a number to indicate a first function in the basis functions related to the ith atom, and piEnd is a number to indicate a last function in the basis functions related to the ith atom.
The first MO data 134 may include basis function data 9a representing each of the basis functions χ. Alternatively, the basis function data 9a may be separately stored in another data file, table, or the like.
In the second MO data 136 created by the MO data reduction part 47 based on the first MO data 134, the expansion coefficients C from the molecular orbital φ1 to the molecular orbital φN are stored to the array V in the expansion coefficient data 6b.
For the first molecular orbital φ1, the expansion coefficients C, which are greater than or equal to coefficient threshold Ccutoff, are stored to the elements from the 1st to J1End in the array V. A first expression coefficient C is represented with a suffix m1Start and a last expression coefficient C is represented with a suffix m1End. For the last molecular orbital φN, the expansion coefficients C, which are greater than or equal to coefficient threshold Ccutoff, are stored to the elements from the JNStart to m in the array V. The first expansion coefficient C is represented with a suffix mNStart, and the last expansion coefficient C is represented with a suffix mNEnd.
In the basis function indication data 6c, the basis functions χ, which are used to depict the molecular orbitals φ1 through φN, are stored in the array VBasis according to an array order of the expansion coefficients C stored in the expansion coefficient 6b.
For the first molecular orbital φ1, the basis function χ, where the first expansion coefficient C with the suffix m1Start of the array V is used, is stored to the first element of the array VBasis. Also, the basis function χ, where the last expansion coefficient C with the suffix m1End of the array V is used, is stored to the J1End element of the array VBasis. Other molecular orbitals φi will be explained in the same manner.
In the MO indication data 6d, the number identifying the element where the first expansion coefficient C is indicated by the array VOrbital for each of the molecular orbitals φ1 to φN. A first element number jiStart of the ith molecular orbital φ in the array V is stored in Vorbital[i]. A value resulted from adding 1 to the number m of the expansion coefficients C after the data are reduced is stored to a last element VOrbital[N+1] of the array VOrbital. In the embodiment, when the MO data reduction part 47 is applied so that the second MO data 136 is valid, the number m may be also the number of the basis functions χ which are deleted. Accordingly, in a molecular orbital drawing process conducted by the MO drawing part 48, it is possible to reduce the drawing process by the number m of the basis functions χ which are deleted.
In order to acquire molecular orbital function values of a drawing target from the expansion coefficient data 6b of the molecular orbitals, it is determined whether data for the drawing process are stored in a regular data format (corresponding to the first MO data 134 including the entire data) in which the embodiment is applied or in a reduced data format (corresponding to the second MO data 136) in which the embodiment is applied and the data amount is reduced. The reduction flag 6a may be used
If it is determined, by checking whether the reduction flag 6a indicates “True” or “False”, that the data in the regular data format are to be used for the drawing process, the molecular orbit function values are calculated by the expression (1) using the first MO data 134 in the regular data format, and the drawing process is performed.
If it is determined that the second MO data 136 in the reduced data format are to be used for the drawing process, since the regular data format of the first MO data 134 and the reduced data format of the second MO data 136 are corresponded to as illustrated in
Next, a molecular orbital function determination process will be described with reference to
The MO drawing part 48 acquires a value of the reduction flag 6a from the second MO data 136 stored in the storage part 130 (step S101).
The MO drawing part 48 determines whether the reduction flag 6a indicates “True”, that is, whether the second MO data 136 is valid (step S102). When the reduction flag 6a indicates “False”, that is, the second MO data 136 is invalid, the MO drawing part 48 performs a regular drawing process by the expression (1) using the first MO data 134 (step S102-2), and terminates the molecular orbital function determination process when the regular drawing process ends.
On the other hand, when the reduction flag 6a indicates “True”, that is, the second MO data 136 is valid, the MO drawing part 48 instructs the MO function determination part 49 to perform the molecular orbital function determination process.
The MO function determination part 49 reads out the expansion coefficient data 6b, the basis function indication data 6c, and the MO indication data 6d from the second MO data 136, and acquires the array V, the array VBasis, and the array VOrbital (step S103).
The MO function determination part 49 sets 1 to a number variable i specifying the ith molecular orbital function φ (step S104), and sets Vorbital[i] to an element number variable j (step S105). The element number variable j specifies the both element numbers in the array V for storing the expansion coefficients C and the array VBasis of the basis function χ, which are applied for the molecular orbital function φi. In a process in the step S105, the first element number of the molecular orbital function φi is set to the element number variable j.
The MO function determination part 49 sets an expression for multiplying the expansion coefficient C with the basis function χ respective to the first element number, to the element i of an array φ representing the molecular orbital function φi (φ[i]) (step S106).
φ[i]=V[j]*χ[VBasis[j]] (9)
The MO function determination part 49 increments the element number variable j (step S107), and additionally sets an expression for multiplying the expansion coefficient C and the basis function χ respective to the element number variable j, to the element I (φ[i]) (step S108).
φ[i]=φ[i]+V[j]*χ[VBasis[j]] (10)
Accordingly, the MO function determination part 49 determines whether the element number variable j is equal to the last element number in the molecular orbital function φi (step S109). The MO function determination part 49 acquires the array VOrbital[i+1], and deducts 1 from the array VOrbital[i+1]. Thus, the element number indicating the last element is acquired. The MO function determination part 49 may determine whether the element number variable j reaches a value resulted from deducting 1 from the array VOrbital[i+1]. When the element number variable j has not reached the last element number in the molecular orbital function φi, that is, when the element number variable j is not equal to the last element number, the MO function determination part 49 returns to step S107.
On the other hand, in step S109, when the element number variable j is equal to the last element number in the molecular orbital function φi, the MO function determination part 49 increments the number variable i of the molecular orbital function φ by 1 (step S110), and determines whether the number variable i reaches the total number N of the molecular orbital function φ by checking whether the number variable i is equal to the total number N (step S111). The MO function determination part 49 may determine whether the number variable i is equal to the total number N. When the number variable i is not equal to the total number N, the MO function determination part 49 goes back to step S105 and repeats the above described process.
On the other hand, when the number variable i is equal to the total number N, the MO drawing part 48 determines that all molecular orbital functions φi are defined by the MO function determination part 49, and draws the molecular orbitals at the display device 15 by using the defined molecular orbital functions φi (step S112). After the molecular orbitals are drawn, the MO drawing part 48 terminates the molecular orbital function determination process.
Next, a comparison result of data amounts will be described. The data amount in a case of applying the data reduction according to the embodiment is compared with the data amount in a case in which the embodiment is not applied.
A first drawing example in a case of drawing the HOMO of an organic molecule NKX-2677 will be described with
In
On the other hand, when the data reduction according to the embodiment is conducted, the second MO data 136, which is reduced by the MO data reduction part 47, are used in a three-dimensional molecular structure 7d in which the molecular orbitals are drawn. In this case, the data amount of “16337” bytes, which are reduced from the original data (for example, the first MO data 134), are used. A ratio to the original data amount (drawing calculation amount) indicates 48%. As illustrated in
As described above, by including a functional configuration according to the embodiment as illustrated in
A second drawing example will be described with reference to
In
In
In a three-dimensional molecular structure 8d is illustrated in a case in which the data reduction according to the embodiment is applied and the molecular orbitals are drawn. In this case, the second MO data 136 reduced by the MO data reduction part 47 are used. That is, the data amount of “3232281” bytes, which is reduced from the original data (which may be the first MO data 134), is used. A ratio to the original data amount (drawing calculation amount) indicates 3.5%. As illustrated in
As described above, by including the functional configuration according to the embodiment as illustrated in
Compared to the related art, even if lattice points are reduced, the data amount of the expansion coefficients C acquired in the molecular orbital calculation is not reduced. Regarding the total number N of independent basis functions, the data amount of the expansion coefficients of the molecular orbitals exponentially increases by N squared (N2). In a case of storing the expansion coefficients C, which are related to multiple large scale molecules, to reuse the expansion coefficients C, the storage part 130 of the molecular design apparatus may be considerably consumed.
On the other hand, in the molecular design apparatus according to the embodiment, the molecular orbital functions φ are used in which the molecular orbital functions φ are reduced by using the coefficient threshold Ccutoff of the expansion coefficients C based on the drawing threshold φcutoff indicating a constant function value to draw the molecular orbital functions φ as the isosurface of the constant function value. The molecular orbital functions φ are represented by the basis functions χ and the expansion coefficients C. Thus, it is possible to conduct the drawing process of the molecular orbitals and to visually draw the molecular orbitals at higher speed so that the molecular orbitals are intuitively comprehensible.
Accordingly, it is possible to provide the molecular design apparatus in which the data amount is significantly reduced while retaining drawing information of the molecular orbitals, instead of losing the drawing information. It is possible to draw the molecular orbitals at higher speed, and to considerably reduce a storage area for the data amount.
All examples and conditional language recited herein are intended for pedagogical purposes to aid the reader in understanding the invention and the concepts contributed by the inventor to furthering the art, and are to be construed as being without limitation to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a showing of the superiority and inferiority of the invention. Although the embodiments of the present invention have been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2012-020255 | Feb 2012 | JP | national |