#include "InterpKernelGaussCoords.hxx"#include "CellModel.hxx"#include <math.h>#include <algorithm>#include <sstream>
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 LOCAL_COORD_MACRO_BEGIN |
_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 |
} \ }
| #define SHAPE_FUN_MACRO_BEGIN |
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 |
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()); \ }