Modeling and Numerical Simulation of Material Science
Vol.06 No.04(2016), Article ID:73171,25 pages
10.4236/mnsms.2016.64007
Multiwavelet Boundary Element Method for Cavities Admitting Many NURBS Patches
Maharavo Randrianarivony
Simulation Unit, Personal Simulation and Design, Sankt Augustin, Germany

Copyright © 2016 by author and Scientific Research Publishing Inc.
This work is licensed under the Creative Commons Attribution International License (CC BY 4.0).
http://creativecommons.org/licenses/by/4.0/



Received: October 24, 2016; Accepted: December 27, 2016; Published: December 30, 2016
ABSTRACT
We consider the modeling and simulation by means of multiwavelets on many patches. Our focus is on molecular surfaces which are represented in the form of Solvent Excluded Surfaces that are featured by smooth blendings between the constituting atoms. The wavelet bases are constructed on the unit square which maps bijectively onto the patches embedded in the space. The cavity which designates the surface bounding a molecular model is acquired from the nuclei coordinates and the Van-der-Waals radii. We use multi-wavelets for which the wavelet basis functions are organized hierarchically on several levels. Our assembly of the linear system is accomplished by using a hierarchical tree which enables the treatment of large molecules admitting thousands of patches. Along with the patch construction, some wavelet simulation outcomes which are applied to realistic patches are reported.
Keywords:
Wavelet, Patch, NURBS, Connolly, Modeling

1. Introduction
Boundary Element Method (BEM) has important applications in ion channels, pH computation, membrane simulations and synthetic medicines. Reduction of dimension is the principal advantage of BEM [1] over the traditional FEM (Finite Element Method) [2] [3] [4] [5] as a 3D problem is reduced to an equation located on a 2D- manifold. That enables the use of a 2D-surface embedded in the space instead of a massive 3D-mesh. That is particularly important in the case that one is only interested in the solution on the surface of a given geometry or in the infinite domain beyond the geometry as frequently occurring in quantum simulations [6] [7] . In addition, the convergence is substantially faster because only a small degree of freedom is sufficient to attain a precise approximation. This article treats the modeling and simulation using the wavelet Galerkin equation which is formulated on patched manifolds. This current implementation has an advantage of functioning in parallel on a multi-processor computer architecture that accelerates the computations considerably. A major drawback of BEM is that the matrix density requires a large memory capacity when the trial functions are standard polynomial bases whose pertaining linear system nece- ssitates a dense linear solver. Wavelets [8] [9] admit a significant advantage over the traditional polynomial bases because the wavelet technique compresses the BEM matrices efficiently [10] [11] . The surface structure which is required by the wavelet- BEM is unfortunately very complicated to construct in contrast to the standard mesh generation [12] . In the current paper, we consider a twofold objective related to modeling and simulation. First, we will describe the molecular surface generation when a set of atoms is provided. The resulting surface structure is suitable for the wavelet- BEM integral equation solver [13] . Afterward, we will apply a BEM simulation on the resulting models. This paper focuses on the practical aspect of the wavelet method for realistic data. The entire molecular surface needs to be decomposed into four-sided patches. One needs a parametrization which maps the unit square to each four-sided patch. The mapping has to be bijective, sufficiently differentiable with bounded Jacobian. Thus, the decomposition becomes conforming as non-matching curvilinear edges are not allowed. Some pointwise agreement for adjacent mappings is therefore fulfilled. That enables the construction of multi-wavelets which are understood in the sense that the wavelet bases are structured on hierarchical levels [14] . Before pro- ceeding further, we survey some related works in the past. The technique which provides a splitting method for CAD surfaces is proposed in [15] where methods for checking regularity of Coons maps is additionally proved. The main task in [16] is the correlation between the transfinite interpolation [17] which resides in an individual patch and the global continuity. While approximations are required to obtain global continuity in [16] for CAD objects, it can be achieved exactly for molecular surfaces in [18] . That is due to the fact that both circular arcs and spherical patches [19] can be exactly recast as NURBS (Non-Uniform Rational B-Spline) [20] . Furthermore, a real chemical simulation by using wavelet BEM is employed in [7] for the quantum computation. A wavelet BEM simulation using domain decomposition techniques was described in [21] which treats the case of ASM (Additive Schwarz Method). It was utilized as an efficient preconditioner for the wavelet single layer potential which is badly conditioned. Recently, we gained experience [3] in elasticity nanosimulation where one has used nanotube fibers immersed in polymer matrices as quantum models. The organization of this current paper is structured as follows. First, it starts by describing the essential steps for constructing the smooth patch decomposition. We proceed afterwards to the presentation of a hierarchical tree method to compute the wavelet integrals when coupled with the Genz-Malik approach [22] [23] . The matrix entries are usually integrals with 4D integrands which are singular. Toward the end, we present some results pertaining to the patch decomposition in which the inputs are either water clusters obtained from former molecular dynamic simulations or quantum models obtained from PDB (Protein Data Bank) files. In addition, we report on BEM results including the execution runtimes for the different stages in the BEM simulation. Further, we will briefly display the acceleration of the executions when utilizing computers admitting a multi-processor architecture.
2. Integral Equation on Molecular Surfaces
Our modeling and simulation are performed on a cavity [24] which is acquired from the boundary of molecules where each constituting atom is represented as an imaginary sphere whose center
corresponds to the nuclear coordinates and whose radius
to a scaled Van-der-Waals radius of the atom. That is, by denoting the sphere of center
and radius
by
, the molecule is represented as the union of
spheres
. We need additionally a probe atom which serves as smoothing of the molecular surface. The SES (Surface Excluded Surface) model [25] which is also known as Connolly surface [26] is the surface
traced by the probe atom when it is rolled over (see Figure 1) the whole surface
. The Conno- lly surface
is extracted partly from
and partly from the blending surfaces traced by the probe atom. The blending surfaces are composed of surfaces of two types. The first type consists of toroidal surfaces while the second one of trimmed spherical surfaces. Our first objective is to decompose the Connolly surface
into
four-sided patches [18] admitting (see Figure 2(a)) the following properties:

Figure 1. (a) Rolling a probe atom on the molecular surface; (b) connolly surface.

Figure 2. (a) Patches for wavelet construction; (b) quasi-sparse matrix.
• We have a covering of the molecular surface by patches
,
• Each patch
where
is the image by 
• The intersection of two different patches 

• The patch decomposition has a global continuity: for each pair of patches






• The manifold 

For each patch

The space of square integrable functions is

which is equipped with the following scalar product and norm after transformation onto

The Sobolev space on 


where the differentiation 




Concerning a real positive order 




For negative orders, one employs the dual spaces



Introduce the double layer operator


In the general case, we have the following mapping using Sobolev spaces

which is linear and continuous. In the current case, since the entire molecular surface 

for any real number 

We make now the change of unknown

by using 



because the manifold 




then on account of (14), the function 

By discretizing (16) in some finite dimensional space


where we use the kernel

The subspace 












where one employs the divided difference 














As for the construction of the finite dimensional space


the above structure of the surface 






such that the matrix entries and the right hand side are



In general, the linear system (21) is troublesome because the basis functions 


polynomial basis functions, the matrix 





3. Patch Generation for Wavelet Bases
Let us specify the assumptions concerning the positions of the nuclei 




(C1) Either the two enlarged spheres 



(C2) or we have 
Those two assumptions exclude the situation where the blending torus which is tangent to both 


















Figure 3. (a) Centered convex decomposition of the space; (b) curvilinear edges traced on the manifold.
The Laguerre cell is a convex polyhedron which has faces from the radical axes and which could be bounded or unbounded. To obtain the Laguerre decomposition, we consider the uplifting function which associates to 

































































In order to ensure the validity of conditions (C1) and (C2), one adopts the method of GEPOL in which some additional spheres are inserted [37] [38] . Those incorporated extra-spheres are not physically relevant. These are fictive spheres admitting neither atomic masses nor electric charges. The principal objective of the previously mentioned conditions is to avoid the conflicting situation where some toroidal blending surfaces occur when the corresponding two disjoint atoms are distant from one another so that the contact with the probe atom is almost tangential. In such a case, a self-intersecting toroidal blend is formed. In order to remedy that problem, a fictive non-atom centered sphere is inserted between every two atoms where those conditions are violated. It is worth noting anyhow that such a situation occurs only in very rare cases. We would like to explain the similarity and the difference between the above two types of smoothing surfaces which are the toroidal ones and the spherical ones. Both surfaces serve as blending surfaces between neighboring atoms. The principal difference between them is that the toroidal ones occur when only two atoms are touched by the probe atom, whereas a spherical blend appears when more than two atoms simulta- neously have contact with the probe atom as illustrated in Figure 1(a) and Figure 1(b). In the latter case, the number of atoms which touch the probe atom is three in most practical cases but that number can theoretically be arbitrarily many depending on the positions and the radii of the constituting atoms.
Now that we have a four-sided decomposition, we want to construct the wavelet spaces on the surface



On level





the next level 



By using the piecewise polynomial property of the B-splines and the inclusion

As a consequence, the space 

with respect to the 


By applying the decomposition (28) recursively, one obtains on the maximal level

The 



such that


Figure 4. (a) Higher-order wavelet on a nonuniform knot sequence, (b) bivariate tensor product basis.
We want now to survey the determination of the wavelet bases 




which verifies the two scale relation

For the polynomial degree

Representing the derivatives 











The internal wavelet functions are defined by means of scaled and dilated transformations

Additionally, one needs boundary wavelet functions which are of the form

where the coefficients 




or


The previous construction creates 






for any fixed



We will drop the indices of 





For the first summation, by multiplication with a tensor product wavelet basis 





which is zero due to the property of the vanishing moment (40). As for the second summation, introduce 




Due to boundedness (20), one obtains for 



which is small if the images 




4. Wavelet Hierarchy and Integration
This section is occupied by the efficient computation of the matrix entries from (41). Since our method is based on a hierarchical tree on the B-spline knots, we describe next the procedure of inserting new knots into existing ones. The principal objective is to be able to efficiently express a function defined on the coarse knot sequence in term of B-splines on a fine one. Consider two knot sequences 



where

which enables to express the basis in lower level in term of those in higher level such as
The De-Boor algorithm for the evaluation of the discrete B-splines 
in which 








Since one inserts one 


We introduce the the following 4D-voxels

We will use the next multi-indices for the wavelet and B-spline bases

Since the tensor product wavelet bases verify

it suffices to compute
For the Haar wavelets where the corresponding B-spline are piecewise constant, we have four recurrences:



For wavelets admitting higher polynomial degrees, by using the discrete B-splines one also obtains four recurrences including:
Our objective is to avoid computing any involved integrals several times. Therefore, we construct a hierarchical tree whose nodes correspond to the 4D-voxels











The nonzero entry (resp. entries) of 







The solution to that nonlinear system gives exactly









where the weights are














5. Wavelet Simulation on Molecular Models
We want now to present some results of the former method which was implemented in C functions together with C++ classes. The visualization has been implemented with the help of OpenGL. The computations have been executed on a computer possessing a 4.1 GHz processor and 32 GB RAM. The C-packet cubature [23] serves as computation of the Genz-Malik integrations. We employ different sorts of quantum models including water clusters which are obtained from a former MD (Molecular Dynamics) simulation. A water cluster is generally a collection of many water molecules 

We would like to provide some numerical results pertaining to the runtimes of the cavity generation and the quality of the patches. The runtimes depend on several factors. First, it is affected by the number of atoms in the molecule. Second, it varies in relation with the atom distributions. Further, it depends on how coarse the patch decomposition should be. As a first numerical test, we investigate the number of patches in accordance to the size of the molecule. The results of such a test are gathered in Table 1 where we examine the coarsening 


Table 1. Number of patches with respect to the number of atoms and the coarseness factor
cular size but also on the surface area of the cavity. For example, lecithin has more atoms than DNA but the latter takes almost four times longer than the former.
The purpose of the second test is the investigation of the area 



computed 

the average values of 





Figure 5. Patch representation of a DNA section with 1905 NURBS.
Table 2. Investigation of patches area.
We focus now on investigating the patch quality which is quantified as follows for a patch 




















Table 3. Quality of the resulting patches.
Table 4. Error reductions for water cluster and DNA section.
models consist of a water cluster and a DNA section which admit respectively 1109patches and 2119 patches. We consider two exact solutions which are respectively 





We exhibit in Table 5 the runtimes for the different stages which are required for a complete BEM simulation. These include: (1) the assembly of the identity operator








Table 5. Durations of the individual steps for the water clusters.
Figure 6. Relative errors for several molecules w.r.t. increasing levels.
to a DNA section admitting 2119 patches. The exact solution 




6. Conclusion
We constructed a surface structure which is suitable for subsequent BEM-simulation. The molecular boundary in form of Connolly surface was decomposed into globally continuous NURBS having similar surface areas. We showed outcomes of BEM simulation on different models possessing many patches. Results pertaining to accuracy


Figure 7. Acceleration of the computation in term of the number of processors: (a) Molecules having different patch numbers; (b) several levels.
Figure 8. BEM-Density function on the molecular surface of a DNA section.
and runtimes have been reported as well. We treated several molecular models which are acquired from a molecular dynamic simulation or from realistic PDB files.
Cite this paper
Randrianarivony, M. (2016) Multiwavelet Boundary Element Method for Cavities Admitting Many NURBS Patches. Modeling and Numerical Simulation of Material Science, 6, 69-93. http://dx.doi.org/10.4236/mnsms.2016.64007
References
- 1. Hsiao, H., Steinbach, O. and Wendland, W. (2000) Domain Decomposition Methods via Boundary Integral Equations. Journal of Computational and Applied Mathematics, 125, 521-537.
https://doi.org/10.1016/s0377-0427(00)00488-x - 2. Baker, N., Sept, D., Holst, M. and McCammon, J. (2001) The Adaptive Multilevel Finite Element Solution of the Poisson-Boltzmann Equation on Massively Parallel Computers. IBM Journal of Research and Development, 45, 427-438.
https://doi.org/10.1147/rd.453.0427 - 3. Diedrich, C., Dijkstra, D., Hamaekers, J., Henniger, B. and Randrianarivony, M. (2015) A Finite Element Study on the Effect of Curvature on the Reinforcement of Matrices by Randomly Distributed and Curved Nanotubes. Journal of Computational and Theoretical Nanoscience, 12, 2108-2116.
https://doi.org/10.1166/jctn.2015.3995 - 4. Randrianarivony, M. (2004) Anisotropic Finite Elements for the Stokes Problem: A-Posteriori Error Estimator and Adaptive Mesh. Journal of Computational and Applied Mathematics, 169, 255-275.
https://doi.org/10.1016/j.cam.2003.12.025 - 5. Apel, T. and Randrianarivony, M. (2003) Stability of the Discretizations of the Stokes Problem on Anisotropic Meshes. Mathematics and Computers in Simulation. 61, 437-447.
https://doi.org/10.1016/S0378-4754(02)00098-8 - 6. Tomasi, J., Mennucci, B. and Cammi, R. (2005) Quantum Mechanical Continuum Solvation Models. Chemical Reviews, 105, 2999-3094.
https://doi.org/10.1021/cr9904009 - 7. Weijo, V., Randrianarivony, M., Harbrecht, H. and Frediani, L. (2010) Wavelet Formulation of the Polarizable Continuum Model. Journal of Computational Chemistry, 31, 1469-1477.
- 8. Cohen, A., Daubechies, I. and Feauveau, J. (1992) Biorthogonal Bases of Compactly Supported Wavelets. Communications on Pure and Applied Mathematics, 45, 485-560.
https://doi.org/10.1002/cpa.3160450502 - 9. Beylkin, G. (1992) On the Representation of Operators in Bases of Compactly Supported Wavelets. SIAM Journal on Numerical Analysis, 29, 1716-1740.
https://doi.org/10.1137/0729097 - 10. Lage, C. and Schwab, C. (1999) Wavelet Galerkin Algorithms for Boundary Integral Equations. SIAM Journal on Scientific Computing, 20, 2195-2222.
https://doi.org/10.1137/S1064827597329989 - 11. Petersdorff, T. and Schwab, C. (1996) Wavelet Approximations for First Kind Boundary Integral Equations on Polygons. Numerische Mathematik, 74, 479-519.
https://doi.org/10.1007/s002110050226 - 12. Randrianarivony, M. (2008) Harmonic Variation of Edge Size in Meshing CAD Geometries from IGES Format. In: Bubak, M., van Albada, G.D., Dongarra, J. and Sloot, P.M.A., Eds., Computational Science—ICCS 2008, Springer, Berlin, 56-65.
https://doi.org/10.1007/978-3-540-69387-1_7 - 13. Kleemann, B., Rathsfeld, A. and Schneider, R. (1996) Multiscale Methods for Boundary Integral Equations and Their Application to Boundary Value Problems in Scattering Theory and Geodesy. In: Hackbusch, W. and Wittum, G., Eds., Boundary Elements: Implementation and Analysis of Advanced Algorithms, Vieweg+Teubner Verlag, Wiesbaden, 1-28.
https://doi.org/10.1007/978-3-322-89941-5_1 - 14. Harbrecht, H. and Randrianarivony, M. (2010) From Computer Aided Design to Wavelet BEM. Computing and Visualization in Science, 13, 69-82.
https://doi.org/10.1007/s00791-009-0129-1 - 15. Randrianarivony, M. (2006) Geometric Processing of CAD Data and Meshes as Input of Integral Equation Solvers. Ph.D. Dissertation, Technical University of Chemnitz, Germany.
- 16. Randrianarivony, M. (2009) On Global Continuity of Coons Mappings in Patching CAD Surfaces. Computer-Aided Design, 41, 782-791.
https://doi.org/10.1016/j.cad.2009.04.012 - 17. Randrianarivony, M. (2011) On Transfinite Interpolations with Respect to Convex Domains. Computer Aided Geometric Design, 28, 135-149.
https://doi.org/10.1016/j.cagd.2010.10.003 - 18. Harbrecht, H. and Randrianarivony, M. (2009) Wavelet BEM on Molecular Surfaces: Parametrization and Implementation. Computing, 86, 1-22.
https://doi.org/10.1007/s00607-009-0050-y - 19. Randrianarivony, M. and Brunnett, G. (2008) Preparation of CAD and Molecular Surfaces for Meshfree Solvers. In: Griebel, M. and Schweitzer, M.A., Eds., Meshfree Methods for Partial Differential Equations IV, Springer, Berlin, 231-245.
https://doi.org/10.1007/978-3-540-79994-8_14 - 20. Hoschek, J. and Lasser, D. (1996) Fundamentals of Computer Aided Geometric Design. A. K. Peters, Taylor & Francis, Natick.
- 21. Randrianarivony, M. (2016) Domain Decomposition for Wavelet Single Layer on Geometries with Patches. Applied Mathematics, 7, 1798-1823.
https://doi.org/10.4236/am.2016.715151 - 22. Genz, A. and Malik, A. (1980) An Adaptive Algorithm for Numeric Integration over an N-Dimensional Rectangular Region. Journal of Computational and Applied Mathematics, 6, 295-302.
https://doi.org/10.1016/0771-050X(80)90039-X - 23. Johnson, S. (2010).
http://ab-initio.mit.edu/wiki/index.php/Cubature - 24. Bajaj, C., Xu, G. and Zhang, Q. (2009) A Fast Variational Method for the Construction of Resolution Adaptive C2-Smooth Molecular Surfaces. Computer Methods in Applied Mechanics and Engineering, 198, 1684-1690.
https://doi.org/10.1016/j.cma.2008.12.042 - 25. Lee, B. and Richards, F. (1971) The Interpretation of Protein Structures Estimation of Stratic Accessibility. Journal of Molecular Biology, 55, 379-400.
https://doi.org/10.1016/0022-2836(71)90324-X - 26. Connolly, M. (1983) Analytical Molecular Surface Calculation. Journal of Applied Crystallography, 16, 548-558.
https://doi.org/10.1107/s0021889883010985 - 27. Schwartz, L. (1966) Théorie des Distribution. Hermann, Paris.
- 28. McLean, W. (2000) Strongly Elliptic Systems and Boundary Integral Equations. Cambridge University Press, Cambridge.
- 29. Atkinson, K. (1997) The Numerical Solution of Integral Equations of the Second Kind. Cambridge University Press, Cambridge.
https://doi.org/10.1017/CBO9780511626340 - 30. Hsiao, G. and Wendland, W. (2008) Boundary Integral Equations. Springer Verlag, Berlin.
https://doi.org/10.1007/978-3-540-68545-6 - 31. DeBoor, C. and Fix, G. (1973) Spline Approximation by Quasi-Interpolants. Journal of Approximation Theory, 8, 19-45.
https://doi.org/10.1016/0021-9045(73)90029-4 - 32. Brunnett, G. (1995) Geometric Design with Trimmed Surfaces. Computing Supplement, 10, 101-115.
https://doi.org/10.1007/978-3-7091-7584-2_7 - 33. Piegl, L. and Tiller, W. (1995) The NURBS Book. Springer, Berlin.
https://doi.org/10.1007/978-3-642-97385-7 - 34. Lyche, T. and Mørken, K. (1992) Spline-Wavelets of Minimal Support. In: Braess, D. and Schumaker, L.L., Eds., Numerical Methods in Approximation Theory, Birkhäuser, Basel, 177-194.
https://doi.org/10.1007/978-3-0348-8619-2_10 - 35. Lyche, T., Mørken, K. and Quak, E. (2001) Theory and Algorithms for Non-Uniform Spline Wavelets, Multivariate Approximation and Applications. Cambridge University Press, Cambridge, 152-187.
- 36. Gallier, J. (2000) Geometric Methods and Applications for Computer Science and Engineering. In: Antman, S.S. and Greengard, L., Eds., Texts in Applied Mathematics, Springer Verlag, New York, 38.
- 37. Silla, E., Pascal-Ahuir, J., Tomasi, J. and Bonaccorsi, R. (1987) Electrostatic Interaction of a Solute with a Continuum. Improved Description of the Cavity and of the Surface Cavity Bound Charge Distribution. Journal of Computational Chemistry, 8, 778-787.
https://doi.org/10.1002/jcc.540080605 - 38. Klamt, A. (2005) COSMO-RS: From Quantum Chemistry to Fluid Phase Thermodynamics and Drug Design. Elsevier Science, Amsterdam.
- 39. Ammar, A. and Chinesta, F. (2008) Circumventing Curse of Dimensionality in the Solution of Highly Multidimensional Models Encountered in Quantum Mechanics Using Meshfree Finite Sums Decompositions. In: Griebel, M. and Schweitzer, M.A., Eds., Meshfree Methods for Partial Differential Equations IV, Springer, Berlin, 1-17.
https://doi.org/10.1007/978-3-540-79994-8_1 - 40. Rao, A. (2005) MPI-Based Parallel Finite Element Approaches for Implicit Dynamic Analysis Employing Sparse PCG Solvers. Advances in Engineering Software, 36, 181-198.
https://doi.org/10.1016/j.advengsoft.2004.10.004 - 41. Zhang, J. (2015) A PETSc-Based Parallel Implementation of Finite Element Method for Elasticity Problems. Mathematical Problems in Engineering, 2015, Article ID: 147286.
https://doi.org/10.1155/2015/147286 - 42. Vega-Gisbert, O., Roman, J. and Squyres, J. (2016) Design and Implementation of Java Binding Open MPI. Parallel Computing, 59, 1-20.
https://doi.org/10.1016/j.parco.2016.08.004






















