Version: 6.3.1
Defines | Functions

src/INTERP_KERNEL/GaussPoints/InterpKernelGaussCoords.cxx File Reference

#include "InterpKernelGaussCoords.hxx"
#include "CellModel.hxx"
#include <math.h>
#include <algorithm>
#include <sstream>
Include dependency graph for InterpKernelGaussCoords.cxx:

Defines

#define LOCAL_COORD_MACRO_BEGIN
#define LOCAL_COORD_MACRO_END
#define SHAPE_FUN_MACRO_BEGIN
#define SHAPE_FUN_MACRO_END   }
#define CHECK_MACRO

Functions

static bool IsEqual (double theLeft, double theRight)

Define Documentation

#define LOCAL_COORD_MACRO_BEGIN
Value:
_my_local_reference_coord.resize( _my_local_ref_dim*_my_local_nb_ref );           \
  for( int refId = 0; refId < _my_local_nb_ref; refId++ )                   \
    {                                                                   \
      double* coords = &_my_local_reference_coord[ refId*_my_local_ref_dim ];   \
      switch(refId)                                                     \
        {
#define LOCAL_COORD_MACRO_END
Value:
}                                             \
}
#define SHAPE_FUN_MACRO_BEGIN
Value:
for( int gaussId     = 0 ; gaussId < _my_nb_gauss ; gaussId++ )          \
    {                                                                   \
      double* funValue =  &_my_function_value[ gaussId * _my_nb_ref ];        \
      const double* gc = &_my_gauss_coord[ gaussId * getGaussCoordDim() ];
#define SHAPE_FUN_MACRO_END   }
#define CHECK_MACRO
Value:
if( ! aSatify )                                                          \
    {                                                                      \
      std::ostringstream stream;                                           \
      stream << "Error in the gauss localization for the cell with type "; \
      stream << cellModel.getRepr();                                       \
      stream << " !!!";                                                    \
      throw INTERP_KERNEL::Exception(stream.str().c_str());                \
    }

Function Documentation

static bool IsEqual ( double  theLeft,
double  theRight 
) [static]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS