![]() |
programmer's documentation
|
A cell (real cell) is an elementary mesh element of the spatial discretisation of the calculation domain. The mesh is made of ncel cells. When using periodicity and parallelism, extra ghost'' cells (called
halo'' cells) are defined for temporary storage of some information (on a given processor). The total number of real and ghost cells is ncelet.
distant'' neighbouring cell, a ghost cell (
halo'') is created.An internal face is an inferface shared by two cells (real or ghost ones) of the mesh. A boundary face is a face which has only one real neighbouring cell. In the case of periodic calculations, a periodic face is an internal face. In the case of parallel running calculations, the faces situated at the boundary of a partition may be internal faces or boundary faces (of the whole mesh);
The faces - nodes connectivity is stored by means of four integer arrays: ipnfac and nodfac for the internal faces, ipnfbr and nodfbr for the boundary faces. nodfac (size lndfac) contains the list of all the nodes of all the internal faces; first the nodes of the first face, then the nodes of the second face, and so on. ipnfac (size: nfac+1) gives the position ipnfac(ifac) in nodfac of the first node of each internal face ifac. Therefore, the reference numbers of all the nodes of the internal face ifac are: nodfac(ipnfac(ifac)), nodfac(ipnfac(ifac)+1), ..., nodfac(ipnfac(ifac+1)-1). In order for this last formula to be valid even for ifac=nfac, ipnfac is of size nfac+1 and ipnfac(nfac+1) is equal to lndfac+1. The composition of the arrays nodfbr and ipnfbr is similar.
The user will not modify the existing modules. This would require the recompilation of the complete version, operation which is not allowed in standard use.