mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Let WellModel decide whether to apply well contributions.
It queries the Well whether the jacobian also contains well contributions. If not then it applies them in the operator in addition. Thus the well knows whether that is needed or not.
This commit is contained in:
@@ -844,14 +844,6 @@ namespace Opm
|
||||
return 1.0;
|
||||
}
|
||||
|
||||
template<typename TypeTag>
|
||||
void
|
||||
WellInterface<TypeTag>::addWellContributions(Mat& mat) const
|
||||
{
|
||||
OPM_THROW(NotImplemented, "This well class does not support adding well contributions"
|
||||
<< "to the matrix");
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user