![]() | ![]() |
Astron. Astrophys. 319, 995-1006 (1997) 3. Discretisation and numerical resolutionThe spherical nucleus with the radius The sphere is divided into segments of equal size. The subvolumes are discretised using a centred spatial grid. The set of diffusion equations can be solved by applying a finite
difference method. An efficient scheme for parallel computing is the
operator splitting method (e.g. Hockney & Eastwood 1988;
Press et al. 1992). The basic idea of this method is to split the time
integration step (with Rearranging and writing in matrix vector notation, we have with In order to represent derivatives accurately at the boundaries by a central difference formula we used the standard introduction of a fictitious grid point beyond the boundary. Stability is given for The computation is performed with the message-passing interface MPI (Message-Passing Interface Forum 1995) on a CRAY T3D parallel supercomputer. The used partition has to account for the stepwise integration in the radial and meridional dimensions. We haven chosen a regular domain decomposition for each integration step. After each integration step the entire data matrix is updated by means of a collective communication. One could reduce the number of transferred data by using point to point communications with a structured data type, but, the communication would be more time expensive because of a non-contiguous data access. Various mathematical functions are vetorised by using their corresponding subroutines of the Benchlib library. For the given problem size we found the most interesting exploitation with 8 processors. In this configuration the average computation time for one time step is about 50 ms on a CRAY T3D. ![]() ![]() ![]() ![]() © European Southern Observatory (ESO) 1997 Online publication: July 3, 1998 ![]() |