Back to index

salome-med  6.5.0
Functions
MEDCouplingBasicsTest1.cxx File Reference
#include "MEDCouplingBasicsTest1.hxx"
#include "MEDCouplingUMesh.hxx"
#include "MEDCouplingCMesh.hxx"
#include "MEDCouplingExtrudedMesh.hxx"
#include "MEDCouplingFieldDouble.hxx"
#include "MEDCouplingMemArray.hxx"
#include <sstream>
#include <cmath>
#include <algorithm>
#include <functional>

Go to the source code of this file.

Functions

bool func1 (const double *pt, double *res)
bool func2 (const double *pt, double *res)
bool func3 (const double *pt, double *res)
bool func4 (const double *pt, double *res)

Function Documentation

bool func1 ( const double *  pt,
double *  res 
)

Definition at line 1387 of file MEDCouplingBasicsTest1.cxx.

{
  res[0]=pt[0]+pt[1];
  return true;
}

Here is the caller graph for this function:

bool func2 ( const double *  pt,
double *  res 
)

Definition at line 1393 of file MEDCouplingBasicsTest1.cxx.

{
  res[0]=pt[0]+pt[1];
  res[1]=2.*(pt[0]+pt[1]);
  return true;
}

Here is the caller graph for this function:

bool func3 ( const double *  pt,
double *  res 
)

Definition at line 1400 of file MEDCouplingBasicsTest1.cxx.

{
  if(fabs(pt[0]-0.2)<1e-12)
    return false;
  res[0]=1./(pt[0]-0.2);
  return true;
}

Here is the caller graph for this function:

bool func4 ( const double *  pt,
double *  res 
)

Definition at line 1887 of file MEDCouplingBasicsTest1.cxx.

{
  res[0]=pt[0]+pt[1]+pt[2];
  return true;
}

Here is the caller graph for this function: