mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
changed: make StandardWellEquations data members private
use a friend declaration for StandardWellEquationAccess to give the assembler access to the matrices/vectors.
This commit is contained in:
@@ -35,6 +35,7 @@ namespace Opm
|
|||||||
{
|
{
|
||||||
|
|
||||||
class ParallelWellInfo;
|
class ParallelWellInfo;
|
||||||
|
template<class Scalar, int numEq> class StandardWellEquationAccess;
|
||||||
class WellContributions;
|
class WellContributions;
|
||||||
class WellInterfaceGeneric;
|
class WellInterfaceGeneric;
|
||||||
class WellState;
|
class WellState;
|
||||||
@@ -123,6 +124,9 @@ public:
|
|||||||
return resWell_;
|
return resWell_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private:
|
||||||
|
friend class StandardWellEquationAccess<Scalar,numEq>;
|
||||||
|
|
||||||
// two off-diagonal matrices
|
// two off-diagonal matrices
|
||||||
OffDiagMatWell duneB_;
|
OffDiagMatWell duneB_;
|
||||||
OffDiagMatWell duneC_;
|
OffDiagMatWell duneC_;
|
||||||
|
|||||||
Reference in New Issue
Block a user