mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Removes warning about ignored return type qualifier on function.
This commit is contained in:
parent
3aa60433ad
commit
66ef71e67a
@ -161,9 +161,9 @@ namespace Opm
|
|||||||
}
|
}
|
||||||
|
|
||||||
template<class faceCellType, class ugridType>
|
template<class faceCellType, class ugridType>
|
||||||
inline const double getFaceArea(const faceCellType& faceCells, const ugridType& ugrid,
|
inline double getFaceArea(const faceCellType& faceCells, const ugridType& ugrid,
|
||||||
const int faceIdx, const int idx,
|
const int faceIdx, const int idx,
|
||||||
const Aquancon::AquanconOutput& connection) const
|
const Aquancon::AquanconOutput& connection) const
|
||||||
{
|
{
|
||||||
// Check now if the face is outside of the reservoir, or if it adjoins an inactive cell
|
// Check now if the face is outside of the reservoir, or if it adjoins an inactive cell
|
||||||
// Do not make the connection if the product of the two cellIdx > 0. This is because the
|
// Do not make the connection if the product of the two cellIdx > 0. This is because the
|
||||||
|
@ -127,7 +127,7 @@ namespace Opm
|
|||||||
const std::string& name() const;
|
const std::string& name() const;
|
||||||
|
|
||||||
/// Index of well in the wells struct and wellState
|
/// Index of well in the wells struct and wellState
|
||||||
const int indexOfWell() const;
|
int indexOfWell() const;
|
||||||
|
|
||||||
/// Well cells.
|
/// Well cells.
|
||||||
const std::vector<int>& cells() const {return well_cells_; }
|
const std::vector<int>& cells() const {return well_cells_; }
|
||||||
|
@ -186,7 +186,7 @@ namespace Opm
|
|||||||
}
|
}
|
||||||
|
|
||||||
template<typename TypeTag>
|
template<typename TypeTag>
|
||||||
const int
|
int
|
||||||
WellInterface<TypeTag>::
|
WellInterface<TypeTag>::
|
||||||
indexOfWell() const
|
indexOfWell() const
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user