#include <MEDCouplingGaussLocalization.hxx>
Public Member Functions | |
| MEDCouplingGaussLocalization (INTERP_KERNEL::NormalizedCellType type, const std::vector< double > &refCoo, const std::vector< double > &gsCoo, const std::vector< double > &w) throw (INTERP_KERNEL::Exception) | |
| INTERP_KERNEL::NormalizedCellType | getType () const |
| int | getNumberOfGaussPt () const |
| int | getDimension () const |
| int | getNumberOfPtsInRefCell () const |
| void | checkCoherency () const throw (INTERP_KERNEL::Exception) |
| bool | isEqual (const MEDCouplingGaussLocalization &other, double eps) const |
| void | pushTinySerializationIntInfo (std::vector< int > &tinyInfo) const |
| void | pushTinySerializationDblInfo (std::vector< double > &tinyInfo) const |
| const double * | fillWithValues (const double *vals) |
| const std::vector< double > & | getRefCoords () const |
| double | getRefCoord (int ptIdInCell, int comp) const throw (INTERP_KERNEL::Exception) |
| const std::vector< double > & | getGaussCoords () const |
| double | getGaussCoord (int gaussPtIdInCell, int comp) const throw (INTERP_KERNEL::Exception) |
| const std::vector< double > & | getWeights () const |
| double | getWeight (int gaussPtIdInCell, double newVal) const throw (INTERP_KERNEL::Exception) |
| void | setRefCoord (int ptIdInCell, int comp, double newVal) throw (INTERP_KERNEL::Exception) |
| void | setGaussCoord (int gaussPtIdInCell, int comp, double newVal) throw (INTERP_KERNEL::Exception) |
| void | setWeight (int gaussPtIdInCell, double newVal) throw (INTERP_KERNEL::Exception) |
Static Public Member Functions | |
| static MEDCouplingGaussLocalization | BuildNewInstanceFromTinyInfo (int dim, const std::vector< int > &tinyData) |
| static bool | AreAlmostEqual (const std::vector< double > &v1, const std::vector< double > &v2, double eps) |
Private Member Functions | |
| int | checkCoherencyOfRequest (int gaussPtIdInCell, int comp) const throw (INTERP_KERNEL::Exception) |
Private Attributes | |
| INTERP_KERNEL::NormalizedCellType | _type |
| std::vector< double > | _ref_coord |
| std::vector< double > | _gauss_coord |
| std::vector< double > | _weight |
| ParaMEDMEM.MEDCouplingGaussLocalization::MEDCouplingGaussLocalization | ( | INTERP_KERNEL::NormalizedCellType | type, |
| const std::vector< double > & | refCoo, | ||
| const std::vector< double > & | gsCoo, | ||
| const std::vector< double > & | w | ||
| ) | throw (INTERP_KERNEL::Exception) |
| INTERP_KERNEL::NormalizedCellType ParaMEDMEM.MEDCouplingGaussLocalization.getType | ( | ) | const |
| int ParaMEDMEM.MEDCouplingGaussLocalization.getNumberOfGaussPt | ( | ) | const |
| int ParaMEDMEM.MEDCouplingGaussLocalization::getDimension | ( | ) | const |
| int ParaMEDMEM.MEDCouplingGaussLocalization::getNumberOfPtsInRefCell | ( | ) | const |
| void ParaMEDMEM.MEDCouplingGaussLocalization::checkCoherency | ( | ) | const throw (INTERP_KERNEL::Exception) |
References ParaMEDMEM.MEDCouplingGaussLocalization._gauss_coord, ParaMEDMEM.MEDCouplingGaussLocalization._ref_coord, ParaMEDMEM.MEDCouplingGaussLocalization._type, ParaMEDMEM.MEDCouplingGaussLocalization._weight, INTERP_KERNEL.CellModel.GetCellModel(), INTERP_KERNEL.CellModel.getDimension(), INTERP_KERNEL.CellModel.getNumberOfNodes(), INTERP_KERNEL.CellModel.isDynamic(), and batchmode_medcorba_test.nbNodes.
| bool ParaMEDMEM.MEDCouplingGaussLocalization::isEqual | ( | const MEDCouplingGaussLocalization & | other, |
| double | eps | ||
| ) | const |
| void ParaMEDMEM.MEDCouplingGaussLocalization::pushTinySerializationIntInfo | ( | std::vector< int > & | tinyInfo | ) | const |
Completely useless method for end user. Only for CORBA MPI serialization/unserialization. push at the end of tinyInfo its basic serialization info. The size of pushed data is always the same.
| tinyInfo | inout parameter. |
| void ParaMEDMEM.MEDCouplingGaussLocalization::pushTinySerializationDblInfo | ( | std::vector< double > & | tinyInfo | ) | const |
Completely useless method for end user. Only for CORBA MPI serialization/unserialization. push at the end of tinyInfo its basic serialization info. The size of pushed data is NOT always the same contrary to pushTinySerializationIntInfo.
| tinyInfo | inout parameter. |
This method operates the exact inverse operation than ParaMEDMEM.MEDCouplingGaussLocalization.pushTinySerializationDblInfo method. This is one of the last step of unserialization process. This method should be called on an object resized by buildNewInstanceFromTinyInfo static method. This method takes in argument a pointer 'vals' that point to the begin of double data pushed remotely by pushTinySerializationDblInfo method. This method returns the pointer 'vals' with an offset of size what it has been read in this method.
| const std::vector<double>& ParaMEDMEM.MEDCouplingGaussLocalization.getRefCoords | ( | ) | const |
| double ParaMEDMEM.MEDCouplingGaussLocalization::getRefCoord | ( | int | ptIdInCell, |
| int | comp | ||
| ) | const throw (INTERP_KERNEL::Exception) |
| const std::vector<double>& ParaMEDMEM.MEDCouplingGaussLocalization.getGaussCoords | ( | ) | const |
| double ParaMEDMEM.MEDCouplingGaussLocalization::getGaussCoord | ( | int | gaussPtIdInCell, |
| int | comp | ||
| ) | const throw (INTERP_KERNEL::Exception) |
| const std::vector<double>& ParaMEDMEM.MEDCouplingGaussLocalization.getWeights | ( | ) | const |
| double ParaMEDMEM.MEDCouplingGaussLocalization::getWeight | ( | int | gaussPtIdInCell, |
| double | newVal | ||
| ) | const throw (INTERP_KERNEL::Exception) |
| void ParaMEDMEM.MEDCouplingGaussLocalization::setRefCoord | ( | int | ptIdInCell, |
| int | comp, | ||
| double | newVal | ||
| ) | throw (INTERP_KERNEL::Exception) |
This method sets the comp_th component of ptIdInCell_th point coordinate of reference element of type this->_type.
| if | not 0<=ptIdInCell<nbOfNodePerCell or if not 0<=comp<dim |
References INTERP_KERNEL.CellModel.GetCellModel(), INTERP_KERNEL.CellModel.getDimension(), INTERP_KERNEL.CellModel.getNumberOfNodes(), and batchmode_medcorba_test.nbNodes.
| void ParaMEDMEM.MEDCouplingGaussLocalization::setGaussCoord | ( | int | gaussPtIdInCell, |
| int | comp, | ||
| double | newVal | ||
| ) | throw (INTERP_KERNEL::Exception) |
| void ParaMEDMEM.MEDCouplingGaussLocalization::setWeight | ( | int | gaussPtIdInCell, |
| double | newVal | ||
| ) | throw (INTERP_KERNEL::Exception) |
| ParaMEDMEM::MEDCouplingGaussLocalization ParaMEDMEM.MEDCouplingGaussLocalization::BuildNewInstanceFromTinyInfo | ( | int | dim, |
| const std::vector< int > & | tinyData | ||
| ) | [static] |
The format of 'tinyData' parameter is the same than pushed in method ParaMEDMEM.MEDCouplingGaussLocalization.pushTinySerializationIntInfo.
| bool ParaMEDMEM.MEDCouplingGaussLocalization::AreAlmostEqual | ( | const std::vector< double > & | v1, |
| const std::vector< double > & | v2, | ||
| double | eps | ||
| ) | [static] |
| int ParaMEDMEM.MEDCouplingGaussLocalization::checkCoherencyOfRequest | ( | int | gaussPtIdInCell, |
| int | comp | ||
| ) | const throw (INTERP_KERNEL::Exception) [private] |
std::vector<double> ParaMEDMEM.MEDCouplingGaussLocalization._ref_coord [private] |
std::vector<double> ParaMEDMEM.MEDCouplingGaussLocalization._gauss_coord [private] |
std::vector<double> ParaMEDMEM.MEDCouplingGaussLocalization._weight [private] |