Back to index
A field in MEDCoupling point of view, is a structure that allows to store a discretization of a physical value on a defined discretized spatial and possibly temporal support.
The spatial support is a mesh. A field is lying on an entity that will be specified by the spatial discretization of the field. For exemple a field on node will lie on all nodes of its mesh.
A field on cell will lie on all cells of its mesh.
Fields in MEDCoupling follow the two following rules :
The main properties of a field are :
This definition of field in MEDCoupling allows an instance of field to know at any point inside its spatial-temporal support the value.
The class that incarnates the concept described above is : ParaMEDMEM.MEDCouplingFieldDouble.
Some of most important implemented methods are :
This is the concept that makes the link, independantly from temporal discretization, between the field and its spatial support(mesh). This concept allows the field to make a check and interpretation of an array of values given a spatial support (mesh).
The abstract class that incarnates the concept is : ParaMEDMEM.MEDCouplingFieldDiscretization.
The most important pure virtual methods are :
This information allows, independantly from spatial discretization, to associate a time interval, if it exists, on which the field will be defined. This concept is able to give the value at any time of the definition interval (if any).
The abstract class ParaMEDMEM.MEDCouplingTimeDiscretization incarnates this described concept.
This classes and its subclasses are responsible in storing the arrays of the aggregating field.
The most important methods are :