-// Copyright (C) 2009-2012 OPEN CASCADE
+// Copyright (C) 2009-2019 OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
for ( int j = 0; j < SPACEDIM; ++j )
{
- _coordsC [ j ] = _meshC.getCoordsAlongAxis( _TMIC( j ));
- _nbCellsC[ j ] = _meshC.nbCellsAlongAxis ( _TMIC( j ));
+ int axis = static_cast<int>( _TMIC( j ));
+ _coordsC [ j ] = _meshC.getCoordsAlongAxis( axis );
+ _nbCellsC[ j ] = static_cast<CConnType>(_meshC.nbCellsAlongAxis( axis ));
}
}
}
_CU_TEMPLATE
- int _INTERSECTOR_CU_::getNumberOfRowsOfResMatrix() const
+ typename MyCMeshType::MyConnType _INTERSECTOR_CU_::getNumberOfRowsOfResMatrix() const
{
return _meshU.getNumberOfElements();
}
_CU_TEMPLATE
- int _INTERSECTOR_CU_::getNumberOfColsOfResMatrix() const
+ typename MyCMeshType::MyConnType _INTERSECTOR_CU_::getNumberOfColsOfResMatrix() const
{
- return _meshC.getNumberOfElements();
+ return static_cast<CConnType>(_meshC.getNumberOfElements());
}
//================================================================================