Back to index

salome-med  6.5.0
Defines | Functions
MEDMEM_Support.cxx File Reference
#include "MEDMEM_Support.hxx"
#include "MEDMEM_DriversDef.hxx"
#include "MEDMEM_GMesh.hxx"
#include "MEDMEM_Meshing.hxx"
#include <set>
#include <algorithm>
#include <list>

Go to the source code of this file.

Defines

#define MED_NBR_GEOMETRIE_MAILLE   15

Functions

int compareId (const void *x, const void *y)
 Method used to sort array of id.

Define Documentation

#define MED_NBR_GEOMETRIE_MAILLE   15

Definition at line 40 of file MEDMEM_Support.cxx.


Function Documentation

int compareId ( const void *  x,
const void *  y 
)

Method used to sort array of id.

Definition at line 978 of file MEDMEM_Support.cxx.

{
  const int *x1=(const int *)x;
  const int *y1=(const int *)y;
  if(*x1<*y1)
    return -1;
  else if(*x1>*y1)
    return 1;
  else
    return 0;
}