ug4
|
The interfaces presented in Categorization of Problems separate nicely the implementation of the problem specific domain discretizations from the other components such as time-stepping schemes, non-linear solvers and linear solver. Now one (recommended) way of implementation the spatial part of the discretization is presented. It will lead to very flexibel and reusable implementations of small and commonly used parts of problems. These parts can be combined to form a major problem.
In order to implement the spacial part of a discretization in Categorization of Problems have been identified several functions that a user has to specify to use the interface. These function are
stationary linear case
stationary non-linear case
Thus, the building blocks of every of the three needs are the following parts:
Defect
A discrization can therefore be split up in this smaller parts.
Many discretizations like Finite Elements and Finite Volumes base on an element by element assembling of the needed Stiffness- and Mass-matrix. This can be used to implement the forementioned building blocks on an element by element basis.
Specially those element assemblings does only need element-local information. These informations are: