Version: 9.12.0
Available functionalities

This page tries to list most of the available functionalities of the MEDCoupling library. It is by no mean exhaustive, but gives an overview of the capabilities of the core library.

Direct operations on fields

Field creation

  • From scratch: New
  • Copy: clone*, deepCopy

Partial modifications

Example: Getting a field copy with different time discretization

  • Subparts
  • buildSubPart*

Example: Creation of a sub part of a field

  • keepSelectedComponents, setSelectedComponents

And also:

  • Description: setName
  • I/O: cf. MEDLoader

Local arithmetic

Operations on scalars

Example: Some operations that can be carried out on fields on cells

  • Subtraction
  • - -= SubstractFields
  • substractInPlaceDM

Example: Subtracting field on different meshes

  • Multiplication
  • * *= MultiplyFields

Example: Some operations that can be carried out on fields on cells

  • Division:
  • / /= DivideFields

Example: Some operations that can be carried out on fields on cells

  • Power: ^ ^= PowFields

Operations on vectors or second order tensors

  • Contracted product: doublyContractedProduct
  • Determinant: determinant
  • Eigenvalues and eigenvectors: eigenValues, eigenVectors
  • Tensor inversion: inverse
  • Trace: trace
  • Deviator: deviator
  • Norms: norm*

Interpolation

A full section is dedicated to interpolation, as this is far from being a trivial matter. See: Interpolation

Global operations

Others