When defining a field in MEDCoupling, the notions of spatial and temporal discretizations play a crucial role.
The spatial discretization details the relationship between the field and its support mesh and the temporal discretization gives an indication of the time coverage represented by the field.
A field can be supported by:
The spatial discretization is at the center of the interpolation mechanisms, since one of the main interpolation paramter is indeed specifying from which source discretization to which target discretization one wants to go. For example:
Finally, in the code itself, the class MEDCouplingFieldDiscretization is the concrete representation of this concept.
Similarly to the spatial discretization, a field object in MEDCoupling has a time discretization representing the time range that is covered by the data. It is also specified in the constructor of a field.
It can be one of:
Finally, in the code itself, the class MEDCouplingTimeDiscretization is the concrete representation of this concept.