Salome HOME
Merge from V6_main 19/03/2013
[modules/med.git] / doc / doxygen / fakesources / MEDCouplingPointSet.C
1 // This file contains some code used only for
2 // * generation of documentation for inline methods of MEDCouplingPointSet
3
4 namespace ParaMEDMEM
5 {
6
7   /*!
8    * Tries to use a coordinates array of \a other mesh for \a this one. If all nodes
9    * of \a this mesh coincide, within a specified precision, with some nodes of \a
10    * other mesh, then \a this mesh refers to the coordinates array of the \a other mesh,
11    * i.e. \a this->_coords = \a other._coords. Otherwise an exception is thrown and \a
12    * this remains unchanged.
13    *  \param [in] other - the other mesh.
14    *  \param [in] epsilon - the precision to compare node coordinates of the two meshes.
15    *  \throw If the coordinates array of \a this is not set.
16    *  \throw If the coordinates array of \a other is not set.
17    *  \throw If not all nodes of \a this mesh are present in the \a other mesh.
18    */
19   void MEDCouplingPointSet::tryToShareSameCoordsPermute(const MEDCouplingPointSet& other, double epsilon) throw(INTERP_KERNEL::Exception) {}
20
21   //! This method returns directly the array in \a this \b without incrementing ref counter. The pointer is dealed by the mesh. The caller should not deal (decrRef) with this pointer
22   const DataArrayDouble *MEDCouplingPointSet::getCoords() const { return _coords; }
23
24   //! This method returns directly the array in \a this \b without incrementing ref counter. The pointer is dealed by the mesh. The caller should not deal (decrRef) with this pointer
25   DataArrayDouble *MEDCouplingPointSet::getCoords() { return _coords; }
26
27
28   //! size of returned tinyInfo must be always the same.
29   void MEDCouplingPointSet::getTinySerializationInformation(std::vector<double>& tinyInfoD, std::vector<int>& tinyInfo, std::vector<std::string>& littleStrings) const {}
30 }